diff --git a/target/docs/lib/Array.htm b/target/docs/lib/Array.htm index d234800e..8f2a912a 100644 --- a/target/docs/lib/Array.htm +++ b/target/docs/lib/Array.htm @@ -85,7 +85,7 @@

パラメータ

Index
-

型:整数

+

Type: Integer

有効な配列のインデックス。

@@ -123,7 +123,7 @@

パラメータ

Index
-

型:整数

+

Type: Integer

Value1を挿入する位置を指定します。それ以降の値は、Index+1、Index+2 などに挿入されます。0を指定すると、Length+1を指定したのと同じになります。

Value1 ...
@@ -179,13 +179,13 @@

パラメータ

Index
-

型:整数

+

Type: Integer

削除する値(複数可)のインデックス。

Length
-

型:整数

+

Type: Integer

省略された場合は、1つの項目が削除されます。Otherwise, specify the length of the range of values to remove.

@@ -219,7 +219,7 @@

備考

Index
-

型:整数

+

Type: Integer

配列のインデックス。通常はA_Indexと同じ。2パラメータモード時のみ存在します。

Value
diff --git a/target/docs/lib/Buffer.htm b/target/docs/lib/Buffer.htm index 7dc83e8e..960366f3 100644 --- a/target/docs/lib/Buffer.htm +++ b/target/docs/lib/Buffer.htm @@ -59,13 +59,13 @@

パラメータ

ByteCount
-

型:整数

+

Type: Integer

割り当てるバイト数を指定します。Buffer.Sizeに対応します。

省略された場合、Buffer は NULL(ゼロ)PtrとゼロSizeで作成されます。

FillByte
-

型:整数

+

Type: Integer

0~255の数値を指定すると、バッファ内の各バイトにその数値が設定されます。

バイト数に比例した時間的コストがかかるため、バッファを読み込まずに書き込むような場合には、一般に省略されるべきです。省略した場合、バッファのメモリは初期化されず、各バイトの値は任意です。

diff --git a/target/docs/lib/CallbackCreate.htm b/target/docs/lib/CallbackCreate.htm index 507a40da..b3d873d5 100644 --- a/target/docs/lib/CallbackCreate.htm +++ b/target/docs/lib/CallbackCreate.htm @@ -38,14 +38,14 @@

パラメータ

ParamCount
-

型:整数

+

Type: Integer

省略された場合、デフォルトはFunction.MinParamsで、これは通常Function定義にある必須パラメータの数です。Otherwise, specify the number of parameters that Address's caller will pass to it. いずれの場合も、呼び出し元が正確にこの数のパラメータを渡すことを確認します。

戻り値

-

型:整数

+

Type: Integer

CallbackCreate は、マシンコード・アドレスを返す。このアドレスは通常、DllCallで外部関数に渡されるか、NumPutで構造体に入れられるが、DllCallで直接呼び出すことも可能です。CallbackFreeにアドレスを渡すと、コールバックが削除されます。

エラー処理

diff --git a/target/docs/lib/Chr.htm b/target/docs/lib/Chr.htm index 8a5dc966..01316847 100644 --- a/target/docs/lib/Chr.htm +++ b/target/docs/lib/Chr.htm @@ -20,7 +20,7 @@

パラメータ

Number
-

型:整数

+

Type: Integer

0 から 0x10FFFF までの Unicode 文字コードです。

diff --git a/target/docs/lib/ClipWait.htm b/target/docs/lib/ClipWait.htm index 9cf3f89b..2104de70 100644 --- a/target/docs/lib/ClipWait.htm +++ b/target/docs/lib/ClipWait.htm @@ -21,13 +21,13 @@

パラメータ

Timeout

型:整数または浮動小数点数

-

省略した場合は、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。

+

省略したときは、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。

WaitFor
-

型:整数

-

If omitted, it defaults to 0 (wait only for text or files). Otherwise, specify one of the following numbers to indicate what to wait for:

+

Type: Integer

+

省略されたときの初期値は0です。(テキストかファイルのみ対象)そうでないときは、次のいずれかの数で何を待つのかを指定します。

0: The function is more selective, waiting specifically for text or files to appear ("text" includes anything that would produce text when you paste into Notepad).

1: The function waits for data of any kind to appear on the clipboard.

その他の値は、将来の使用のために予約されています。

diff --git a/target/docs/lib/ClipboardAll.htm b/target/docs/lib/ClipboardAll.htm index 6d343388..f739d547 100644 --- a/target/docs/lib/ClipboardAll.htm +++ b/target/docs/lib/ClipboardAll.htm @@ -27,7 +27,7 @@

パラメータ

Size
-

型:整数

+

Type: Integer

使用するデータのバイト数を指定します。Dataがオブジェクトの場合は省略可能です。

diff --git a/target/docs/lib/ComCall.htm b/target/docs/lib/ComCall.htm index b599c311..7452c248 100644 --- a/target/docs/lib/ComCall.htm +++ b/target/docs/lib/ComCall.htm @@ -21,7 +21,7 @@

パラメータ

Index
-

型:整数

+

Type: Integer

仮想関数テーブル内のメソッドのゼロベースインデックス。

インデックスは、元のインターフェース定義内でのメソッドの位置に対応します。マイクロソフトのドキュメントでは、通常、メソッドをアルファベット順に記載していますが、これは関係ありません。正しいインデックスを決定するために、元のインターフェイスの定義を見つけてください。これは、ヘッダーファイルやタイプライブラリの中にあるかもしれません。

親インターフェースから継承されるメソッドを考慮することが重要です。すべてのCOMインタフェースは最終的にIUnknownから派生するため、最初の3つのメソッドは常にQueryInterface(0)、AddRef(1)、Release(2)です。例えば、IShellItem2IShellItemの拡張で、インデックス3から始まり、5つのメソッドを含むので、IShellItem2の最初のメソッド(GetPropertyStore)はインデックス8にあります。

diff --git a/target/docs/lib/ComObjArray.htm b/target/docs/lib/ComObjArray.htm index a08a78e5..ddef4397 100644 --- a/target/docs/lib/ComObjArray.htm +++ b/target/docs/lib/ComObjArray.htm @@ -22,14 +22,14 @@

パラメータ

VarType
-

型:整数

+

Type: Integer

配列の基本型(配列の各要素のVARTYPE)。VARTYPEは、バリアントタイプのサブセットに限定されます。VT_ARRAYフラグ、VT_BYREFフラグのいずれも設定できない。VT_EMPTY と VT_NULL は、配列のベースタイプとして有効ではありません。それ以外のタイプはすべて合法です。

取り得る値の一覧は、ComObjTypeをご覧ください。

CountN
-

型:整数

+

Type: Integer

各寸法の大きさです。最大8次元までの配列に対応しています。

diff --git a/target/docs/lib/ComObjFlags.htm b/target/docs/lib/ComObjFlags.htm index cdd424d9..a85a6b10 100644 --- a/target/docs/lib/ComObjFlags.htm +++ b/target/docs/lib/ComObjFlags.htm @@ -26,20 +26,20 @@

パラメータ

NewFlags
-

型:整数

+

Type: Integer

Maskで識別されるフラグの新しい値、または追加または削除するフラグ。

Mask
-

型:整数

+

Type: Integer

変更するフラグのビットマスクです。

戻り値

-

型:整数

+

Type: Integer

この関数は、指定された COM オブジェクトの現在のフラグ(指定された場合、NewFlagsを適用した後)を返します。

エラー処理

diff --git a/target/docs/lib/ComObjFromPtr.htm b/target/docs/lib/ComObjFromPtr.htm index 0442547f..bbe2842b 100644 --- a/target/docs/lib/ComObjFromPtr.htm +++ b/target/docs/lib/ComObjFromPtr.htm @@ -21,7 +21,7 @@

パラメータ

DispPtr
-

型:整数

+

Type: Integer

IDispatchまたは派生インターフェースの非NULLインターフェースポインタです。

