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 @@
型:整数
+Type: Integer
Value1を挿入する位置を指定します。それ以降の値は、Index+1、Index+2 などに挿入されます。0を指定すると、Length+1を指定したのと同じになります。
型:整数
+Type: Integer
削除する値(複数可)のインデックス。
型:整数
+Type: Integer
省略された場合は、1つの項目が削除されます。Otherwise, specify the length of the range of values to remove.
型:整数
+Type: Integer
配列のインデックス。通常はA_Indexと同じ。2パラメータモード時のみ存在します。
型:整数
+Type: Integer
割り当てるバイト数を指定します。Buffer.Sizeに対応します。
型:整数
+Type: Integer
0~255の数値を指定すると、バッファ内の各バイトにその数値が設定されます。
バイト数に比例した時間的コストがかかるため、バッファを読み込まずに書き込むような場合には、一般に省略されるべきです。省略した場合、バッファのメモリは初期化されず、各バイトの値は任意です。
型:整数
+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にアドレスを渡すと、コールバックが削除されます。
型:整数
+Type: Integer
0 から 0x10FFFF までの Unicode 文字コードです。
省略した場合は、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
+省略したときは、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
型:整数
-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 @@型:整数
+Type: Integer
使用するデータのバイト数を指定します。Dataがオブジェクトの場合は省略可能です。
型:整数
+Type: Integer
仮想関数テーブル内のメソッドのゼロベースインデックス。
インデックスは、元のインターフェース定義内でのメソッドの位置に対応します。マイクロソフトのドキュメントでは、通常、メソッドをアルファベット順に記載していますが、これは関係ありません。正しいインデックスを決定するために、元のインターフェイスの定義を見つけてください。これは、ヘッダーファイルやタイプライブラリの中にあるかもしれません。
親インターフェースから継承されるメソッドを考慮することが重要です。すべてのCOMインタフェースは最終的にIUnknownから派生するため、最初の3つのメソッドは常にQueryInterface(0)、AddRef(1)、Release(2)です。例えば、IShellItem2は IShellItemの拡張で、インデックス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 @@型:整数
+Type: Integer
配列の基本型(配列の各要素のVARTYPE)。VARTYPEは、バリアントタイプのサブセットに限定されます。VT_ARRAYフラグ、VT_BYREFフラグのいずれも設定できない。VT_EMPTY と VT_NULL は、配列のベースタイプとして有効ではありません。それ以外のタイプはすべて合法です。取り得る値の一覧は、ComObjTypeをご覧ください。
型:整数
+Type: Integer
各寸法の大きさです。最大8次元までの配列に対応しています。
型:整数
+Type: Integer
Maskで識別されるフラグの新しい値、または追加または削除するフラグ。
型:整数
+Type: Integer
変更するフラグのビットマスクです。
型:整数
+Type: Integer
この関数は、指定された COM オブジェクトの現在のフラグ(指定された場合、NewFlagsを適用した後)を返します。
型:整数
+Type: Integer
IDispatchまたは派生インターフェースの非NULLインターフェースポインタです。
型:整数
+Type: Integer
この関数は、64ビット符号付き整数を返します。
型:整数
+Type: Integer
値の種類を示す整数。タイプの一覧はComObjTypeをご覧ください。
型:整数
+Type: Integer
ラッパーオブジェクトの動作に影響を与えるフラグ。詳細はComObjFlagsを参照してください。
型:整数
+Type: Integer
この関数は、新しい項目のインデックスを返します。1が最初の項目、2が2番目の項目、といった具合です。
型:整数
+Type: Integer
項目のインデックスです。1は最初の項目、2は2番目の項目、のようになります。ListBoxやComboBoxの全項目を非選択にする場合は、0を指定します。
型:整数
+Type: Integer
この関数は、選ばれた項目のインデックスを返します。1 は最初の項目、2 は 2 番目の項目、といった具合です。
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。Otherwise, specify the number of times to click the mouse button or turn the mouse wheel.
型:整数
+Type: Integer
項目のインデックスで、1が最初の項目、2が2番目の項目、などです。
型:整数
+Type: Integer
この関数は、Stringに完全に一致するListBoxまたはComboBoxのエントリ番号を返します。コントロールの最初のエントリーは1、2番目のエントリーは2、・・・となります。一致しない場合は、例外がスローされます。
型:整数
+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)を返す。
型:整数
+Type: Integer
この関数は、現在選択されている項目またはタブのインデックスを返す。最初のエントリやタブは1、2番目は2、といった具合です。エントリまたはタブが選択されていない場合、戻り値は 0 です。
型:整数
+Type: Integer
これらの関数は、指定されたコントロールのスタイルまたは拡張スタイルを返します。
型:整数
+Type: Integer
どちらかを省略すると、その次元ではコントロールの位置は変更されません。そうでないときは、コントロールの新しい位置の左上隅のX座標とY座標をピクセル単位で指定します。座標はターゲットウィンドウのクライアント領域の左上隅からの相対座標で、ControlGetPosで決定できます。
型:整数
+Type: Integer
どちらかを省略すると、その次元ではコントロールのサイズは変更されません。そうでないときは、コントロールの新しい幅と高さをピクセル単位で指定します。
型:整数
+Type: Integer
以下のいずれかの値:
1
またはTrue
で設定をオンにします型:整数
+Type: Integer
以下のいずれかの値:
1
またはTrue
で設定をオンにします型:整数
+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.
型:整数
+Type: Integer
説明: 2つのタイムスタンプの差をTimeUnitsで指定された単位で返す。DateTime1 がDateTime2より早いときは、負の数を返します。
結果は常に最も近い整数に切り捨てられます。例えば、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 @@型:整数
+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 @@型:整数
+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
この関数は、指定されたパスを含むドライブの容量をメガバイト単位で返します。
型:整数
+Type: Integer
この関数はドライブのボリュームシリアルナンバーを返します。16進数への変換方法は、Formatをご覧ください。
型:整数
+Type: Integer
この関数は、指定された パス,を含むドライブの空きディスク容量をメガバイト単位で返します(メガバイト未満は切り捨て)。
型:整数
+Type: Integer
説明: キャレット(テキスト挿入点)が存在するエディットコントロールのカラム番号を返します。最初の列は1です。コントロール内でテキストが選択されている場合、戻り値は選択が開始された列番号となる。
型:整数
+Type: Integer
この関数は、エディットコントロールのキャレット(テキスト挿入点)が存在する行番号を返します。1行目は1です。コントロール内でテキストが選択されている場合、戻り値は選択が開始された行番号となる。
型:整数
+Type: Integer
何行目かの数字です。1は最初の行を表します。
型:整数
+Type: Integer
この関数は、Editコントロールの行数を返します。すべてのEditコントロールは、コントロールが空であっても少なくとも1行を持ちます。
型:整数
+Type: Integer
省略されたときは、初期値は0になります。0は伝統的に処理に成功したことを示します。そうでないときは、スクリプトの終了時に呼び出し元に返される-2147483648から2147483647までの整数を指定します。このコードは、他のスクリプト(RunWait経由)やバッチ(.bat)ファイルなど、スクリプトを生成したすべてのプログラムからアクセスできます。
型:整数
+Type: Integer
省略されたときは、初期値は0になります。0は伝統的に処理に成功したことを示します。そうでないときは、スクリプトの終了時に呼び出し元に返される-2147483648から2147483647までの整数を指定します。このコードは、他のスクリプト(RunWait経由)やバッチ(.bat)ファイルなど、スクリプトを生成したすべてのプログラムからアクセスできます。
型:整数
+Type: Integer
省略された場合、ファイルの残りの部分が読み込まれ、1つの文字列として返されます。それ以外の場合は、読み込む最大文字数を指定する。Fileオブジェクトがコンソールバッファやパイプなどの非シーキングデバイスへのハンドルから作成された場合、このパラメータを省略すると、メソッドが失敗するか、現在利用可能なデータのみを返すことがあります。
型:整数
+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.
型:整数
+Type: Integer
読み出す最大バイト数を指定します。Bufferがオブジェクトの場合はオプション、それ以外の場合は必須とします。
型:整数
+Type: Integer
This method returns the number of bytes that were read.
@@ -166,12 +166,12 @@型:整数
+Type: Integer
書き込むバイト数を指定します。Dataがオブジェクトまたは文字列の場合はオプション、それ以外の場合は必須とします。
型:整数
+Type: Integer
This method returns the number of bytes that were written.
@@ -182,12 +182,12 @@型:整数
+Type: Integer
移動する距離(バイト単位)。値が小さいほど、ファイルの先頭に近い。
型:整数
+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
省略したときの初期値は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/FileCreateShortcut.htm b/target/docs/lib/FileCreateShortcut.htm index 4aa2fe4b..0e585415 100644 --- a/target/docs/lib/FileCreateShortcut.htm +++ b/target/docs/lib/FileCreateShortcut.htm @@ -62,13 +62,13 @@型:整数
+Type: Integer
省略されたときは、初期値は 1 です。Otherwise, specify the number of the icon to be used in IconFile. 例えば、2は2番目のアイコンです。
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。Otherwise, specify one of the following digits to launch Target minimized or maximized:
型:整数
+Type: Integer
説明: 指定されたファイルのサイズを返します(小数点以下は切り捨て)。
型:整数
+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 @@型:整数
+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 @@型:整数
+Type: Integer
省略された場合、Booleanは、関数が ByRef パラメータを持つかどうかを示します。Otherwise, specify the one-based index of a parameter.
型:整数
+Type: Integer
省略された場合、Booleanは、関数が任意のパラメータを持つかどうかを示します。Otherwise, specify the one-based index of a parameter.
型:整数
+Type: Integer
この関数は、指定されたキーのスキャンコードを返し、キーが無効であるかスキャンコードがない場合は0を返します。
型:整数
+Type: Integer
説明: 指定された鍵の仮想鍵コードを返し、その鍵が無効であるか仮想鍵コードがない場合は 0 を返す。
省略したとき、またはパラメータ数が確認されなかったときは、オブジェクトが呼び出し可能である可能性が高いことを確認するために、Callメソッドに対して基本的なチェックが実行されます。
そうでないときは、メソッドまたは関数に渡されるパラメーターの数を指定します。指定された場合、メソッドの MinParams、MaxParams、IsVariadic プロパティを照会して、この数のパラメータを受け入れることができることを確認することができます。これらのプロパティが存在しない場合、パラメータ数の確認は行われません。
このカウントには、暗黙のthis
パラメータを含めてはなりません。
型:整数
+Type: Integer
この関数は、アクティブ化するために選択されたウィンドウのHWND(ユニークID)を返し、アクティブ化するために一致するウィンドウが見つからなかった場合は0を返します。現在のアクティブなウィンドウが唯一の一致である場合、戻り値は 0 です。
型:整数
+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.
型:整数
+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).
型:整数
+Type: Integer
コントロールのHWNDです。2パラメータモード時のみ存在します。
型:整数
+Type: Integer
If omitted, all items will be deleted. Otherwise, specify 1 for the first item, 2 for the second, etc.
型:整数
+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.
型:整数
+Type: Integer
どちらかを省略すると、その次元ではコントロールのサイズは変更されません。そうでないときは、コントロールの新しい幅と高さをピクセル単位で指定します。
型:整数
+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.
型:文字列
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.
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。Otherwise, specify an integer between 1 and 256.
型:整数
+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.
GuiCtrl.SetParts(Width1, Width2, ... 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は、PostMessage、SendMessage、DllCallでよく使用されます。また、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
. 対応フォーマットの一覧は、ピクチャーコントロールをご覧ください。
型:整数
+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.
型:整数
+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 @@
型:整数
+Type: Integer
GUIコントロールのウィンドウハンドル(HWND)、またはその子ウィンドウ(例:ComboBoxのEditコントロール)を指します。コントロールは、MyGui.Addで作成されている必要があります。
型:整数
+Type: Integer
スクリプトによって以前に作成されたGUIウィンドウのウィンドウハンドル(HWND)、またはRecurseParentがtrueの場合、スクリプトによって作成されたGUIウィンドウの子ウィンドウを指定します。
型:整数
+Type: Integer
監視する制御定義の通知コード。
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:
The GuiControl object of the control that received the event (blank if none).
型:整数
+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.
型:整数
+Type: Integer
スクリプトがメニューを表示する位置のX、Y座標(例:MyContextMenu.Show X, Y
)です。座標は、ウィンドウのクライアント領域の左上隅からの相対座標です。
他の多くのGUIイベントとは異なり、ContextMenuイベントは複数のスレッドを同時に持つことができます。
@@ -156,7 +156,7 @@型:整数
+Type: Integer
ファイルがドロップされた場所のX、Y座標(ウィンドウのクライアント領域の左上隅からの相対座標)。
Gui_Size(GuiObj, MinMax, Width, Height)
型:整数
+Type: Integer
以下のいずれかの値:
最大化されたウィンドウは、復元/最大化解除せずにサイズを変更することができるため、値が1の場合、必ずしもユーザーがウィンドウを最大化したことに応じてこのイベントが発生したことを意味しないことに注意します。
型:整数
+Type: Integer
ウィンドウのクライアント領域(タイトルバー、メニューバー、ボーダーを除く領域)の新しい幅と高さを指定します。
スクリプトは、Size イベントを使用して、ユーザーによるウィンドウのサイズ変更に対応してコントロールの位置を変更したり、サイズを変更したりすることができます。
@@ -197,7 +197,7 @@型:整数
+Type: Integer
Slider: A numeric value indicating how the slider moved. For details, see Detecting Changes.
それ以外のコントロールについては、現在、Infoは意味を持ちません。
型:整数
+Type: Integer
ListView:クリックされた項目の行番号、またはマウスが項目上にない場合は0を指定します。
TreeView:クリックされた項目のID、またはマウスが項目上にない場合は0を指定します。
Link:リンクにID属性がある場合は文字列、ない場合はリンクのインデックス(整数値)です。
@@ -233,7 +233,7 @@型:整数
+Type: Integer
ListView、TreeView、StatusBar:Clickイベントと同じです。
ListBox: The position number of the currently focused item. 最後の項目の下の空白をダブルクリックすると、通常、最後の項目がフォーカスされ、選択範囲がそのままになります。
型:整数
+Type: Integer
クリックされた1ベースの列番号です。これは、カラムが作成されたときに割り当てられたオリジナルの番号です。つまり、ユーザーによるカラムのドラッグ&ドロップは反映されません。
型:整数
+Type: Integer
監視する制御定義の通知コード。
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:
省略したとき、またはパラメータ数が確認されなかったときは、オブジェクトが呼び出し可能である可能性が高いことを確認するために、Callメソッドに対して基本的なチェックが実行されます。
そうでないときは、メソッドまたは関数に渡されるパラメーターの数を指定します。指定された場合、メソッドの MinParams、MaxParams、IsVariadic プロパティを照会して、この数のパラメータを受け入れることができることを確認することができます。これらのプロパティが存在しない場合、パラメータ数の確認は行われません。
このカウントには、暗黙のthis
パラメータを含めてはなりません。
型:整数
+Type: Integer
検索する矩形の左上隅のX、Y座標。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
検索する矩形の右下隅のX、Y座標。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
省略したときは、文字列全体が検索対象になります。そうでないときは、検索を開始する位置を指定します。1が最初の文字、2が2番目の文字のように指定します。負の値はHaystackの最後から数えるので、-1が最後の文字、-2が2番目の文字のように指定します。。
Occurrenceを省略したときは、StartingPosが負であれば、右から左へ検索します。ただし、Occurrenceを指定したときは、StartingPosは検索の方向には影響しません。
右から左への検索では、StartingPosはNeedleの最初の出現候補の最後の文字の位置を指定します。例えば、InStr("abc", "bc",, 2, +1)
はマッチしますが、InStr("abc", "bc",, 2, -1)
はそうではありません。
型:整数
+Type: Integer
省略したときは、Haystackでの最初のマッチが初期値となります。StartingPos が負の場合は右から左へ、そうでないときはは左から右へ検索されます。
Occurrenceが正の場合、検索は常に左から右へ行われる。Occurrenceに2を指定すると、2番目にマッチした位置を、3を指定すると3番目にマッチした位置を返します。
Occurrenceが負の場合、検索は常に右から左へ行われます。例えば、-2は右から2番目に出現するものを検索します。
@@ -59,7 +59,7 @@型:整数
+Type: Integer
この関数は、文字列Haystackの中で文字列Needleが出現する位置を返します。これは、0が「偽」と同義であり、直感的に「見つからない」ことを示すからである。
StartingPosやOccurrenceの値に関係なく、戻り値は常にHaystackの最初の文字に対する相対値です。例えば、「123abc789」の「abc」の位置は、常に4です。
通常、空文字列(""
)は、どの位置にも出現します。しかし、空白のNeedleは通常間違って渡されるだけなので、エラーとして扱われ、例外がスローされます。
IntValue := Integer(Value)
型:整数
+Type: Integer
この関数は、Valueを純粋な整数(型名「Integer」)に変換した結果、またはValueが、すでに正しい型である場合はそれ自体を返します。
型:整数
+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を指定します。
型:整数
+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 @@型:整数
+Type: Integer
新たに挿入された行の行番号。RowNumber以下の行は、新しい行のためのスペースを確保するために下方にシフトされます。RowNumberがリストの行数より大きい場合(2147483647でも)、新しい行はリストの末尾に追加されます。
型:整数
+Type: Integer
This method returns the specified row number.
@@ -173,7 +173,7 @@型:整数
+Type: Integer
The number of the row to modify. If 0, all rows in the control are modified.
型:整数
+Type: Integer
If omitted, all rows in the ListView are deleted. Otherwise, specify the number of the row to delete.
型:整数
+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ではない)です。
型:整数
+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ではない)です。
型:整数
+Type: Integer
This method returns the new column's position number.
新しく挿入された列は、それが最初の列でない限り、その下に何もない状態で始まり、その場合、古い最初の列の内容を引き継ぎ、古い最初の列は空白の内容を獲得する。
@@ -296,7 +296,7 @@型:整数
+Type: Integer
The number of the column to delete. 列が削除されると、その右側にある列の列番号は1つ減らされます。その結果、LV.DeleteCol(2)
を2回呼び出すと、2列目と3列目が削除されます。
型:整数
+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 @@型:整数
+Type: Integer
省略された場合、または1未満の場合は、リストの先頭から検索を開始します。Otherwise, specify the number of the row after which to begin the search.
型:整数
+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 @@型:整数
+Type: Integer
テキストを取得する行の番号。If 0, the column header text is retrieved.
型:整数
+Type: Integer
省略された場合、デフォルトは1(1列目のテキスト)です。Otherwise, specify the number of the column where RowNumber is located.
型:整数
+Type: Integer
The ID number returned from a previous call to IL_Create.
型:整数
+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 @@型:整数
+Type: Integer
省略しゃれたときは、初期値は2です。Otherwise, specify the number of icons you expect to put into the list immediately.
型:整数
+Type: Integer
省略しゃれたときは、初期値は5です。Otherwise, specify the number of icons by which the list will grow each time it exceeds the current list capacity.
型:整数
+Type: Integer
On success, this function returns the unique ID of the newly created ImageList. On failure, it returns 0.
型:整数
+Type: Integer
The ID number returned from a previous call to IL_Create.
型:整数
+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)
.
型:整数
+Type: Integer
The mask/transparency color number. 0xFFFFFF (the color white) might be best for most pictures.
型:整数
+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.
型:整数
+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.
型:整数
+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)
型:整数
+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.
型:整数
+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で示されるアイコングループに複数のアイコンサイズが含まれる場合、最も近いサイズのアイコンを使用し、指定されたサイズに拡大縮小されます。
型:整数
+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.
型:整数
+Type: Integer
省略されたときは、プライマリモニタが使用されます。そうでないときは、1からMonitorGetCount関数で返された数までのモニターナンバーを指定します。
型:整数
+Type: Integer
この関数は、モニター番号を返します(Nが省略されない限り、Nと同じです)。
この関数にはパラメータがありません。
型:整数
+Type: Integer
この関数は、モニターの総数を返します。
型:整数
+Type: Integer
省略されたときは、プライマリモニタが使用されます。そうでないときは、1からMonitorGetCount関数で返された数までのモニターナンバーを指定します。
この関数にはパラメータがありません。
型:整数
+Type: Integer
この関数は、プライマリモニタの番号を返します。モニターが1つしかないときは、戻り値は1になるはずです。
型:整数
+Type: Integer
省略されたときは、プライマリモニタが使用されます。そうでないときは、1からMonitorGetCount関数で返された数までのモニターナンバーを指定します。
型:整数
+Type: Integer
この関数は、モニター番号を返します(Nが省略されない限り、Nと同じです)。
型:整数
+Type: Integer
省略された場合は、カーソルの現在位置が使用されます。Otherwise, specify the X and Y coordinates to which the mouse cursor is moved prior to clicking. 座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。Otherwise, specify the number of times to click the mouse button or turn the mouse wheel.
型:整数
+Type: Integer
省略されたときは、SetDefaultMouseSpeedで設定された速度(設定されていないときは2)が初期値として使用されます。そうでないときは、マウスを動かす速度を0(最速) から100(最低)の範囲で指定します。スピードを0にすると、マウスが瞬時に動きます。
SendInput/PlayモードではSpeedは無視され、マウスは瞬時に移動します(ただし、SetMouseDelayにはSendPlayに適用されるモードがあります)。デモンストレーション用のスクリプトのためなどにマウスを視覚的にゆっくりと動かすには、SendEvent "{Click 100 200}"
またはSendMode "Event"
を使用します(必要に応じてBlockInputと組み合わせてください)。
型:整数
+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.
型:整数
+Type: Integer
The X and Y coordinates to drag the mouse to (that is, while the button is held down). 座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
省略されたときは、SetDefaultMouseSpeedで設定された速度(設定されていないときは2)が初期値として使用されます。そうでないときは、マウスを動かす速度を0(最速) から100(最低)の範囲で指定します。スピードを0にすると、マウスが瞬時に動きます。
SendInput/PlayモードではSpeedは無視され、マウスは瞬時に移動します(ただし、SetMouseDelayにはSendPlayに適用されるモードがあります)。デモンストレーション用のスクリプトのためなどにマウスを視覚的にゆっくりと動かすには、SendEvent "{Click 100 200}"
またはSendMode "Event"
を使用します(必要に応じてBlockInputと組み合わせてください)。
型:整数
+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ではなく、コントロールのHWNDを OutputVarControlに格納します。
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 @@型:整数
+Type: Integer
XとYの座標にマウスを移動させます。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
省略されたときは、SetDefaultMouseSpeedで設定された速度(設定されていないときは2)が初期値として使用されます。そうでないときは、マウスを動かす速度を0(最速) から100(最低)の範囲で指定します。スピードを0にすると、マウスが瞬時に動きます。
SendInput/PlayモードではSpeedは無視され、マウスは瞬時に移動します(ただし、SetMouseDelayにはSendPlayに適用されるモードがあります)。デモンストレーション用のスクリプトのためなどにマウスを視覚的にゆっくりと動かすには、SendEvent "{Click 100 200}"
またはSendMode "Event"
を使用します(必要に応じてBlockInputと組み合わせてください)。
型:整数
+Type: Integer
空白または省略したとき、または2パラメータモードのときの初期値は0になります。そうでなければ、ソースアドレスを決定するためにSourceに追加するオフセットをバイト単位で指定します。
型:整数
+Type: Integer
保存する番号です。
型:整数
+Type: Integer
省略したときの初期値は0です。そうでないときは、ターゲットアドレスを決定するためにTargetに追加されるオフセットをバイト単位で指定します。
型:整数
+Type: Integer
この関数は、最後に書き込まれた項目の右側のアドレスを返します。DllCallで使用する構造体のように、一部のフィールドが設定されていない、連続しない数値列を記述する場合に使用できます。しかし、多くの場合、代わりに複数のTypeとNumberのペアを指定する方がシンプルで効率的です。NumPutにアドレスを返すのは、Offsetを更新したBufferのようなオブジェクトを渡すよりも安全性に欠けます。
型:整数
+Type: Integer
アンマネージドオブジェクトポインタまたはCOMインターフェイスポインタです。
型:整数
+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 @@型:整数
+Type: Integer
省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。それ以外の場合は、次のいずれかの番号を指定してください:
型:整数
+Type: Integer
監視または問い合わせるメッセージの番号で、0から4294967295(0xFFFFFFF)の間でなければなりません。システムメッセージ(つまり0x0400以下のもの)を監視したくない場合は、選択の余地がある範囲で4096(0x1000)より大きい数字を選ぶとよいでしょう。これにより、AutoHotkeyの現在および将来のバージョンで内部的に使用されるメッセージに干渉する可能性を低減することができます。
型:整数
+Type: Integer
If omitted, it defaults to 1, meaning the callback is limited to one thread at a time. This is usually best because otherwise, the script would process messages out of chronological order whenever the callback interrupts itself. そのため、MaxThreadsの代替として、以下のようにCriticalを使用することを検討します。
If the callback directly or indirectly causes the message to be sent again while the callback is still running, it is necessary to specify a MaxThreads value greater than 1 or less than -1 to allow the callback to be called for the new message (if desired). スクリプトの自プロセスが自分自身に送信する(投稿しない)メッセージは、遅延やバッファリングができません。
Specify 0 to unregister the previously registered callback identified by Callback.
diff --git a/target/docs/lib/Ord.htm b/target/docs/lib/Ord.htm index 218630ef..44503002 100644 --- a/target/docs/lib/Ord.htm +++ b/target/docs/lib/Ord.htm @@ -27,7 +27,7 @@型:整数
+Type: Integer
この関数は、Stringの序数値を返し、Stringが空の場合は0を返します。StringがUnicode補助文字で始まるときは、対応するUnicode文字コード(0x10000から0x10FFFFの間の数値)を返します。そうでなければ、0~0xFF(ANSIの場合)または0~0xFFFF(Unicodeの場合)の範囲内の値を返します。詳しくは、Unicode vs ANSIをご覧ください。
型:整数
+Type: Integer
省略された場合、現在のスレッドは一時停止されます。そうでないときは、次のいずれかの値を指定します:
1
or True
: Marks the underlying thread as paused. The current thread is not paused and continues running. When the current thread finishes, the underlying thread resumes any interrupted function the underlying thread was running. Once the underlying thread finishes the function (if any), it enters a paused state. If there is no thread underneath the current thread, the script itself is paused, which prevents timers from running (this effect is the same as having used the menu item "Pause Script" while the script has no threads).
0
または False
:基礎となるスレッドの一時停止を解除します。
型:整数
+Type: Integer
画素の X 座標と Y 座標を指定します。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
検索する矩形の開始角のX、Y座標。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
検索する矩形の終了角のX、Y座標。座標は、CoordMode関数を使用して変更した場合を除いて、アクティブウィンドウのクライアント領域を基準にしています。
型:整数
+Type: Integer
検索するカラーIDを指定します。これは通常、赤緑青(RGB)形式の16進数で表現されます。事例:0x9d6346
。カラーIDは、Window Spy(トレイメニューからアクセス可能)またはPixelGetColorを使用して決定することができます。
型:整数
+Type: Integer
省略したときの初期値は0です。Otherwise, specify a number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either direction for the intensity of the red, green, and blue components of the color. 例えば、2が指定され、ColorIDが0x444444の場合、0x424242から0x464646までのすべての色が一致するとみなされます。このパラメータは、求める色が常に全く同じ色合いでない場合に有効です。255色のバリエーションを指定した場合、すべての色が一致します。
型:整数
+Type: Integer
送信するメッセージ番号です。メッセージリストを参照して番号を決定してください。
型:整数
+Type: Integer
どちらかを省略したときは、0を送信します。そうでなければ、メッセージの1番目と2番目のコンポーネントを指定します。
各パラメータは整数値でなければなりません。
AutoHotkeyまたはターゲットウィンドウが32ビットの場合、パラメータの下位32ビットのみが使用されます。つまり、符号付き値の場合は-2147483648~2147483647(-0x80000000~0x7FFFFFFF)、符号なし値の場合は0~4294967295(0xFFFFFF)範囲外の場合は値が切り捨てられます。AutoHotkeyとターゲットウィンドウの両方が64ビットである場合、AutoHotkeyがサポートする任意の整数値を使用することができます。
diff --git a/target/docs/lib/ProcessClose.htm b/target/docs/lib/ProcessClose.htm index e1645b42..a6004201 100644 --- a/target/docs/lib/ProcessClose.htm +++ b/target/docs/lib/ProcessClose.htm @@ -29,7 +29,7 @@型:整数
+Type: Integer
説明: 指定されたプロセスのプロセスID(PID)を返します。一致するプロセスが見つからなかったり、操作できなかったりした場合は、0を返します。
型:整数
+Type: Integer
説明: 指定されたプロセスのプロセスID(PID)を返します。一致する処理がない場合は、0が返されます。
型:整数
+Type: Integer
説明: 指定されたプロセスを作成したプロセスのプロセス ID(PID)を返します。
型:整数
+Type: Integer
説明: 指定されたプロセスのプロセスID(PID)を返します。一致するプロセスが見つからなかったり、操作できなかったりした場合は、0を返します。
省略した場合は、無期限に待機します。それ以外の場合は、タイムアウトまでの待ち時間を秒数(小数点以下)で指定します。
+省略したときは、無期限に待機します。それ以外の場合は、タイムアウトまでの待ち時間を秒数(小数点以下)で指定します。
型:整数
+Type: Integer
指定されたプロセスが発見された場合、そのプロセスのプロセス ID(PID)を返す。関数がタイムアウトした場合は、0が返されます。
省略した場合は、無期限に待機します。それ以外の場合は、タイムアウトまでの待ち時間を秒数(小数点以下)で指定します。
+省略したときは、無期限に待機します。それ以外の場合は、タイムアウトまでの待ち時間を秒数(小数点以下)で指定します。
型:整数
+Type: Integer
一致するすべてのプロセスが終了している場合は、0が返されます。この関数がタイムアウトした場合、まだ存在する最初のマッチングプロセスのプロセスID(PID)を返します。
型:整数
+Type: Integer
If omitted, it defaults to 1 (the beginning of Haystack). それ以外の場合は、2文字目から始める場合は2、3文字目から始める場合は3、といった具合に指定します。StartingPosが Haystackの長さを超えている場合、Haystackの末尾にある空の文字列から検索を開始します(通常、一致しない結果になります)。
負のStartingPosを指定すると、その位置で右からスタートする。例えば、-1は最後の文字から、-2はその次の文字から始まります。StartingPosが Haystackの左端を越えようとした場合、Haystackの全てが検索される。
0を指定すると、Haystackの末尾、つまり最後の文字の右側の位置から開始します。これは、(?<=a)
のようなゼロ幅のアサーションで使用することができます。
型:整数
+Type: Integer
この関数は、文字列Haystackの中でNeedleRegExが最も左側に出現する位置を返します。ポジション1が最初の文字です。パターンが見つからない場合は0が返される。
型:整数
+Type: Integer
省略すると、初期値は-1となってHaystack で見つかったすべてが置き換えられます。そうでないときは、置換を許可する最大数を指定します。ヘイスタックの右側はそのまま。
型:整数
+Type: Integer
If omitted, it defaults to 1 (the beginning of Haystack). それ以外の場合は、2文字目から始める場合は2、3文字目から始める場合は3、といった具合に指定します。StartingPosが Haystackの長さを超えている場合、Haystackの末尾にある空の文字列から検索を開始します(通常、置換されない結果になります)。
負のStartingPosを指定すると、その位置で右からスタートする。例えば、-1は最後の文字から、-2はその次の文字から始まります。StartingPosが Haystackの左端を越えようとした場合、Haystackの全てが検索される。
0を指定すると、Haystackの末尾、つまり最後の文字の右側の位置から開始します。これは、(?<=a)
のようなゼロ幅のアサーションで使用することができます。
型:整数
+Type: Integer
RunWaitはRunと異なり、Targetがクローズされるか終了するまで待機し、その時の戻り値はプログラムの終了コード(符号付き32ビット整数)となります。プログラムによっては、まだ実行中であるにもかかわらず、すぐに戻ってくるように見えるものがありますが、これは別のプロセスを生成するものです。
ホットキーやホットストリングで、どの人工的なキーボードやマウスイベントを無視するかを制御します。
+ホットキーとホットストリングが、どの人工的なキーボードやマウスイベントを無視するかを制御します。
SendLevel Level
型:整数
+Type: Integer
0~100の整数値です。
型:整数
+Type: Integer
This function returns the previous setting; an integer between 0 and 100.
型:整数
+Type: Integer
送信するメッセージ番号です。メッセージリストを参照して番号を決定してください。
型:整数
+Type: Integer
省略したときの初期値は5000です。Otherwise, specify the maximum number of milliseconds to wait for the target window to process the message. この時間内にメッセージが処理されない場合、TimeoutErrorが投げられます。Specify 0 to wait indefinitely. A negative number causes SendMessage to time out immediately.
型:整数
+Type: Integer
この関数はメッセージの結果を返します。メッセージの性質やターゲットウィンドウによっては、「返信」となる場合があります。
設定可能な値の範囲は、ターゲットウィンドウと実行中のAutoHotkeyのバージョンに依存します。32ビット版のAutoHotkeyを使用している場合、またはターゲットウィンドウが32ビットの場合、結果は0~4294967295の32ビット符号なし整数になります。64ビット版AutoHotkeyを64ビットウィンドウで使用する場合、結果は-9223372036854775808から9223372036854775807の間の64ビット符号付き整数となります。
結果が32ビット符号付き整数(-2147483648から2147483648までの値)を意図している場合、次のように32ビットに切り捨てて符号付き値に変換することができます:
diff --git a/target/docs/lib/SetControlDelay.htm b/target/docs/lib/SetControlDelay.htm index ffdf401d..fa5ae3d3 100644 --- a/target/docs/lib/SetControlDelay.htm +++ b/target/docs/lib/SetControlDelay.htm @@ -20,14 +20,14 @@型:整数
+Type: Integer
ミリ秒単位の時間。遅延が全くない場合は-1、可能な限り小さい場合は0を指定する。
型:整数
+Type: Integer
前の設定に戻す機能です。
型:整数
+Type: Integer
マウスを動かす速度を0(最速)~100(最遅)の範囲で指定します。スピードを0にすると、マウスが瞬時に動きます。
型:整数
+Type: Integer
前の設定に戻す機能です。
型:整数
+Type: Integer
If omitted, the current delay is retained. Otherwise, specify the time in milliseconds. 全く遅延させないときは-1を指定し、可能な限り最小の遅延を認めるときは0を指定します。ただし、Playパラメータが存在する場合は、0と-1の両方で遅延は発生しません。
型:整数
+Type: Integer
ゲームなどの特殊なアプリケーションでは、キーを押した後、離すまでの間に遅延が必要な場合があります。
If omitted, the current press duration is retained. Otherwise, specify the time in milliseconds. 全く遅延させないときは-1を指定し、可能な限り最小の遅延を認めるときは0を指定します。ただし、Playパラメータが存在する場合は、0と-1の両方で遅延は発生しません。
注意:PressDurationは、送信されるキーをサポートするために必要な修飾キー状態(Ctrl、Alt、Shift、Win)の変更後にも遅延を発生させることができます。
diff --git a/target/docs/lib/SetMouseDelay.htm b/target/docs/lib/SetMouseDelay.htm index dd5c19b9..e48ce104 100644 --- a/target/docs/lib/SetMouseDelay.htm +++ b/target/docs/lib/SetMouseDelay.htm @@ -20,7 +20,7 @@型:整数
+Type: Integer
ミリ秒単位の時間。全く遅延させないときは-1を指定し、可能な限り最小の遅延を認めるときは0を指定します。ただし、Playパラメータが存在する場合は、0と-1の両方で遅延は発生しません。
型:整数
+Type: Integer
前の設定に戻す機能です。
型:整数
+Type: Integer
If omitted and the timer does not exist, it will be created with a period of 250. If omitted and the timer already exists, it will be reset at its former period unless Priority is specified. Otherwise, the absolute value of this parameter is used as the approximate number of milliseconds that must pass before the timer is executed. タイマーは自動的にリセットされます。自動で繰り返す設定や、1回だけ実行する設定も可能です:
型:整数
+Type: Integer
省略したときの初期値は0です。Otherwise, specify an integer between -2147483648 and 2147483647 (or an expression) to indicate this timer's thread priority. 詳しくは「スレッド」をご覧ください。
既存のタイマーの優先順位を変更する場合、他の方法で影響を与えることなく、Periodを省略します。
型:整数
+Type: Integer
ミリ秒単位の時間。遅延が全くない場合は-1、可能な限り小さい場合は0を指定する。
型:整数
+Type: Integer
前の設定に戻す機能です。
型:整数
+Type: Integer
以下の数字の組み合わせ(合計):
型:整数
+Type: Integer
0から2147483647(24日間)の間の休止時間(ミリ秒)。
型:整数
+Type: Integer
省略されたときは、初期値は 523 です。それ以外の場合は、音の周波数を37から32767の間で指定する。
型:整数
+Type: Integer
省略しゃれたときは、初期値は150です。それ以外の場合は、音の長さをミリ秒単位で指定します。
型:整数
+Type: Integer
成功した場合の戻り値はインターフェース・ポインターである。
インターフェイスがサポートされていない場合、戻り値は0である。
diff --git a/target/docs/lib/SoundSetMute.htm b/target/docs/lib/SoundSetMute.htm index cdd1e2b8..cc204e4c 100644 --- a/target/docs/lib/SoundSetMute.htm +++ b/target/docs/lib/SoundSetMute.htm @@ -21,7 +21,7 @@型:整数
+Type: Integer
以下のいずれかの値:
1
またはTrue
で設定をオンにします型:整数
+Type: Integer
省略されたときは、初期値は1になります。それ以外の場合は、検索するバーの品番を指定する。
省略した場合は、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
+省略したときは、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
型:整数
+Type: Integer
省略されたときは、初期値は1になります。それ以外の場合は、検索するバーの品番を指定する。
型:整数
+Type: Integer
省略しゃれたときは、初期値は50です。それ以外の場合は、関数が待機している間にステータス・バーをチェックする頻度を指定する(ミリ秒単位)。
型:整数
+Type: Integer
String1とString2の関係を示すために、この関数は以下のいずれかを返す:
型:整数
+Type: Integer
If omitted (or when using 2-parameter mode), it defaults to the current length of the string, provided the string is null-terminated. それ以外の場合は、読み込む最大文字数を指定する。
デフォルトでは、StrGetは最初のバイナリ・ゼロまでしかコピーしない。Lengthが負の場合、その絶対値は、文字列に含まれる可能性のある2進数のゼロを含め、変換する文字数を正確に示します。
注:文字列がヌル終端でない場合にLengthを省略すると、アクセス違反が発生し、プロ グラムが終了するなどの望ましくない結果を引き起こす可能性があります。正しくない長さを指定すると、予期せぬ動作をすることがある。
diff --git a/target/docs/lib/StrLen.htm b/target/docs/lib/StrLen.htm index efc75547..99397f5c 100644 --- a/target/docs/lib/StrLen.htm +++ b/target/docs/lib/StrLen.htm @@ -24,7 +24,7 @@型:整数
+Type: Integer
この関数は、指定された文字列の長さを返します。
型:整数
+Type: Integer
この関数は、Valueの現在のメモリアドレスを返す。
型:整数
+Type: Integer
The maximum number of characters to write, including the null-terminator if required.
Lengthがゼロか、変換後の投影長(変換が不要な場合はソース文字列の長さ)より小さい場合、例外がスローされる。
Length must not be omitted when Target is a plain memory address, unless the buffer size is known to be sufficient, such as if the buffer was allocated based on a previous call to StrPut with the same String and Encoding.
@@ -57,7 +57,7 @@型:整数
+Type: Integer
In 4- or 3-parameter mode, this function returns the number of bytes written. A null-terminator is written and included in the return value only when there is sufficient space; that is, it is omitted when Length or Target.Size
(multiplied by the size of a character) exactly equals the length of the converted string.
In 2-parameter mode, this function returns the required buffer size in bytes, including space for the null-terminator.
diff --git a/target/docs/lib/StrReplace.htm b/target/docs/lib/StrReplace.htm index 5a16ef66..ac190071 100644 --- a/target/docs/lib/StrReplace.htm +++ b/target/docs/lib/StrReplace.htm @@ -52,7 +52,7 @@型:整数
+Type: Integer
省略すると、初期値は-1となってHaystack で見つかったすべてが置き換えられます。そうでないときは、置換を許可する最大数を指定します。ヘイスタックの右側はそのまま。
型:整数
+Type: Integer
If omitted, it defaults to -1, which means "no limit". そうでない場合は、返す部分文字列の最大数を指定する。0でない場合、文字列は最大MaxParts-1回分割され、文字列の残りが最後の部分文字列として返される(先頭または末尾のOmitCharsを除く)。
型:整数
+Type: Integer
1文字目から始める場合は1、2文字目から始める場合は2、と指定する。StartingPosが0またはStringの長さを超えている場合、空の文字列が返される。
負のStartingPosを指定すると、その位置で右からスタートする。例えば、-1は最後の1文字を抽出し、-2は最後の2文字を抽出する。StartingPosが文字列の左端を超えようとすると、抽出は最初の文字から始まる。
型:整数
+Type: Integer
省略したときは、"全ての文字"が初期値になります。そうでない場合は、取得する最大文字数を指定する(文字列の残りの部分が短すぎる場合は常に、最大文字数より少ない文字数が取得される)。
また、負のLengthを指定すると、返される文字列の末尾からその文字数だけ文字列を省略することができます(すべての文字が省略された場合、または文字数が多すぎる場合は、空の文字列が返されます)。
型:整数
+Type: Integer
省略したときの初期値は-1です。そうでないときは、次のいずれかの値を指定します:
1
または True
:備考セクションで説明した以外のすべてのホットキーと ホットストリングを一時停止します。
0
または False
:上記で無効にしたホットキーとホットストリングを再度有効にします。
型:整数
+Type: Integer
以下の表からいずれかの数値を指定し、対応する値を取得する。
型:整数
+Type: Integer
この関数は、指定されたシステム・プロパティの値を返す。
型:整数
+Type: Integer
If omitted, the tooltip will be shown near the mouse cursor. それ以外の場合は、アクティブ・ウィンドウのクライアント領域に対するツールチップのXとYの位置を指定する(スクリーン座標に変更するにはCoordMode "ToolTip"
を使用する)。
型:整数
+Type: Integer
If omitted, it defaults to 1 (the first tooltip). そうでない場合は、複数のツールチップを同時に使用するときに、どのツールチップを操作するかを示すために、1から20までの数値を指定する。
型:整数
+Type: Integer
ツールチップが表示または更新されている場合、この関数はツールチップウィンドウの一意のID(HWND)を返し、ツールチップを移動したり、ツールチップコントロールメッセージを送信したりするのに使用できる。
If Text is blank or omitted, the return value is zero.
diff --git a/target/docs/lib/TraySetIcon.htm b/target/docs/lib/TraySetIcon.htm index 1a458654..07860c64 100644 --- a/target/docs/lib/TraySetIcon.htm +++ b/target/docs/lib/TraySetIcon.htm @@ -28,7 +28,7 @@型:整数
+Type: Integer
If omitted, it defaults to 1 (the first icon group in the file). それ以外の場合は、使用するアイコングループの番号を指定する。例えば、2
は2番目のアイコングループからデフォルトのアイコンをロードする。負の場合、絶対値は実行ファイル内のアイコンのリソースIDとみなされる。If FileName is omitted, IconNumber is ignored.
型:整数
+Type: Integer
If omitted, it defaults to 0, meaning the item will be added at the top level. Otherwise, specify the ID number of the new item's parent.
型:整数
+Type: Integer
On success, this method returns the unique ID number of the newly added item. On failure, it returns 0.
多数のアイテムを追加する場合、アイテムを追加する前にTV.Opt("-Redraw")
を使用し、その後にTV.Opt("+Redraw")
を使用することでパフォーマンスを向上させることができる。詳細は「再描画」を参照。
型:整数
+Type: Integer
This method returns the item's own ID.
@@ -163,7 +163,7 @@型:整数
+Type: Integer
省略された場合、TreeViewのすべてのアイテムが削除されます。Otherwise, specify the ID number of the item to delete.
選択された項目の ID 番号を返します。
ItemID := TV.GetSelection()
型:整数
+Type: Integer
This method returns the selected item's ID number.
@@ -183,7 +183,7 @@コントロール内の項目の総数を返します。
Count := TV.GetCount()
型:整数
+Type: Integer
This method returns the total number of items in the control. The value is always returned immediately because the control keeps track of the count.
@@ -195,12 +195,12 @@型:整数
+Type: Integer
This method returns the ID number of the specified item's parent. If the item has no parent, it returns 0, which applies to all top-level items.
@@ -212,12 +212,12 @@型:整数
+Type: Integer
The ID number of the item to check. If 0, the ID number of the first/top item in the TreeView is returned.
型:整数
+Type: Integer
This method returns the ID number of the specified item's first/top child. If there is no child, it returns 0.
@@ -228,12 +228,12 @@型:整数
+Type: Integer
This method returns the ID number of the sibling above the specified item. If there is no sibling, it returns 0.
@@ -245,7 +245,7 @@型:整数
+Type: Integer
This method returns the ID number of the next item below the specified item. If there is no next item, it returns 0.
次の例は、ツリー全体を項目ごとに走査するものである:
@@ -280,7 +280,7 @@型:整数
+Type: Integer
If the specified item has the specified attribute, its own ID is returned. Otherwise, 0 is returned.
Since an IF-statement sees any non-zero value as "true", the following two lines are functionally identical: if TV.Get(ItemID, "Checked") = ItemID
and if TV.Get(ItemID, "Checked")
.
型:整数
+Type: Integer
The ID number returned from a previous call to IL_Create.
型:整数
+Type: Integer
省略したときの初期値は0です。Otherwise, specify 2 for state icons (which are not yet directly supported, but could be used via SendMessage).
型:整数
+Type: Integer
On success, this method returns the ImageList ID that was previously associated with the TreeView. On failure, it returns 0. このような切り離されたImageListは、通常IL_Destroyで破棄する必要があります。
diff --git a/target/docs/lib/VarSetStrCapacity.htm b/target/docs/lib/VarSetStrCapacity.htm index c297c80d..b05818f1 100644 --- a/target/docs/lib/VarSetStrCapacity.htm +++ b/target/docs/lib/VarSetStrCapacity.htm @@ -27,7 +27,7 @@型:整数
+Type: Integer
省略されたときは、変数の現在の容量が返され、その内容は変更されません。そうでなければ、現在変数に入っているものはすべて失われます(変数は空白になります)。
RequestedCapacityには、調整後に変数が保持できる文字数を指定する。RequestedCapacityには内部ゼロターミネータは含まれない。例えば、1を指定すると、内部ターミネーターに加えて1文字まで保持することができる。注:この変数は、スクリプトが後で大きな値を代入した場合に自動的に拡張されます。
この関数は、単に変数の最小容量を確保するために呼ばれることが多いので、パフォーマンス上の理由から、RequestedCapacityが0のときだけ変数を縮小する。言い換えれば、変数の容量がすでにRequestedCapacityより大きい場合、それは減少しない(しかし、一貫性のために変数はまだ空白にされる)。
@@ -40,7 +40,7 @@型:整数
+Type: Integer
この関数は、TargetVarが現在保持できる文字数を返し、これはRequestedCapacity以上となる。
型:整数
+Type: Integer
この関数は、アクティブウィンドウが指定された条件に一致する場合はそのユニークID(HWND)を返し、一致しない場合は0を返す。
0以外の数値はすべて「true」とみなされるため、if WinActive(WinTitle)
というステートメントは、WinTitleがアクティブであればいつでもtrueとなる。
型:整数
+Type: Integer
この関数は、最初にマッチしたウィンドウのユニークID(HWND)を返す(何もなければ0)。
ゼロでない数字はすべて「true」とみなされるため、WinTitleが存在するときはいつでも、if WinExist(WinTitle)
というステートメントは真となる。
型:整数
+Type: Integer
この関数は、指定した条件に合致するウィンドウの数を返します。一致するウィンドウがないときは、0を返します。
型:整数
+Type: Integer
この関数は、指定されたウィンドウのウィンドウハンドル(HWND)を返します。
型:整数
+Type: Integer
一致するウィンドウが複数あるときは、この関数は最後または一番下のウィンドウのウィンドウハンドル(HWND)を返します。
型:整数
+Type: Integer
指定されたウィンドウの現在の状態を示す数字を返します:
型:整数
+Type: Integer
指定されたプロセスのプロセスID(PID)を返します。
型:整数
+Type: Integer
これらの関数は、指定されたウィンドウのスタイルまたは拡張スタイル(それぞれ)を返します。マッチするウィンドウがないときは、空文字列が返されます。
型:整数
+Type: Integer
If either is omitted, the position in that dimension will not be changed. Otherwise, specify the X and Y coordinates (in pixels) of the upper left corner of the target window's new location. 画面左上のピクセルは0, 0にある。
型:整数
+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).
型:整数
+Type: Integer
省略されたときは、初期値は 1 です。そうでないときは、次のいずれかの値を指定します:
1
またはTrue
で設定をオンにします型:整数
+Type: Integer
以下のいずれかの値:
1
またはTrue
で設定をオンにします省略した場合は、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
+省略したときは、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
型:整数
+Type: Integer
この関数は、一致するウィンドウが見つかればそのHWND(ユニークID)を返し、タイムアウトした場合は0を返す。
省略した場合は、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
+省略したときは、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
省略した場合は、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
+省略したときは、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1秒未満の時間を待機するには、浮動小数点数を指定します。たとえば最大250ミリ秒待機するときは、0.25と指定します。
型:整数
+Type: Integer
インターバルの長さをミリ秒単位で指定します。無限に試行し続ける場合は-1を指定します。0を指定すると、1回だけ試行します。
型:整数
+Type: Integer
グローバルに適用するタイムアウト値(ミリ秒単位)。
ホットキーやホットストリングで、どの人工的なキーボードやマウスイベントを無視するかを制御します。
+ホットキーとホットストリングが、どの人工的なキーボードやマウスイベントを無視するかを制御します。
#InputLevel Level
型:整数
-省略したときの初期値は0です。Otherwise, specify an integer between 0 and 100.
+Type: Integer
+省略したときの初期値は0です。そうでなければ、0から100までの整数を指定します。
このディレクティブがスクリプトで指定されていないときは、0に設定されているとみなされます。
SendLevel、#InputLevelの使用方法については、SendLevelをご覧ください。
-この指令は位置指定:は、次の#InputLevel指令との間のすべてのホットキーとホットストリングに影響します。#InputLevelディレクティブで指定されていない場合、ホットキーとホットストリングのデフォルトはレベル0になります。
-ホットキーの入力レベルは、ホットキー機能を使って設定することもできます。For example: Hotkey "#z", my_hotkey_sub, "I1"
このディレクティブは次の#InputLevelディレクティブまでの間にあるすべてのホットキーとホットストリングに影響します。#InputLevelディレクティブで指定されていないときは、ホットキーとホットストリングのデフォルトはレベル0になります。
+ホットキーの入力レベルは、ホットキー機能を使って設定することもできます。例:Hotkey "#z", my_hotkey_sub, "I1"
ホットキーまたは自動置換でないホットストリングの入力レベルは、そのホットキーまたはホットストリングによって生成されるすべてのキーストロークまたはボタンクリックのデフォルト送信レベルとしても使用されます。キーボードやマウスのリマッピングは実際には一対のホットキーであるため、#InputLevelを使用してリマッピングが他のホットキーをトリガーできるようにすることができます。
v1.1.06より古いバージョンのAutoHotkeyは、#InputLevel 0
と SendLevel 0
が有効であるかのように動作します。
他のディレクティブと同様に、#InputLevelは条件付きで実行することはできません。
diff --git a/target/docs/lib/_MaxThreads.htm b/target/docs/lib/_MaxThreads.htm index 66954e09..70e83d2a 100644 --- a/target/docs/lib/_MaxThreads.htm +++ b/target/docs/lib/_MaxThreads.htm @@ -20,7 +20,7 @@型:整数
+Type: Integer
同時に存在できるスレッドの最大総数です。255より大きい数値を指定しても、255を指定したのと同じになります。
型:整数
+Type: Integer
指定したホットキー/ホットストリングサブルーチンで起動できるスレッドの最大数(上限255)です。