diff --git a/target/docs/lib/ComObjValue.htm b/target/docs/lib/ComObjValue.htm index 28e8fbc7..dcce2920 100644 --- a/target/docs/lib/ComObjValue.htm +++ b/target/docs/lib/ComObjValue.htm @@ -28,7 +28,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、64ビット符号付き整数を返します。

エラー処理

diff --git a/target/docs/lib/ComValue.htm b/target/docs/lib/ComValue.htm index 5102ac1c..6d8b9968 100644 --- a/target/docs/lib/ComValue.htm +++ b/target/docs/lib/ComValue.htm @@ -22,7 +22,7 @@

パラメータ

VarType
-

型:整数

+

Type: Integer

値の種類を示す整数。タイプの一覧はComObjTypeをご覧ください。

@@ -36,7 +36,7 @@

パラメータ

Flags
-

型:整数

+

Type: Integer

ラッパーオブジェクトの動作に影響を与えるフラグ。詳細はComObjFlagsを参照してください。

diff --git a/target/docs/lib/ControlAddItem.htm b/target/docs/lib/ControlAddItem.htm index 69b24fc9..71803900 100644 --- a/target/docs/lib/ControlAddItem.htm +++ b/target/docs/lib/ControlAddItem.htm @@ -39,7 +39,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、新しい項目のインデックスを返します。1が最初の項目、2が2番目の項目、といった具合です。

エラー処理

diff --git a/target/docs/lib/ControlChooseIndex.htm b/target/docs/lib/ControlChooseIndex.htm index b648dcaa..4e391a55 100644 --- a/target/docs/lib/ControlChooseIndex.htm +++ b/target/docs/lib/ControlChooseIndex.htm @@ -21,7 +21,7 @@

パラメータ

N
-

型:整数

+

Type: Integer

項目のインデックスです。1は最初の項目、2は2番目の項目、のようになります。ListBoxやComboBoxの全項目を非選択にする場合は、0を指定します。

Control
diff --git a/target/docs/lib/ControlChooseString.htm b/target/docs/lib/ControlChooseString.htm index f09a9fec..1a548d93 100644 --- a/target/docs/lib/ControlChooseString.htm +++ b/target/docs/lib/ControlChooseString.htm @@ -39,7 +39,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、選ばれた項目のインデックスを返します。1 は最初の項目、2 は 2 番目の項目、といった具合です。

エラー処理

diff --git a/target/docs/lib/ControlClick.htm b/target/docs/lib/ControlClick.htm index 85966a10..1c6ea989 100644 --- a/target/docs/lib/ControlClick.htm +++ b/target/docs/lib/ControlClick.htm @@ -46,7 +46,7 @@

パラメータ

ClickCount
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。Otherwise, specify the number of times to click the mouse button or turn the mouse wheel.

diff --git a/target/docs/lib/ControlDeleteItem.htm b/target/docs/lib/ControlDeleteItem.htm index 5044963a..cc72c490 100644 --- a/target/docs/lib/ControlDeleteItem.htm +++ b/target/docs/lib/ControlDeleteItem.htm @@ -21,7 +21,7 @@

パラメータ

N
-

型:整数

+

Type: Integer

項目のインデックスで、1が最初の項目、2が2番目の項目、などです。

Control
diff --git a/target/docs/lib/ControlFindItem.htm b/target/docs/lib/ControlFindItem.htm index e78e4410..dba411dc 100644 --- a/target/docs/lib/ControlFindItem.htm +++ b/target/docs/lib/ControlFindItem.htm @@ -39,7 +39,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、Stringに完全に一致するListBoxまたはComboBoxのエントリ番号を返します。コントロールの最初のエントリーは1、2番目のエントリーは2、・・・となります。一致しない場合は、例外がスローされます。

エラー処理

diff --git a/target/docs/lib/ControlGetFocus.htm b/target/docs/lib/ControlGetFocus.htm index 96bdb08c..accd11ad 100644 --- a/target/docs/lib/ControlGetFocus.htm +++ b/target/docs/lib/ControlGetFocus.htm @@ -29,7 +29,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

説明: フォーカスされているコントロールのウィンドウハンドル(HWND)を返します。

対象ウィンドウのどのコントロールにもフォーカスがない場合、戻り値は 0 となる。

diff --git a/target/docs/lib/ControlGetHwnd.htm b/target/docs/lib/ControlGetHwnd.htm index 2e6ed6bf..17dd12b9 100644 --- a/target/docs/lib/ControlGetHwnd.htm +++ b/target/docs/lib/ControlGetHwnd.htm @@ -34,7 +34,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

説明: 指定されたコントロールのウィンドウハンドル(HWND)を返す。

エラー処理

diff --git a/target/docs/lib/ControlGetIndex.htm b/target/docs/lib/ControlGetIndex.htm index 0477033b..df34873a 100644 --- a/target/docs/lib/ControlGetIndex.htm +++ b/target/docs/lib/ControlGetIndex.htm @@ -34,7 +34,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、現在選択されている項目またはタブのインデックスを返す。最初のエントリやタブは1、2番目は2、といった具合です。エントリまたはタブが選択されていない場合、戻り値は 0 です。

エラー処理

diff --git a/target/docs/lib/ControlGetStyle.htm b/target/docs/lib/ControlGetStyle.htm index 2eac8736..d14921d7 100644 --- a/target/docs/lib/ControlGetStyle.htm +++ b/target/docs/lib/ControlGetStyle.htm @@ -35,7 +35,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

これらの関数は、指定されたコントロールのスタイルまたは拡張スタイルを返します。

エラー処理

diff --git a/target/docs/lib/ControlMove.htm b/target/docs/lib/ControlMove.htm index dac8b26e..23fa042e 100644 --- a/target/docs/lib/ControlMove.htm +++ b/target/docs/lib/ControlMove.htm @@ -20,13 +20,13 @@

パラメータ

X, Y
-

型:整数

+

Type: Integer

どちらかを省略すると、その次元ではコントロールの位置は変更されません。そうでないときは、コントロールの新しい位置の左上隅のX座標とY座標をピクセル単位で指定します。座標はターゲットウィンドウのクライアント領域の左上隅からの相対座標で、ControlGetPosで決定できます。

Width, Height
-

型:整数

+

Type: Integer

どちらかを省略すると、その次元ではコントロールのサイズは変更されません。そうでないときは、コントロールの新しい幅と高さをピクセル単位で指定します。

diff --git a/target/docs/lib/ControlSetChecked.htm b/target/docs/lib/ControlSetChecked.htm index 8a37d254..f8895f69 100644 --- a/target/docs/lib/ControlSetChecked.htm +++ b/target/docs/lib/ControlSetChecked.htm @@ -22,7 +22,7 @@

パラメータ

NewSetting
-

型:整数

+

Type: Integer

以下のいずれかの値:

戻り値

-

型:整数

+

Type: Integer

This function returns the previous setting (the value A_IsCritical would return prior to calling the function); 0 if Critical is off, otherwise an integer greater than zero.

クリティカルスレッドの挙動

diff --git a/target/docs/lib/DateDiff.htm b/target/docs/lib/DateDiff.htm index 1a3861fb..43c1f53d 100644 --- a/target/docs/lib/DateDiff.htm +++ b/target/docs/lib/DateDiff.htm @@ -35,7 +35,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

説明: 2つのタイムスタンプの差をTimeUnitsで指定された単位で返す。DateTime1DateTime2より早いときは、負の数を返します。

結果は常に最も近い整数に切り捨てられます。例えば、2つのタイムスタンプの実際の差が1.999日であれば、1日として報告されることになります。より正確性が必要であれば、TimeUnitsを秒に指定してから60.0や3600.0や86400.0で割ってください。

diff --git a/target/docs/lib/DirCopy.htm b/target/docs/lib/DirCopy.htm index 44102f47..d0ed283b 100644 --- a/target/docs/lib/DirCopy.htm +++ b/target/docs/lib/DirCopy.htm @@ -34,7 +34,7 @@

パラメータ

Overwrite
-

型:整数

+

Type: Integer

省略したときの初期値は0です。Otherwise, specify one of the following numbers to indicate whether to overwrite files if they already exist:

0:既存ファイルを上書きしません。Destがすでにファイルまたはディレクトリとして存在する場合、操作は失敗し、何の効果もありません。

1:既存ファイルを上書きします。ただし、Dest内のファイルやサブフォルダで、Sourceに対応するものがないものは削除されません。

diff --git a/target/docs/lib/DirSelect.htm b/target/docs/lib/DirSelect.htm index 8abc0685..264ab721 100644 --- a/target/docs/lib/DirSelect.htm +++ b/target/docs/lib/DirSelect.htm @@ -30,7 +30,7 @@

パラメータ

Options
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:

0: The options below are all disabled.

1:新規にフォルダを作成するためのボタンを用意しました。

diff --git a/target/docs/lib/DriveGetCapacity.htm b/target/docs/lib/DriveGetCapacity.htm index a4d2e3e2..5b1a8cfb 100644 --- a/target/docs/lib/DriveGetCapacity.htm +++ b/target/docs/lib/DriveGetCapacity.htm @@ -27,7 +27,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、指定されたパスを含むドライブの容量をメガバイト単位で返します。

エラー処理

diff --git a/target/docs/lib/DriveGetSerial.htm b/target/docs/lib/DriveGetSerial.htm index 116727b2..a70b2e96 100644 --- a/target/docs/lib/DriveGetSerial.htm +++ b/target/docs/lib/DriveGetSerial.htm @@ -27,7 +27,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数はドライブのボリュームシリアルナンバーを返します。16進数への変換方法は、Formatをご覧ください。

エラー処理

diff --git a/target/docs/lib/DriveGetSpaceFree.htm b/target/docs/lib/DriveGetSpaceFree.htm index 3e349823..b8d996be 100644 --- a/target/docs/lib/DriveGetSpaceFree.htm +++ b/target/docs/lib/DriveGetSpaceFree.htm @@ -27,7 +27,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、指定された パス,を含むドライブの空きディスク容量をメガバイト単位で返します(メガバイト未満は切り捨て)。

エラー処理

diff --git a/target/docs/lib/EditGetCurrentCol.htm b/target/docs/lib/EditGetCurrentCol.htm index 923e3430..f9455f0a 100644 --- a/target/docs/lib/EditGetCurrentCol.htm +++ b/target/docs/lib/EditGetCurrentCol.htm @@ -34,7 +34,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

説明: キャレット(テキスト挿入点)が存在するエディットコントロールのカラム番号を返します。最初の列は1です。コントロール内でテキストが選択されている場合、戻り値は選択が開始された列番号となる。

エラー処理

diff --git a/target/docs/lib/EditGetCurrentLine.htm b/target/docs/lib/EditGetCurrentLine.htm index 38bed223..de014f15 100644 --- a/target/docs/lib/EditGetCurrentLine.htm +++ b/target/docs/lib/EditGetCurrentLine.htm @@ -34,7 +34,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、エディットコントロールのキャレット(テキスト挿入点)が存在する行番号を返します。1行目は1です。コントロール内でテキストが選択されている場合、戻り値は選択が開始された行番号となる。

エラー処理

diff --git a/target/docs/lib/EditGetLine.htm b/target/docs/lib/EditGetLine.htm index c92d85ae..46f991b6 100644 --- a/target/docs/lib/EditGetLine.htm +++ b/target/docs/lib/EditGetLine.htm @@ -21,7 +21,7 @@

パラメータ

N
-

型:整数

+

Type: Integer

何行目かの数字です。1は最初の行を表します。

Control
diff --git a/target/docs/lib/EditGetLineCount.htm b/target/docs/lib/EditGetLineCount.htm index 7f62e1d3..a917d5a7 100644 --- a/target/docs/lib/EditGetLineCount.htm +++ b/target/docs/lib/EditGetLineCount.htm @@ -34,7 +34,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、Editコントロールの行数を返します。すべてのEditコントロールは、コントロールが空であっても少なくとも1行を持ちます。

エラー処理

diff --git a/target/docs/lib/Exit.htm b/target/docs/lib/Exit.htm index 176eb3d4..6f6ac899 100644 --- a/target/docs/lib/Exit.htm +++ b/target/docs/lib/Exit.htm @@ -20,7 +20,7 @@

パラメータ

ExitCode
-

型:整数

+

Type: Integer

省略されたときは、初期値は0になります。0は伝統的に処理に成功したことを示します。そうでないときは、スクリプトの終了時に呼び出し元に返される-2147483648から2147483647までの整数を指定します。このコードは、他のスクリプト(RunWait経由)やバッチ(.bat)ファイルなど、スクリプトを生成したすべてのプログラムからアクセスできます。

diff --git a/target/docs/lib/ExitApp.htm b/target/docs/lib/ExitApp.htm index 95f4b3de..cc136f52 100644 --- a/target/docs/lib/ExitApp.htm +++ b/target/docs/lib/ExitApp.htm @@ -20,7 +20,7 @@

パラメータ

ExitCode
-

型:整数

+

Type: Integer

省略されたときは、初期値は0になります。0は伝統的に処理に成功したことを示します。そうでないときは、スクリプトの終了時に呼び出し元に返される-2147483648から2147483647までの整数を指定します。このコードは、他のスクリプト(RunWait経由)やバッチ(.bat)ファイルなど、スクリプトを生成したすべてのプログラムからアクセスできます。

diff --git a/target/docs/lib/File.htm b/target/docs/lib/File.htm index bd9b902c..658612b5 100644 --- a/target/docs/lib/File.htm +++ b/target/docs/lib/File.htm @@ -54,7 +54,7 @@

パラメータ

Characters
-

型:整数

+

Type: Integer

省略された場合、ファイルの残りの部分が読み込まれ、1つの文字列として返されます。それ以外の場合は、読み込む最大文字数を指定する。Fileオブジェクトがコンソールバッファやパイプなどの非シーキングデバイスへのハンドルから作成された場合、このパラメータを省略すると、メソッドが失敗するか、現在利用可能なデータのみを返すことがあります。

@@ -75,7 +75,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the number of bytes (not characters) that were written.

@@ -100,7 +100,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the number of bytes (not characters) that were written.

@@ -127,7 +127,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the number of bytes that were written. For example, FileObj.WriteUInt(42) returns 4 if successful.

@@ -145,12 +145,12 @@

パラメータ

Bytes
-

型:整数

+

Type: Integer

読み出す最大バイト数を指定します。Bufferがオブジェクトの場合はオプション、それ以外の場合は必須とします。

戻り値

-

型:整数

+

Type: Integer

This method returns the number of bytes that were read.

@@ -166,12 +166,12 @@

パラメータ

Bytes
-

型:整数

+

Type: Integer

書き込むバイト数を指定します。Dataがオブジェクトまたは文字列の場合はオプション、それ以外の場合は必須とします。

戻り値

-

型:整数

+

Type: Integer

This method returns the number of bytes that were written.

@@ -182,12 +182,12 @@

パラメータ

Distance
-

型:整数

+

Type: Integer

移動する距離(バイト単位)。値が小さいほど、ファイルの先頭に近い。

Origin
-

型:整数

+

Type: Integer

If omitted, it defaults to 2 when Distance is negative and 0 otherwise. Otherwise, specify one of the following numbers to indicate the starting point for the file pointer move:

戻り値

-

型:整数

+

Type: Integer

説明: 指定されたファイルのサイズを返します(小数点以下は切り捨て)。

エラー処理

diff --git a/target/docs/lib/FileInstall.htm b/target/docs/lib/FileInstall.htm index b1f5ae3d..4b86c343 100644 --- a/target/docs/lib/FileInstall.htm +++ b/target/docs/lib/FileInstall.htm @@ -33,7 +33,7 @@

パラメータ

Overwrite
-

型:整数

+

Type: Integer

省略したときの初期値は0です。Otherwise, specify one of the following numbers to indicate whether to overwrite files if they already exist:

0:既存ファイルを上書きしません。The operation will fail and have no effect if Dest already exists.

1:既存ファイルを上書きします。

diff --git a/target/docs/lib/FileMove.htm b/target/docs/lib/FileMove.htm index 3a19592d..e18127c0 100644 --- a/target/docs/lib/FileMove.htm +++ b/target/docs/lib/FileMove.htm @@ -37,7 +37,7 @@

パラメータ

Overwrite
-

型:整数

+

Type: Integer

省略したときの初期値は0です。Otherwise, specify one of the following numbers to indicate whether to overwrite files if they already exist:

0:既存ファイルを上書きしません。DestPatternがすでにファイルまたはディレクトリとして存在する場合、操作は失敗し、何の効果もありません。

1:既存ファイルを上書きします。ただし、DestPattern内のファイルやサブフォルダで、SourcePatternに対応するものがないものは削除されません。

diff --git a/target/docs/lib/Func.htm b/target/docs/lib/Func.htm index 65cb8c87..f62de8e2 100644 --- a/target/docs/lib/Func.htm +++ b/target/docs/lib/Func.htm @@ -90,7 +90,7 @@

パラメータ

ParamIndex
-

型:整数

+

Type: Integer

省略された場合、Booleanは、関数が ByRef パラメータを持つかどうかを示します。Otherwise, specify the one-based index of a parameter.

@@ -106,7 +106,7 @@

パラメータ

ParamIndex
-

型:整数

+

Type: Integer

省略された場合、Booleanは、関数が任意のパラメータを持つかどうかを示します。Otherwise, specify the one-based index of a parameter.

diff --git a/target/docs/lib/GetKeySC.htm b/target/docs/lib/GetKeySC.htm index 0550015c..c9bd1460 100644 --- a/target/docs/lib/GetKeySC.htm +++ b/target/docs/lib/GetKeySC.htm @@ -29,7 +29,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、指定されたキーのスキャンコードを返し、キーが無効であるかスキャンコードがない場合は0を返します。

備考

diff --git a/target/docs/lib/GetKeyVK.htm b/target/docs/lib/GetKeyVK.htm index 6c23d6c6..23e1c864 100644 --- a/target/docs/lib/GetKeyVK.htm +++ b/target/docs/lib/GetKeyVK.htm @@ -29,7 +29,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

説明: 指定された鍵の仮想鍵コードを返し、その鍵が無効であるか仮想鍵コードがない場合は 0 を返す。

備考

diff --git a/target/docs/lib/GetMethod.htm b/target/docs/lib/GetMethod.htm index 3914799b..2d9a4405 100644 --- a/target/docs/lib/GetMethod.htm +++ b/target/docs/lib/GetMethod.htm @@ -31,7 +31,7 @@

パラメータ

ParamCount
- 型:整数 + Type: Integer

省略したとき、またはパラメータ数が確認されなかったときは、オブジェクトが呼び出し可能である可能性が高いことを確認するために、Callメソッドに対して基本的なチェックが実行されます。

そうでないときは、メソッドまたは関数に渡されるパラメーターの数を指定します。指定された場合、メソッドの MinParams、MaxParams、IsVariadic プロパティを照会して、この数のパラメータを受け入れることができることを確認することができます。これらのプロパティが存在しない場合、パラメータ数の確認は行われません。

このカウントには、暗黙のthisパラメータを含めてはなりません。

diff --git a/target/docs/lib/GroupActivate.htm b/target/docs/lib/GroupActivate.htm index 290c431b..e6bc1eaa 100644 --- a/target/docs/lib/GroupActivate.htm +++ b/target/docs/lib/GroupActivate.htm @@ -34,7 +34,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、アクティブ化するために選択されたウィンドウのHWND(ユニークID)を返し、アクティブ化するために一致するウィンドウが見つからなかった場合は0を返します。現在のアクティブなウィンドウが唯一の一致である場合、戻り値は 0 です。

備考

diff --git a/target/docs/lib/Gui.htm b/target/docs/lib/Gui.htm index fd079f37..470bbb3e 100644 --- a/target/docs/lib/Gui.htm +++ b/target/docs/lib/Gui.htm @@ -289,12 +289,12 @@

パラメータ

X, Y
-

型:整数

+

Type: Integer

If either is omitted, the position in that dimension will not be changed. Otherwise, specify the X and Y coordinates of the upper left corner of the window's new location, in screen coordinates.

Width, Height
-

型:整数

+

Type: Integer

If either is omitted, the size in that dimension will not be changed. Otherwise, specify the new width and height of the window (in pixels).

@@ -499,7 +499,7 @@

__Enum

Hwnd
-

型:整数

+

Type: Integer

コントロールのHWNDです。2パラメータモード時のみ存在します。

Ctrl
diff --git a/target/docs/lib/GuiControl.htm b/target/docs/lib/GuiControl.htm index b81331dd..05b75450 100644 --- a/target/docs/lib/GuiControl.htm +++ b/target/docs/lib/GuiControl.htm @@ -104,7 +104,7 @@

Delete

パラメータ

Value
-

型:整数

+

Type: Integer

If omitted, all items will be deleted. Otherwise, specify 1 for the first item, 2 for the second, etc.

@@ -155,12 +155,12 @@

パラメータ

X, Y
-

型:整数

+

Type: Integer

どちらかを省略すると、その次元ではコントロールの位置は変更されません。そうでないときは、コントロールの新しい位置の左上隅のX座標とY座標をピクセル単位で指定します。The coordinates are relative to the upper-left corner of the window's client area, which is the area not including title bar, menu bar, and borders.

Width, Height
-

型:整数

+

Type: Integer

どちらかを省略すると、その次元ではコントロールのサイズは変更されません。そうでないときは、コントロールの新しい幅と高さをピクセル単位で指定します。

diff --git a/target/docs/lib/GuiControls.htm b/target/docs/lib/GuiControls.htm index 39019f2f..14a903d9 100644 --- a/target/docs/lib/GuiControls.htm +++ b/target/docs/lib/GuiControls.htm @@ -494,7 +494,7 @@

Detecting Changes

Info
-

型:整数

+

Type: Integer

A numeric value from the tables below indicating how the slider was moved. These values and the corresponding names are defined in the Windows SDK.

@@ -552,9 +552,9 @@

パラメータ

NewText

型:文字列

Up to two tab characters (`t) may be present anywhere in NewText: anything to the right of the first tab is centered within the part, and anything to the right of the second tab is right-justified.

PartNumber
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。Otherwise, specify an integer between 1 and 256.

Style
-

型:整数

+

Type: Integer

If omitted, it defaults to 0, which uses a traditional border that makes that part of the bar look sunken. Otherwise, specify 1 to have no border or 2 to have border that makes that part of the bar look raised.

@@ -564,10 +564,10 @@

SetParts

GuiCtrl.SetParts(Width1, Width2, ... Width255)

パラメータ

Width1 ... Width255
-

型:整数

+

Type: Integer

If all parameters are omitted, the bar is restored to having only a single, long part. Otherwise, specify the width of each part except the last (the last will fill the remaining width of the bar). For example, SB.SetParts(50, 50) would create three parts: the first two of width 50 and the last one of all the remaining width.

戻り値

-

型:整数

+

Type: Integer

This method returns the status bar's window handle (HWND). コントロールのHWNDは、PostMessageSendMessageDllCallでよく使用されます。また、Controlパラメータで使用します。

備考

Any parts "deleted" by this method will start off with no text the next time they are shown (furthermore, their icons are automatically destroyed).

@@ -581,12 +581,12 @@

パラメータ

型:文字列

The path to an icon or image file, or a bitmap or icon handle such as "HICON:" handle. 対応フォーマットの一覧は、ピクチャーコントロールをご覧ください。

IconNumber
-

型:整数

+

Type: Integer

If omitted, it defaults to 1 (the first icon group). Otherwise, specify the number of the icon group to be used in the file. For example, SB.SetIcon("Shell32.dll", 2) would use the default icon from the second icon group. If negative, its absolute value is assumed to be the resource ID of an icon within an executable file.

PartNumber
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。Otherwise, specify an integer between 1 and 256.

戻り値

-

型:整数

+

Type: Integer

This method returns the icon's handle (HICON). The HICON is a system resource that can be safely ignored by most scripts because it is destroyed automatically when the status bar's window is destroyed. Similarly, any old icon is destroyed when this method replaces it with a new one. This can be avoided via:

SendMessage(0x040F, PartNumber - 1, HICON, SB)  ; 0x040F is SB_SETICON.
diff --git a/target/docs/lib/GuiCtrlFromHwnd.htm b/target/docs/lib/GuiCtrlFromHwnd.htm index b8adb6a2..2d6323e6 100644 --- a/target/docs/lib/GuiCtrlFromHwnd.htm +++ b/target/docs/lib/GuiCtrlFromHwnd.htm @@ -20,7 +20,7 @@

パラメータ

Hwnd
-

型:整数

+

Type: Integer

GUIコントロールのウィンドウハンドル(HWND)、またはその子ウィンドウ(例:ComboBoxのEditコントロール)を指します。コントロールは、MyGui.Addで作成されている必要があります。

diff --git a/target/docs/lib/GuiFromHwnd.htm b/target/docs/lib/GuiFromHwnd.htm index 0f55aae2..522afc95 100644 --- a/target/docs/lib/GuiFromHwnd.htm +++ b/target/docs/lib/GuiFromHwnd.htm @@ -20,7 +20,7 @@

パラメータ

Hwnd
-

型:整数

+

Type: Integer

スクリプトによって以前に作成されたGUIウィンドウのウィンドウハンドル(HWND)、またはRecurseParentがtrueの場合、スクリプトによって作成されたGUIウィンドウの子ウィンドウを指定します。

RecurseParent
diff --git a/target/docs/lib/GuiOnCommand.htm b/target/docs/lib/GuiOnCommand.htm index dc18ab31..1e8decdd 100644 --- a/target/docs/lib/GuiOnCommand.htm +++ b/target/docs/lib/GuiOnCommand.htm @@ -19,7 +19,7 @@

パラメータ

NotifyCode
-

型:整数

+

Type: Integer

監視する制御定義の通知コード。

@@ -39,7 +39,7 @@

パラメータ

AddRemove
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:

  • 1 = 以前に登録されたコールバックの後にコールバックを呼び出します。
  • diff --git a/target/docs/lib/GuiOnEvent.htm b/target/docs/lib/GuiOnEvent.htm index 8e83dc11..871fe58c 100644 --- a/target/docs/lib/GuiOnEvent.htm +++ b/target/docs/lib/GuiOnEvent.htm @@ -34,7 +34,7 @@

    パラメータ

    AddRemove
    -

    型:整数

    +

    Type: Integer

    省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:

    Item
    -

    型:整数

    +

    Type: Integer

    ListBox、ListView、TreeViewがコンテキストメニューのターゲットである場合(GuiCtrlObjで決定)、Itemはコントロールのどのアイテムをターゲットとするかを指定します。

    ListBox: The position number of the currently focused item. 標準的なリストボックスでは、右クリックされたときに項目にフォーカスが当たらないので、クリックされた項目でない可能性があることに注意してください。

    ListView and TreeView: For right-clicks, Item contains the clicked item's row number or ID (or 0 if the user clicked somewhere other than an item). For Menu and Shift+F10, Item contains the selected item's row number or ID.

    @@ -129,7 +129,7 @@

    ContextMenu

  • 0 (false) = The user pressed Menu or Shift+F10.
X, Y
-

型:整数

+

Type: Integer

スクリプトがメニューを表示する位置のX、Y座標(例:MyContextMenu.Show X, Y)です。座標は、ウィンドウのクライアント領域の左上隅からの相対座標です。

他の多くのGUIイベントとは異なり、ContextMenuイベントは複数のスレッドを同時に持つことができます。

@@ -156,7 +156,7 @@

DropFiles

X, Y
-

型:整数

+

Type: Integer

ファイルがドロップされた場所のX、Y座標(ウィンドウのクライアント領域の左上隅からの相対座標)。

@@ -171,7 +171,7 @@

Size

Gui_Size(GuiObj, MinMax, Width, Height)
MinMax
-

型:整数

+

Type: Integer

以下のいずれかの値:

最大化されたウィンドウは、復元/最大化解除せずにサイズを変更することができるため、値が1の場合、必ずしもユーザーがウィンドウを最大化したことに応じてこのイベントが発生したことを意味しないことに注意します。

Width, Height
-

型:整数

+

Type: Integer

ウィンドウのクライアント領域(タイトルバー、メニューバー、ボーダーを除く領域)の新しい幅と高さを指定します。

スクリプトは、Size イベントを使用して、ユーザーによるウィンドウのサイズ変更に対応してコントロールの位置を変更したり、サイズを変更したりすることができます。

@@ -197,7 +197,7 @@

Change

Info
-

型:整数

+

Type: Integer

Slider: A numeric value indicating how the slider moved. For details, see Detecting Changes.

それ以外のコントロールについては、現在、Infoは意味を持ちません。

@@ -212,7 +212,7 @@

Click

Info
-

型:整数

+

Type: Integer

ListView:クリックされた項目の行番号、またはマウスが項目上にない場合は0を指定します。

TreeView:クリックされた項目のID、またはマウスが項目上にない場合は0を指定します。

Link:リンクにID属性がある場合は文字列、ない場合はリンクのインデックス(整数値)です。

@@ -233,7 +233,7 @@

DoubleClick

Info
-

型:整数

+

Type: Integer

ListViewTreeViewStatusBarClickイベントと同じです。

ListBox: The position number of the currently focused item. 最後の項目の下の空白をダブルクリックすると、通常、最後の項目がフォーカスされ、選択範囲がそのままになります。

@@ -246,7 +246,7 @@

ColClick

Info
-

型:整数

+

Type: Integer

クリックされた1ベースの列番号です。これは、カラムが作成されたときに割り当てられたオリジナルの番号です。つまり、ユーザーによるカラムのドラッグ&ドロップは反映されません。

diff --git a/target/docs/lib/GuiOnNotify.htm b/target/docs/lib/GuiOnNotify.htm index e788381a..25287ee4 100644 --- a/target/docs/lib/GuiOnNotify.htm +++ b/target/docs/lib/GuiOnNotify.htm @@ -19,7 +19,7 @@

パラメータ

NotifyCode
-

型:整数

+

Type: Integer

監視する制御定義の通知コード。

@@ -44,7 +44,7 @@

パラメータ

AddRemove
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:

  • 1 = 以前に登録されたコールバックの後にコールバックを呼び出します。
  • diff --git a/target/docs/lib/HasMethod.htm b/target/docs/lib/HasMethod.htm index 3133e416..e1c2bf93 100644 --- a/target/docs/lib/HasMethod.htm +++ b/target/docs/lib/HasMethod.htm @@ -30,7 +30,7 @@

    パラメータ

ParamCount
- 型:整数 + Type: Integer

省略したとき、またはパラメータ数が確認されなかったときは、オブジェクトが呼び出し可能である可能性が高いことを確認するために、Callメソッドに対して基本的なチェックが実行されます。

そうでないときは、メソッドまたは関数に渡されるパラメーターの数を指定します。指定された場合、メソッドの MinParams、MaxParams、IsVariadic プロパティを照会して、この数のパラメータを受け入れることができることを確認することができます。これらのプロパティが存在しない場合、パラメータ数の確認は行われません。

このカウントには、暗黙のthisパラメータを含めてはなりません。

diff --git a/target/docs/lib/ImageSearch.htm b/target/docs/lib/ImageSearch.htm index 0ccae94f..ac2717dc 100644 --- a/target/docs/lib/ImageSearch.htm +++ b/target/docs/lib/ImageSearch.htm @@ -26,13 +26,13 @@

パラメータ

X1, Y1
-

型:整数

+

Type: Integer

検索する矩形の左上隅のX、Y座標。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。

X2, Y2
-

型:整数

+

Type: Integer

検索する矩形の右下隅のX、Y座標。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。

diff --git a/target/docs/lib/InStr.htm b/target/docs/lib/InStr.htm index fe23fe83..5c0e1b6f 100644 --- a/target/docs/lib/InStr.htm +++ b/target/docs/lib/InStr.htm @@ -41,7 +41,7 @@

パラメータ

StartingPos
-

型:整数

+

Type: Integer

省略したときは、文字列全体が検索対象になります。そうでないときは、検索を開始する位置を指定します。1が最初の文字、2が2番目の文字のように指定します。負の値はHaystackの最後から数えるので、-1が最後の文字、-2が2番目の文字のように指定します。。

Occurrenceを省略したときは、StartingPosが負であれば、右から左へ検索します。ただし、Occurrenceを指定したときは、StartingPosは検索の方向には影響しません。

右から左への検索では、StartingPosNeedleの最初の出現候補の最後の文字の位置を指定します。例えば、InStr("abc", "bc",, 2, +1)はマッチしますが、InStr("abc", "bc",, 2, -1)はそうではありません。

@@ -50,7 +50,7 @@

パラメータ

Occurrence
-

型:整数

+

Type: Integer

省略したときは、Haystackでの最初のマッチが初期値となります。StartingPos が負の場合は右から左へ、そうでないときはは左から右へ検索されます。

Occurrenceが正の場合、検索は常に左から右へ行われる。Occurrenceに2を指定すると、2番目にマッチした位置を、3を指定すると3番目にマッチした位置を返します。

Occurrenceが負の場合、検索は常に右から左へ行われます。例えば、-2は右から2番目に出現するものを検索します。

@@ -59,7 +59,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、文字列Haystackの中で文字列Needleが出現する位置を返します。これは、0が「偽」と同義であり、直感的に「見つからない」ことを示すからである。

StartingPosOccurrenceの値に関係なく、戻り値は常にHaystackの最初の文字に対する相対値です。例えば、「123abc789」の「abc」の位置は、常に4です。

通常、空文字列("")は、どの位置にも出現します。しかし、空白のNeedleは通常間違って渡されるだけなので、エラーとして扱われ、例外がスローされます。

diff --git a/target/docs/lib/Integer.htm b/target/docs/lib/Integer.htm index 498bc921..a6b3b1c2 100644 --- a/target/docs/lib/Integer.htm +++ b/target/docs/lib/Integer.htm @@ -16,7 +16,7 @@

Integer

IntValue := Integer(Value)

戻り値

-

型:整数

+

Type: Integer

この関数は、Valueを純粋な整数(型名「Integer」)に変換した結果、またはValueが、すでに正しい型である場合はそれ自体を返します。

備考

diff --git a/target/docs/lib/KeyHistory.htm b/target/docs/lib/KeyHistory.htm index f62e3ae6..cff15590 100644 --- a/target/docs/lib/KeyHistory.htm +++ b/target/docs/lib/KeyHistory.htm @@ -20,7 +20,7 @@

パラメータ

MaxEvents
-

型:整数

+

Type: Integer

If omitted, the script's main window will be shown, equivalent to selecting the "View->Key history" menu item. Otherwise, specify the maximum number of keyboard and mouse events that can be recorded for display in the window (limit 500). キーヒストリーもリセットされますが、メインウィンドウの表示やリフレッシュはされません。キーヒストリーを完全に無効にする場合は、0を指定します。

diff --git a/target/docs/lib/ListView.htm b/target/docs/lib/ListView.htm index 21a42fbc..94ce7c53 100644 --- a/target/docs/lib/ListView.htm +++ b/target/docs/lib/ListView.htm @@ -134,7 +134,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the new row number, which is not necessarily the last row if the ListView has the Sort or SortDesc style.

@@ -146,7 +146,7 @@

パラメータ

RowNumber
-

型:整数

+

Type: Integer

新たに挿入された行の行番号。RowNumber以下の行は、新しい行のためのスペースを確保するために下方にシフトされます。RowNumberがリストの行数より大きい場合(2147483647でも)、新しい行はリストの末尾に追加されます。

Options
@@ -161,7 +161,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the specified row number.

@@ -173,7 +173,7 @@

パラメータ

RowNumber
-

型:整数

+

Type: Integer

The number of the row to modify. If 0, all rows in the control are modified.

Options
@@ -199,7 +199,7 @@

パラメータ

RowNumber
-

型:整数

+

Type: Integer

If omitted, all rows in the ListView are deleted. Otherwise, specify the number of the row to delete.

@@ -213,7 +213,7 @@

パラメータ

ColumnNumber
-

型:整数

+

Type: Integer

If this and the other parameters are all omitted, the width of every column is adjusted to fit the contents of the rows. This has no effect when not in Report (Details) view.

Otherwise, specify the number of the column to modify. 1列目は1(0ではない)です。

@@ -265,7 +265,7 @@

パラメータ

ColumnNumber
-

型:整数

+

Type: Integer

If omitted or larger than the number of columns currently in the control, the new column is added next to the last column on the right side.

Otherwise, specify the column number of the newly inserted column. ColumnNumberの右側にある列は、新しい列のために右側にシフトされます。1列目は1(0ではない)です。

@@ -281,7 +281,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the new column's position number.

備考

新しく挿入された列は、それが最初の列でない限り、その下に何もない状態で始まり、その場合、古い最初の列の内容を引き継ぎ、古い最初の列は空白の内容を獲得する。

@@ -296,7 +296,7 @@

パラメータ

ColumnNumber
-

型:整数

+

Type: Integer

The number of the column to delete. 列が削除されると、その右側にある列の列番号は1つ減らされます。その結果、LV.DeleteCol(2)を2回呼び出すと、2列目と3列目が削除されます。

@@ -317,7 +317,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the number of rows or columns in the control. The value is always returned immediately because the control keeps track of these counts.

備考

This method is often used in the top line of a Loop, in which case the method would get called only once (prior to the first iteration). 事例:

@@ -343,7 +343,7 @@

パラメータ

StartingRowNumber
-

型:整数

+

Type: Integer

省略された場合、または1未満の場合は、リストの先頭から検索を開始します。Otherwise, specify the number of the row after which to begin the search.

RowType
@@ -355,7 +355,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This method returns the row number of the next selected, checked, or focused row. If none is found, it returns 0.

備考

次の例では、ListViewで選択されたすべての行をレポートします:

@@ -380,12 +380,12 @@

GetText

RowNumber
-

型:整数

+

Type: Integer

テキストを取得する行の番号。If 0, the column header text is retrieved.

ColumnNumber
-

型:整数

+

Type: Integer

省略された場合、デフォルトは1(1列目のテキスト)です。Otherwise, specify the number of the column where RowNumber is located.

@@ -404,17 +404,17 @@

パラメータ

ImageListID
-

型:整数

+

Type: Integer

The ID number returned from a previous call to IL_Create.

IconType
-

型:整数

+

Type: Integer

If omitted, the type of icons in the ImageList is detected automatically as large or small. Otherwise, specify 0 for large icons, 1 for small icons, or 2 for state icons (which are not yet directly supported, but could be used via SendMessage).

戻り値

-

型:整数

+

Type: Integer

This method returns the ImageList ID that was previously associated with the ListView. On failure, it returns 0. このような切り離されたImageListは、通常IL_Destroyで破棄する必要があります。

備考

このメソッドは通常、ListViewに行を追加する前に呼び出されます。It sets the ImageList whose icons will be displayed by the ListView's rows (and optionally, its columns).

@@ -458,12 +458,12 @@

パラメータ

InitialCount
-

型:整数

+

Type: Integer

省略しゃれたときは、初期値は2です。Otherwise, specify the number of icons you expect to put into the list immediately.

GrowCount
-

型:整数

+

Type: Integer

省略しゃれたときは、初期値は5です。Otherwise, specify the number of icons by which the list will grow each time it exceeds the current list capacity.

LargeIcons
@@ -476,7 +476,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

On success, this function returns the unique ID of the newly created ImageList. On failure, it returns 0.

IL_Add

@@ -487,7 +487,7 @@

パラメータ

ImageListID
-

型:整数

+

Type: Integer

The ID number returned from a previous call to IL_Create.

IconFileName
@@ -497,7 +497,7 @@

パラメータ

IconNumber
-

型:整数

+

Type: Integer

If omitted, it defaults to 1 (the first icon group). Otherwise, specify the number of the icon group to be used in the file. If the number is negative, its absolute value is assumed to be the resource ID of an icon within an executable file. In the following example, the default icon from the second icon group would be used: IL_Add(ImageListID, "C:\My Application.exe", 2).

PicFileName
@@ -507,7 +507,7 @@

パラメータ

MaskColor
-

型:整数

+

Type: Integer

The mask/transparency color number. 0xFFFFFF (the color white) might be best for most pictures.

Resize
@@ -518,7 +518,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

On success, this function returns the new icon's index (1 is the first icon, 2 is the second, and so on). On failure, it returns 0.

IL_Destroy

@@ -528,7 +528,7 @@

パラメータ

ImageListID
-

型:整数

+

Type: Integer

The ID number returned from a previous call to IL_Create.

diff --git a/target/docs/lib/LoadPicture.htm b/target/docs/lib/LoadPicture.htm index 553f0858..a7b30f7f 100644 --- a/target/docs/lib/LoadPicture.htm +++ b/target/docs/lib/LoadPicture.htm @@ -42,7 +42,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

This function returns a bitmap or icon handle depending on whether a picture or icon is specified and whether the &OutImageType parameter is present or not.

備考

diff --git a/target/docs/lib/Loop.htm b/target/docs/lib/Loop.htm index 60c6aec3..53f894be 100644 --- a/target/docs/lib/Loop.htm +++ b/target/docs/lib/Loop.htm @@ -20,7 +20,7 @@

パラメータ

Count
-

型:整数

+

Type: Integer

If omitted, the loop continues indefinitely until a Break or Return is encountered. Otherwise, specify how many times (iterations) to perform the loop. ただし、明示的な空白値や1未満の数値は、ループが完全にスキップされることになります。

Countは、ループが始まる直前に一度だけ評価されます。例えば、Countが関数呼び出しや代入などの副作用を持つ式の場合、副作用は一度だけ発生します。

Countが括弧で囲まれている場合、スペースやタブは必要ありません。事例:Loop(2)

diff --git a/target/docs/lib/Menu.htm b/target/docs/lib/Menu.htm index 2dd25d8c..e79ad66b 100644 --- a/target/docs/lib/Menu.htm +++ b/target/docs/lib/Menu.htm @@ -317,12 +317,12 @@

パラメータ

IconNumber
-

型:整数

+

Type: Integer

If omitted, it defaults to 1 (the first icon group). Otherwise, specify the number of the icon group to be used in the file. For example, MyMenu.SetIcon(MenuItemName, "Shell32.dll", 2) would use the default icon from the second icon group. If negative, its absolute value is assumed to be the resource ID of an icon within an executable file.

IconWidth
-

型:整数

+

Type: Integer

If omitted, it defaults to the width of a small icon recommended by the OS (usually 16 pixels). If 0, the original width is used. Otherwise, specify the desired width of the icon, in pixels. IconNumberで示されるアイコングループに複数のアイコンサイズが含まれる場合、最も近いサイズのアイコンを使用し、指定されたサイズに拡大縮小されます。

@@ -339,7 +339,7 @@

パラメータ

X, Y
-

型:整数

+

Type: Integer

If omitted, the menu will be shown near the mouse cursor. Otherwise, specify the X and Y coordinates at which to display the upper left corner of the menu. The coordinates are relative to the active window's client area unless overridden by using CoordMode or A_CoordModeMenu.

diff --git a/target/docs/lib/MenuFromHandle.htm b/target/docs/lib/MenuFromHandle.htm index ea13873f..2c57e151 100644 --- a/target/docs/lib/MenuFromHandle.htm +++ b/target/docs/lib/MenuFromHandle.htm @@ -19,7 +19,7 @@

MenuFromHandle

パラメータ

Handle
-

型:整数

+

Type: Integer

Win32メニューのハンドル(HMENU型)です。

diff --git a/target/docs/lib/MonitorGet.htm b/target/docs/lib/MonitorGet.htm index 4b8dfcf6..a930e0b1 100644 --- a/target/docs/lib/MonitorGet.htm +++ b/target/docs/lib/MonitorGet.htm @@ -21,7 +21,7 @@

パラメータ

N
-

型:整数

+

Type: Integer

省略されたときは、プライマリモニタが使用されます。そうでないときは、1からMonitorGetCount関数で返された数までのモニターナンバーを指定します。

@@ -33,7 +33,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、モニター番号を返します(Nが省略されない限り、Nと同じです)。

エラー処理

diff --git a/target/docs/lib/MonitorGetCount.htm b/target/docs/lib/MonitorGetCount.htm index 139ad74a..fc33d52b 100644 --- a/target/docs/lib/MonitorGetCount.htm +++ b/target/docs/lib/MonitorGetCount.htm @@ -21,7 +21,7 @@

パラメータ

この関数にはパラメータがありません。

戻り値

-

型:整数

+

Type: Integer

この関数は、モニターの総数を返します。

備考

diff --git a/target/docs/lib/MonitorGetName.htm b/target/docs/lib/MonitorGetName.htm index 8d60ab42..39528b4c 100644 --- a/target/docs/lib/MonitorGetName.htm +++ b/target/docs/lib/MonitorGetName.htm @@ -21,7 +21,7 @@

パラメータ

N
-

型:整数

+

Type: Integer

省略されたときは、プライマリモニタが使用されます。そうでないときは、1からMonitorGetCount関数で返された数までのモニターナンバーを指定します。

diff --git a/target/docs/lib/MonitorGetPrimary.htm b/target/docs/lib/MonitorGetPrimary.htm index 5b61090c..64d2f6e3 100644 --- a/target/docs/lib/MonitorGetPrimary.htm +++ b/target/docs/lib/MonitorGetPrimary.htm @@ -21,7 +21,7 @@

パラメータ

この関数にはパラメータがありません。

戻り値

-

型:整数

+

Type: Integer

この関数は、プライマリモニタの番号を返します。モニターが1つしかないときは、戻り値は1になるはずです。

diff --git a/target/docs/lib/MonitorGetWorkArea.htm b/target/docs/lib/MonitorGetWorkArea.htm index 39f3a3bd..099f4513 100644 --- a/target/docs/lib/MonitorGetWorkArea.htm +++ b/target/docs/lib/MonitorGetWorkArea.htm @@ -21,7 +21,7 @@

パラメータ

N
-

型:整数

+

Type: Integer

省略されたときは、プライマリモニタが使用されます。そうでないときは、1からMonitorGetCount関数で返された数までのモニターナンバーを指定します。

@@ -33,7 +33,7 @@

パラメータ

戻り値

-

型:整数

+

Type: Integer

この関数は、モニター番号を返します(Nが省略されない限り、Nと同じです)。

エラー処理

diff --git a/target/docs/lib/MouseClick.htm b/target/docs/lib/MouseClick.htm index b6f38aa9..d462d92c 100644 --- a/target/docs/lib/MouseClick.htm +++ b/target/docs/lib/MouseClick.htm @@ -29,19 +29,19 @@

パラメータ

X, Y
-

型:整数

+

Type: Integer

省略された場合は、カーソルの現在位置が使用されます。Otherwise, specify the X and Y coordinates to which the mouse cursor is moved prior to clicking. 座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。

ClickCount
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。Otherwise, specify the number of times to click the mouse button or turn the mouse wheel.

Speed
-

型:整数

+

Type: Integer

省略されたときは、SetDefaultMouseSpeedで設定された速度(設定されていないときは2)が初期値として使用されます。そうでないときは、マウスを動かす速度を0(最速) から100(最低)の範囲で指定します。スピードを0にすると、マウスが瞬時に動きます。

SendInput/PlayモードではSpeedは無視され、マウスは瞬時に移動します(ただし、SetMouseDelayにはSendPlayに適用されるモードがあります)。デモンストレーション用のスクリプトのためなどにマウスを視覚的にゆっくりと動かすには、SendEvent "{Click 100 200}"またはSendMode "Event"を使用します(必要に応じてBlockInputと組み合わせてください)。

diff --git a/target/docs/lib/MouseClickDrag.htm b/target/docs/lib/MouseClickDrag.htm index 3a31ef0f..4565751d 100644 --- a/target/docs/lib/MouseClickDrag.htm +++ b/target/docs/lib/MouseClickDrag.htm @@ -27,20 +27,20 @@

パラメータ

X1, Y1
-

型:整数

+

Type: Integer

Specify the X and Y coordinates of the drag's starting position (the mouse will be moved to these coordinates right before the drag is started). 座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。

[v2.0.7+]: If both X1 and Y1 are omitted, the mouse cursor's current position is used. Due to a bug, X1 and Y1 were mandatory in previous versions.

X2, Y2
-

型:整数

+

Type: Integer

The X and Y coordinates to drag the mouse to (that is, while the button is held down). 座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。

Speed
-

型:整数

+

Type: Integer

省略されたときは、SetDefaultMouseSpeedで設定された速度(設定されていないときは2)が初期値として使用されます。そうでないときは、マウスを動かす速度を0(最速) から100(最低)の範囲で指定します。スピードを0にすると、マウスが瞬時に動きます。

SendInput/PlayモードではSpeedは無視され、マウスは瞬時に移動します(ただし、SetMouseDelayにはSendPlayに適用されるモードがあります)。デモンストレーション用のスクリプトのためなどにマウスを視覚的にゆっくりと動かすには、SendEvent "{Click 100 200}"またはSendMode "Event"を使用します(必要に応じてBlockInputと組み合わせてください)。

diff --git a/target/docs/lib/MouseGetPos.htm b/target/docs/lib/MouseGetPos.htm index 1b0b0904..624c9c89 100644 --- a/target/docs/lib/MouseGetPos.htm +++ b/target/docs/lib/MouseGetPos.htm @@ -40,7 +40,7 @@

パラメータ

Flag
-

型:整数

+

Type: Integer

If omitted, it defaults to 0, meaning the function uses the default method to determine OutputVarControl and stores the control's ClassNN. Otherwise, specify a combination (sum) of the following numbers:

1:OutputVarControlを決定するために、より単純な方法を使用します。SysEditやTextPadなどのMDI(Multiple Document Interface)アプリケーションのアクティブ/最上位の子ウィンドウを正しく取得することができるようになりました。ただし、GroupBoxコントロール内のコントロールの検出など、他の目的では精度が落ちます。

2:コントロールのClassNNではなく、コントロールのHWNDOutputVarControlに格納します。

diff --git a/target/docs/lib/MouseMove.htm b/target/docs/lib/MouseMove.htm index 8c755b0d..09c8ebfc 100644 --- a/target/docs/lib/MouseMove.htm +++ b/target/docs/lib/MouseMove.htm @@ -20,13 +20,13 @@

パラメータ

X, Y
-

型:整数

+

Type: Integer

XとYの座標にマウスを移動させます。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。

Speed
-

型:整数

+

Type: Integer

省略されたときは、SetDefaultMouseSpeedで設定された速度(設定されていないときは2)が初期値として使用されます。そうでないときは、マウスを動かす速度を0(最速) から100(最低)の範囲で指定します。スピードを0にすると、マウスが瞬時に動きます。

SendInput/PlayモードではSpeedは無視され、マウスは瞬時に移動します(ただし、SetMouseDelayにはSendPlayに適用されるモードがあります)。デモンストレーション用のスクリプトのためなどにマウスを視覚的にゆっくりと動かすには、SendEvent "{Click 100 200}"またはSendMode "Event"を使用します(必要に応じてBlockInputと組み合わせてください)。

diff --git a/target/docs/lib/NumGet.htm b/target/docs/lib/NumGet.htm index deefe13c..1951bcc6 100644 --- a/target/docs/lib/NumGet.htm +++ b/target/docs/lib/NumGet.htm @@ -27,7 +27,7 @@

パラメータ

Offset
-

型:整数

+

Type: Integer

空白または省略したとき、または2パラメータモードのときの初期値は0になります。そうでなければ、ソースアドレスを決定するためにSourceに追加するオフセットをバイト単位で指定します。

diff --git a/target/docs/lib/NumPut.htm b/target/docs/lib/NumPut.htm index a7ba1d1d..8b11aaa7 100644 --- a/target/docs/lib/NumPut.htm +++ b/target/docs/lib/NumPut.htm @@ -27,7 +27,7 @@

パラメータ

Number
-

型:整数

+

Type: Integer

保存する番号です。

@@ -40,14 +40,14 @@

パラメータ

Offset
-

型:整数

+

Type: Integer

省略したときの初期値は0です。そうでないときは、ターゲットアドレスを決定するためにTargetに追加されるオフセットをバイト単位で指定します。

戻り値

-

型:整数

+

Type: Integer

この関数は、最後に書き込まれた項目の右側のアドレスを返します。DllCallで使用する構造体のように、一部のフィールドが設定されていない、連続しない数値列を記述する場合に使用できます。しかし、多くの場合、代わりに複数のTypeNumberのペアを指定する方がシンプルで効率的です。NumPutにアドレスを返すのは、Offsetを更新したBufferのようなオブジェクトを渡すよりも安全性に欠けます。

総論

diff --git a/target/docs/lib/ObjAddRef.htm b/target/docs/lib/ObjAddRef.htm index efe9be1a..e71fc00c 100644 --- a/target/docs/lib/ObjAddRef.htm +++ b/target/docs/lib/ObjAddRef.htm @@ -22,14 +22,14 @@

パラメータ

Ptr
-

型:整数

+

Type: Integer

アンマネージドオブジェクトポインタまたはCOMインターフェイスポインタです。

戻り値

-

型:整数

+

Type: Integer

これらの関数は、新しい参照カウントを返します。この値は、デバッグの目的でのみ使用する必要があります。

diff --git a/target/docs/lib/Object.htm b/target/docs/lib/Object.htm index f16ec02e..f7322b27 100644 --- a/target/docs/lib/Object.htm +++ b/target/docs/lib/Object.htm @@ -219,12 +219,12 @@

パラメータ

MaxProps
-

型:整数

+

Type: Integer

新しい容量です。現在の自プロパティの数より少ない場合、その数が代わりに使用され、未使用のスペースは解放されます。

戻り値

-

型:整数

+

Type: Integer

This function returns the new capacity.

エラー処理

Objが不正な型である場合は例外が発生します。

diff --git a/target/docs/lib/OnClipboardChange.htm b/target/docs/lib/OnClipboardChange.htm index 976a2b6b..7741c702 100644 --- a/target/docs/lib/OnClipboardChange.htm +++ b/target/docs/lib/OnClipboardChange.htm @@ -36,7 +36,7 @@

パラメータ

AddRemove
-

型:整数

+

Type: Integer

省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください: