diff --git a/target/Project.hhp b/target/Project.hhp index 21a070a51..071e3ec3e 100644 --- a/target/Project.hhp +++ b/target/Project.hhp @@ -7,11 +7,11 @@ Default topic=docs\index.htm Display compile progress=No Full-text search=Yes Index file=Index.hhk -Language=0x409 English (United States) -Title=AutoHotkey v2 Help +Language=0x411 Japanese +Title=AutoHotkey v2 ƒwƒ‹ƒv [WINDOWS] -Contents="AutoHotkey v2 Help",,,"docs\index.htm","docs\index.htm",,,,,0x73500,,0x10200e,[200,0,1080,700],,,,,3,,0 +Contents="AutoHotkey v2 ƒwƒ‹ƒv",,,"docs\index.htm","docs\index.htm",,,,,0x73500,,0x10200e,[200,0,1080,700],,,,,3,,0 [FILES] diff --git a/target/docs/AHKL_DBGPClients.htm b/target/docs/AHKL_DBGPClients.htm index 5915c1861..472d4f3fd 100644 --- a/target/docs/AHKL_DBGPClients.htm +++ b/target/docs/AHKL_DBGPClients.htm @@ -106,19 +106,19 @@

Notepad++ DBGpプラグイン

スクリプトベースクライアント

スクリプトベースã®DBGpライブラリã¨ã‚µãƒ³ãƒ—ルクライアントã¯ã€GitHubã‹ã‚‰å…¥æ‰‹å¯èƒ½ã§ã™ã€‚

-

GitHub: Lexikos / dbgp

+

GitHub:Lexikos / dbgp

DebugVarsスクリプトã¯ã€å®Ÿè¡Œä¸­ã®ã‚¹ã‚¯ãƒªãƒ—ト(コンパイル済ã¿ã‚¹ã‚¯ãƒªãƒ—トを除ã)ã®å¤‰æ•°ã‚„オブジェクトã®å†…容を検査ã—ãŸã‚Šå¤‰æ›´ã—ãŸã‚Šã™ã‚‹ãŸã‚ã®ã‚°ãƒ©ãƒ•ã‚£ã‚«ãƒ«ãƒ¦ãƒ¼ã‚¶ãƒ¼ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ã‚¤ã‚¹ã‚’æä¾›ã—ã¾ã™ã€‚ã¾ãŸã€dbgp.ahkライブラリã®ãƒ‡ãƒ¢ã‚‚å…¼ã­ã¦ã„ã¾ã™ã€‚

-

GitHub: Lexikos / DebugVars

+

GitHub:Lexikos / DebugVars

コマンドラインクライアント

コマンドラインクライアントã¯xdebug.orgã‹ã‚‰å…¥æ‰‹å¯èƒ½ã§ã™ãŒã€DBGp(プロトコル)をå分ã«ç†è§£ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ãŸã‚ã€ã»ã¨ã‚“ã©ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«ã¯é©ã—ã¦ã„ã¾ã›ã‚“。

ãã®ä»–

-

ä»–ã«ã‚‚多ãã®DBGpクライアントãŒã‚ã‚Šã¾ã™ãŒã€AutoHotkeyã§ã®å‹•ä½œç¢ºèªã¯ã—ã¦ã„ã¾ã›ã‚“。For a list, see Xdebug: Documentation.

+

ä»–ã«ã‚‚多ãã®DBGpクライアントãŒã‚ã‚Šã¾ã™ãŒã€AutoHotkeyã§ã®å‹•ä½œç¢ºèªã¯ã—ã¦ã„ã¾ã›ã‚“。一覧ã¯ã€Xdebugã‚’ã”覧ãã ã•ã„。ドキュメンテーション.

diff --git a/target/docs/ChangeLog.htm b/target/docs/ChangeLog.htm index aaf05f6b3..d49ccf0bb 100644 --- a/target/docs/ChangeLog.htm +++ b/target/docs/ChangeLog.htm @@ -24,12 +24,12 @@

2.0.14 - 2024年5月6日

メニューãƒãƒƒãƒ—アップãŒè¡¨ç¤ºã•ã‚ŒãŸã¨ãã«ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トã®ä¿¡é ¼æ€§ãŒå‘上ã—ã¾ã—ãŸã€‚

デãƒãƒƒã‚¬ã®æ”¹è‰¯ -

Fixed stdout/stderr packets sent during the processing of another command to not corrupt the pending response.

-

Fixed property_get -n <exception>.message and similar.

-

Fixed corrupted results from property_get when a property returns a temporary object with a string, such as x.y.z where y => {z:"a"}.

-

Fixed crashes when an asynchronous command is received during the processing of another command.

-

Fixed exceptions not being deleted after they are suppressed via property_set.

-

Fixed property_get -c 0 -d 0 to allow global variables, as already allowed by -d 1.

+

ä¿ç•™ä¸­ã®ãƒ¬ã‚¹ãƒãƒ³ã‚¹ã‚’別ã®ã‚³ãƒžãƒ³ãƒ‰ã®å‡¦ç†ä¸­ã«é€ä¿¡ã•ã‚Œã‚‹stdout/stderrパケットãŒæãªã‚ãªã„よã†ã«ä¿®æ­£ã—ã¾ã—ãŸã€‚

+

property_get -n <exception>.messageãªã©ã‚’修正ã—ã¾ã—ãŸã€‚

+

プロパティãŒx.y.z where y => {z:"a"}ã®ã‚ˆã†ãªæ–‡å­—列をå«ã‚€ãƒ†ãƒ³ãƒãƒ©ãƒªã‚ªãƒ–ジェクトを返ã™ã¨ãã«ã€property_getãŒè¿”ã™çµæžœã®ä¸å…·åˆã‚’修正ã—ã¾ã—ãŸã€‚

+

コマンドã®å‡¦ç†ä¸­ã«åˆ¥ã®éžåŒæœŸã‚³ãƒžãƒ³ãƒ‰ã‚’å—ä¿¡ã™ã‚‹ã¨ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ã—ã¦ã—ã¾ã†å•é¡Œã‚’修正ã—ã¾ã—ãŸã€‚

+

例外ãŒproperty_setã«ã‚ˆã£ã¦æŠ‘制ã•ã‚ŒãŸå¾Œã«å‰Šé™¤ã•ã‚Œãªã„å•é¡Œã‚’修正ã—ã¾ã—ãŸã€‚

+

property_get -c 0 -d 0ãŒ-d 1ã§æ—¢ã«è¨±å¯ã•ã‚Œã¦ã„るよã†ã«ã‚°ãƒ­ãƒ¼ãƒãƒ«å¤‰æ•°ã‚’使用ã§ãるよã†ã«ã‚’修正ã—ã¾ã—ãŸã€‚

Fixed property_get paging enumerated items incorrectly.

Improved property_get to support property getters with one parameter (previously only the implicit __Item property supported this).

@@ -234,9 +234,9 @@

2.0.1 - 2023年1月1日

プレリリース

v2.0.0リリース以å‰ã®å¤‰æ›´å±¥æ­´ã¯ã€ä»¥ä¸‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„(ãŸã ã—ã€ä¸€éƒ¨ã®å¤‰æ›´ã¯ä¸Šæ›¸ãã•ã‚Œã¦ã„ã‚‹ã“ã¨ã«ã”注æ„ãã ã•ã„)。

\ No newline at end of file diff --git a/target/docs/Compat.htm b/target/docs/Compat.htm index 0bf042c6d..43d6c3ce6 100644 --- a/target/docs/Compat.htm +++ b/target/docs/Compat.htm @@ -26,7 +26,7 @@

ãƒã‚¤ãƒŠãƒªäº’æ›æ€§

ユニコードã¨ANSIã®æ¯”較

-

Note: This section builds on topics covered in other parts of the documentation: Strings, String Encoding.

+

注:ã“ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ä»–ã®éƒ¨åˆ†ã§ã‚«ãƒãƒ¼ã•ã‚Œã¦ã„るトピックを構築ã—ã¦ã„ã¾ã™ã€‚文字列ã€æ–‡å­—列ã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã€‚

文字列(テキスト値)ã®ä¸­ã§ã€å„文字ã®æ•°å€¤æ–‡å­—コードã¨ã‚µã‚¤ã‚ºï¼ˆãƒã‚¤ãƒˆæ•°ï¼‰ã¯ã€æ–‡å­—列ã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã«ä¾å­˜ã—ã¾ã™ã€‚ã“れらã®è©³ç´°ã¯ã€é€šå¸¸ã€æ¬¡ã®ã„ãšã‚Œã‹ã‚’実行ã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トã§é‡è¦ã§ã™ã€‚

@@ -186,19 +186,19 @@

コマンドラインæ“作ã®å‡ºåŠ›ã¯ã©ã®ã‚ˆã†ã«å–å¾—ã§

一時ファイルã®ä½¿ç”¨ã‚’é¿ã‘ã‚‹ã«ã¯ï¼ˆç‰¹ã«å‡ºåŠ›ãŒå¤§ãã„å ´åˆï¼‰ã€Run関数ã®ä¾‹ã«ã‚るよã†ã«ã€Shell.Exec()メソッドã®ä½¿ç”¨ã‚’検討ã—ã¾ã™ã€‚

ä»–ã®ã‚¹ã‚¯ãƒªãƒ—トを閉ã˜ãŸã‚Šã€ä¸€æ™‚åœæ­¢ã—ãŸã‚Šã€ä¸­æ–­ã—ãŸã‚Šã€å†èª­ã¿è¾¼ã¿ã—ãŸã‚Šã™ã‚‹ã«ã¯ã©ã†ã—ãŸã‚‰ã‚ˆã„ã§ã™ã‹ï¼Ÿ

ã¾ãšã€åˆ¥ã®ã‚¹ã‚¯ãƒªãƒ—トを閉ã˜ã‚‹ä¾‹ã‚’紹介ã—ã¾ã™ã€‚

-
DetectHiddenWindows True  ; Allows a script's hidden main window to be detected.
-SetTitleMatchMode 2  ; Avoids the need to specify the full path of the file below.
+
DetectHiddenWindows True  ; スクリプトã®éš ã•ã‚ŒãŸãƒ¡ã‚¤ãƒ³ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’検出ã§ãるよã†ã«ã—ã¾ã™ã€‚
+SetTitleMatchMode 2  ; 以下ã€ãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ•ãƒ«ãƒ‘スを指定ã™ã‚‹å¿…è¦ã‚’回é¿ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
 WinClose "ScriptFileName.ahk - AutoHotkey"  ; Update this to reflect the script's name (case-sensitive).

ä»–ã®ã‚¹ã‚¯ãƒªãƒ—トを中断ã€ä¸€æ™‚åœæ­¢ã€å†èª­ã¿è¾¼ã¿ã™ã‚‹ã«ã¯ã€ä¸Šè¨˜ã®æœ€å¾Œã®è¡Œã‚’次ã®ã„ãšã‚Œã‹ã«ç½®ãæ›ãˆã¦ãã ã•ã„。

-
PostMessage 0x0111, 65305,,, "ScriptFileName.ahk - AutoHotkey"  ; Suspend.
-PostMessage 0x0111, 65306,,, "ScriptFileName.ahk - AutoHotkey"  ; Pause.
-PostMessage 0x0111, 65303,,, "ScriptFileName.ahk - AutoHotkey"  ; Reload.
+
PostMessage 0x0111, 65305,,, "ScriptFileName.ahk - AutoHotkey"  ; サスペンド
+PostMessage 0x0111, 65306,,, "ScriptFileName.ahk - AutoHotkey"  ; ボーズ
+PostMessage 0x0111, 65303,,, "ScriptFileName.ahk - AutoHotkey"  ; リロード

スクリプトを終了ã•ã›ã‚‹ã“ã¨ãªãã€ç¹°ã‚Šè¿”ã—動作をåœæ­¢ã•ã›ã‚‹ã«ã¯ã©ã†ã™ã‚Œã°ã‚ˆã„ã§ã™ã‹ï¼Ÿ

キーを押ã™ã ã‘ã§ã‚¹ã‚¯ãƒªãƒ—ト全体を一時åœæ­¢ã¾ãŸã¯å†é–‹ã™ã‚‹ã«ã¯ã€ã“ã®ä¾‹ã®ã‚ˆã†ã«ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’「一時åœæ­¢ã€æ©Ÿèƒ½ã«å‰²ã‚Šå½“ã¦ã¾ã™ã€‚

-
^!p::Pause  ; Press Ctrl+Alt+P to pause. Press it again to resume.
+
^!p::Pause  ; Ctrl+Alt+P を押ã™ã¨ä¸€æ™‚åœæ­¢ã—ã¾ã™ã€‚ã‚‚ã†ä¸€åº¦æŠ¼ã™ã¨å†é–‹ã—ã¾ã™ã€‚

ループ内ã§ç¹°ã‚Šè¿”ã•ã‚Œã‚‹ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚’åœæ­¢ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªå‹•ä½œä¾‹ã‚’考ãˆã¦ã¿ã¾ã—ょã†ã€‚ã“ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¯ã€ãれ自体ãŒç¹°ã‚Šè¿”ã•ã‚Œã‚‹ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã®é–‹å§‹ã¨åœæ­¢ã®ä¸¡æ–¹ã‚’è¡Œã„ã¾ã™ã€‚In other words, pressing the hotkey once will start the loop. åŒã˜ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’ã‚‚ã†ä¸€åº¦æŠ¼ã™ã¨åœæ­¢ã—ã¾ã™ã€‚

#MaxThreadsPerHotkey 3
-#z::  ; Win+Z hotkey (change this hotkey to suit your preferences).
+#z::; Win+Zã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ï¼ˆã“ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¯ãŠå¥½ã¿ã§å¤‰æ›´ã—ã¦ãã ã•ã„)。
 {
     static KeepWinZRunning := false
     if KeepWinZRunning  ; ã“ã‚Œã¯ã€ä¸‹å±¤ã®ã‚¹ãƒ¬ãƒƒãƒ‰ãŒã™ã§ã«ä¸‹ã®ãƒ«ãƒ¼ãƒ—を実行ã—ã¦ã„ã‚‹ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚
@@ -219,7 +219,7 @@ 

スクリプトを終了ã•ã›ã‚‹ã“ã¨ãªãã€ç¹°ã‚Šè¿”ã—å‹• if not KeepWinZRunning ; å†ã³Win-Zを押ã™ã“ã¨ã§ãƒ«ãƒ¼ãƒ—ã‚’æ­¢ã‚ã‚‹åˆå›³ã‚’ã—ãŸã€‚ break ; ã“ã®ãƒ«ãƒ¼ãƒ—ã‹ã‚‰æŠœã‘出ãã†ã€‚ } - KeepWinZRunning := false ; Reset in preparation for the next press of this hotkey. + KeepWinZRunning := false ; 次ã«ã“ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’押ã™ã¨ãã«å‚™ãˆã¦ã€ãƒªã‚»ãƒƒãƒˆã‚’è¡Œã„ã¾ã™ã€‚ } #MaxThreadsPerHotkey 1

AutoHotkeyã®é–¢æ•°ã®ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆä¾å­˜ãƒ˜ãƒ«ãƒ—ã‚’ã€ã©ã®ã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã§ã‚‚使ãˆã‚‹ã‚ˆã†ã«ã™ã‚‹ã«ã¯ã©ã†ã—ãŸã‚‰ã‚ˆã„ã§ã™ã‹ï¼Ÿ

@@ -228,7 +228,7 @@

Webページã®èª­ã¿è¾¼ã¿ãŒçµ‚了ã—ãŸã“ã¨ã‚’検知ã™ã‚‹æ–¹

Internet Explorerã®å ´åˆã€ãŠãらã最も確実ãªæ–¹æ³•ã¯ã€www.autohotkey.com/forum/topic19256.htmlã§ç¤ºã—ãŸã‚ˆã†ã«ã€DllCallã¨COMを使用ã™ã‚‹ã“ã¨ã§ã™ã€‚ã“ã‚Œã«é–¢é€£ã—ã¦ã€ã‚¢ãƒ‰ãƒ¬ã‚¹ãƒãƒ¼ã‚„ステータスãƒãƒ¼ã®å†…容ã¯ã€www.autohotkey.com/forum/topic19255.htmlã®ãƒ‡ãƒ¢ã®ã‚ˆã†ã«å–å¾—ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

å¤ãã€ä¿¡é ¼æ€§ã®ä½Žã„方法:以下ã®ä¾‹ã®æ‰‹æ³•ã¯ã€ã»ã¨ã‚“ã©ã®ãƒšãƒ¼ã‚¸ã§MS Internet Explorerã§å‹•ä½œã—ã¾ã™ã€‚ä»–ã®ãƒ–ラウザã§ã‚‚åŒæ§˜ã®æ‰‹æ³•ãŒä½¿ãˆã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。

Run "www.yahoo.com"
-MouseMove 0, 0  ; Prevents the status bar from showing a mouse-hover link instead of "Done".
+MouseMove 0, 0  ; ステータスãƒãƒ¼ã« "Done "ã®ä»£ã‚ã‚Šã«ãƒžã‚¦ã‚¹ãƒ›ãƒãƒ¼ãƒªãƒ³ã‚¯ãŒè¡¨ç¤ºã•ã‚Œãªã„よã†ã«ã—ã¾ã™ã€‚
 WinWait "Yahoo!- "
 WinActivate
 if StatusBarWait("Done", 30)
@@ -261,13 +261,13 @@ 

GUIコントロールã®å†…容をä¿å­˜ã—ãŸã„ã®ã§ã™ãŒ Submit(*) { Saved := MyGui.Submit(false) - MsgBox "Content of the edit control: " Saved.MyEdit + MsgBox "Content of the edit control:" Saved.MyEdit }

AHKã§ä½•ã‹æã‘ã¾ã™ã‹ï¼Ÿ

GDI+標準ライブラリby ticã‚’ã”覧ãã ã•ã„。Guiを使ã£ãŸåˆæ­©çš„ãªæ–¹æ³•ã§ã‚‚å¯èƒ½ã§ã™ãŒã€é™å®šçš„ãªæ–¹æ³•ã§ã™ã€‚

ウィンドウãŒè¡¨ç¤ºã•ã‚ŒãŸã‚Šã€é–‰ã˜ãŸã‚Šã€[in]アクティブã«ãªã£ãŸã¨ãã«ã€ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚’開始ã™ã‚‹ã«ã¯ã©ã†ã—ãŸã‚‰ã‚ˆã„ã§ã™ã‹ï¼Ÿ

WinWaitã€WinWaitCloseã€WinWait[Not]Activeを使用ã—ã¦ãã ã•ã„。

-

ã¾ãŸã€OnWin.ahkã‚„ [How to] Hook on to Shellãªã©ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒä½œæˆã—ãŸã‚½ãƒªãƒ¥ãƒ¼ã‚·ãƒ§ãƒ³ãŒã‚ã‚Šã€ãã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’å—ä¿¡ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

+

ã¾ãŸã€OnWin.ahkã‚„ [How to] Hook on to Shellãªã©ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒä½œæˆã—ãŸã‚½ãƒªãƒ¥ãƒ¼ã‚·ãƒ§ãƒ³ãŒã‚ã‚Šã€ãã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’å—ä¿¡ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

ホットキーã€ãƒ›ãƒƒãƒˆã‚¹ãƒˆãƒªãƒ³ã‚°ã€ãƒªãƒžãƒƒãƒ”ング

PCã‚’èµ·å‹•ã™ã‚‹ãŸã³ã«ã€ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚„ホットストリングを自動的ã«æœ‰åŠ¹ã«ã™ã‚‹ã«ã¯ã©ã†ã™ã‚Œã°ã‚ˆã„ã§ã™ã‹ï¼Ÿ

PCã‚’èµ·å‹•ã™ã‚‹ãŸã³ã«ã‚¹ã‚¯ãƒªãƒ—ト(ã¾ãŸã¯ä»»æ„ã®ãƒ—ログラム)ãŒè‡ªå‹•çš„ã«èµ·å‹•ã™ã‚‹ã‚ˆã†ã«ã™ã‚‹ã«ã¯ã€ã„ãã¤ã‹ã®æ–¹æ³•ãŒã‚ã‚Šã¾ã™ã€‚最も簡å˜ãªã®ã¯ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—フォルダã«ã‚¹ã‚¯ãƒªãƒ—トã®ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚’é…ç½®ã™ã‚‹ã“ã¨ã§ã™ã€‚

diff --git a/target/docs/Functions.htm b/target/docs/Functions.htm index 41f57cd0b..be73acde4 100644 --- a/target/docs/Functions.htm +++ b/target/docs/Functions.htm @@ -59,14 +59,14 @@

å°Žå…¥ã¨ç°¡å˜ãªä¾‹

Var := Add(2, 3)  ; Varã«æ•°å­—5ãŒæ ¼ç´ã•ã‚Œã¾ã™ã€‚

ã¾ãŸã€é–¢æ•°ã¯æˆ»ã‚Šå€¤ã‚’ä¿å­˜ã›ãšã«å‘¼ã³å‡ºã™ã“ã¨ãŒã§ãã¾ã™ã€‚

Add(2, 3)
-Add 2, 3  ; Parentheses can be omitted if used at the start of a line.
+Add 2, 3 ; 行頭ã§ä½¿ç”¨ã™ã‚‹å ´åˆã¯ã€æ‹¬å¼§ã‚’çœç•¥ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

ã—ã‹ã—ã€ã“ã®å ´åˆã€é–¢æ•°ãŒè¿”ã™å€¤ã¯ã™ã¹ã¦æ¨ã¦ã‚‰ã‚Œã‚‹ã®ã§ã€é–¢æ•°ãŒãã®æˆ»ã‚Šå€¤ä»¥å¤–ã®åŠ¹æžœã‚’生ã¿å‡ºã•ãªã„é™ã‚Šã€ã“ã®å‘¼ã³å‡ºã—ã¯ä½•ã®å½¹ã«ã‚‚ç«‹ãŸãªã„。

å¼ã®ä¸­ã§ã€é–¢æ•°å‘¼ã³å‡ºã—ã¯é–¢æ•°ã®æˆ»ã‚Šå€¤ã«ã€Œè©•ä¾¡ã€ã•ã‚Œã¾ã™ã€‚戻り値ã¯ã€ä¸Šè¨˜ã®ã‚ˆã†ã«å¤‰æ•°ã«ä»£å…¥ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã—ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ç›´æŽ¥ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚

if InStr(MyVar, "fox")
     MsgBox "The variable MyVar contains the word fox."

パラメータ

-

関数を定義ã™ã‚‹ã¨ã€ãã®ãƒ‘ラメータãŒåå‰ã®æ¨ªã®æ‹¬å¼§ã«è¨˜è¼‰ã•ã‚Œã¾ã™ï¼ˆåå‰ã¨æ‹¬å¼§ã®é–“ã«ç©ºç™½ãŒã‚ã£ã¦ã¯ã„ã‘ã¾ã›ã‚“)。If a function does not accept any parameters, leave the parentheses empty; for example: GetCurrentTimestamp().

+

関数を定義ã™ã‚‹ã¨ã€ãã®ãƒ‘ラメータãŒåå‰ã®æ¨ªã®æ‹¬å¼§ã«è¨˜è¼‰ã•ã‚Œã¾ã™ï¼ˆåå‰ã¨æ‹¬å¼§ã®é–“ã«ç©ºç™½ãŒã‚ã£ã¦ã¯ã„ã‘ã¾ã›ã‚“)。関数ãŒãƒ‘ラメータをå—ã‘付ã‘ãªã„å ´åˆã¯ã€æ‹¬å¼§ã®ä¸­ã‚’空ã«ã—ã¦ãã ã•ã„(例)。GetCurrentTimestamp().

既知ã®åˆ¶é™ï¼š

ã“ã‚Œã¯ã€AutoHotkeyã«ã‚ˆã£ã¦ãƒ­ãƒ¼ãƒ‰ã•ã‚ŒãŸã‚¹ã‚¯ãƒªãƒ—トファイルã«ã®ã¿é©ç”¨ã•ã‚Œã€ã‚¹ã‚¯ãƒªãƒ—ト自体ã®ãƒ•ã‚¡ã‚¤ãƒ«I/Oã«ã¯é©ç”¨ã•ã‚Œãªã„ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。FileEncodingã¯ã€ã‚¹ã‚¯ãƒªãƒ—トãŒèª­ã¿æ›¸ãã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’制御ã—ã€IniRead㨠IniWriteã¯å¸¸ã«UTF-16ã¾ãŸã¯ANSIã§å‡¦ç†ã™ã‚‹ã€‚

-

As all text is converted (where necessary) to the native string format, characters which are invalid or don't exist in the native codepage are replaced with a placeholder: '�'. ã“ã‚Œã¯ã€ã‚¹ã‚¯ãƒªãƒ—トファイルã«ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚¨ãƒ©ãƒ¼ãŒã‚ã‚‹ã‹ã€ãƒ•ã‚¡ã‚¤ãƒ«ã®ä¿å­˜ã¨èª­ã¿è¾¼ã¿ã«ä½¿ç”¨ã•ã‚ŒãŸã‚³ãƒ¼ãƒ‰ãƒšãƒ¼ã‚¸ãŒä¸€è‡´ã—ãªã„å ´åˆã«ã®ã¿ç™ºç”Ÿã™ã‚‹ã¯ãšã§ã™ã€‚

+

ã™ã¹ã¦ã®ãƒ†ã‚­ã‚¹ãƒˆã¯ï¼ˆå¿…è¦ã«å¿œã˜ã¦ï¼‰ãƒã‚¤ãƒ†ã‚£ãƒ–ã®æ–‡å­—列形å¼ã«å¤‰æ›ã•ã‚Œã‚‹ãŸã‚ã€ç„¡åŠ¹ãªæ–‡å­—ã‚„ãƒã‚¤ãƒ†ã‚£ãƒ–ã®ã‚³ãƒ¼ãƒ‰ãƒšãƒ¼ã‚¸ã«å­˜åœ¨ã—ãªã„文字ã¯ãƒ—レースホルダーã«ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ï¼š'�'. ã“ã‚Œã¯ã€ã‚¹ã‚¯ãƒªãƒ—トファイルã«ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚¨ãƒ©ãƒ¼ãŒã‚ã‚‹ã‹ã€ãƒ•ã‚¡ã‚¤ãƒ«ã®ä¿å­˜ã¨èª­ã¿è¾¼ã¿ã«ä½¿ç”¨ã•ã‚ŒãŸã‚³ãƒ¼ãƒ‰ãƒšãƒ¼ã‚¸ãŒä¸€è‡´ã—ãªã„å ´åˆã«ã®ã¿ç™ºç”Ÿã™ã‚‹ã¯ãšã§ã™ã€‚

RegWriteã¯ã€ã‚¨ã‚¯ã‚¹ãƒ—ローラーã‹ã‚‰èµ·å‹•ã—ãŸã‚¹ã‚¯ãƒªãƒ—トã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚’設定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãる(ファイルをダブルクリックã™ã‚‹ãªã©ï¼‰ï¼š

; Uncomment the appropriate line below or leave them all commented to
 ;   reset to the default of the current build.  Modify as necessary:
@@ -437,7 +437,7 @@ 

スクリプトã®ãƒ‡ãƒãƒƒã‚°

Pause

スクリプトãŒã“ã®2è¡Œã«å‡ºä¼šã†ã¨ã€ã™ã¹ã¦ã®å¤‰æ•°ã®ç¾åœ¨ã®å†…容ãŒè¡¨ç¤ºã•ã‚Œã€é–²è¦§ã§ãるよã†ã«ãªã‚‹ã€‚å†é–‹ã®æº–å‚™ãŒã§ããŸã‚‰ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã¾ãŸã¯ãƒˆãƒ¬ã‚¤ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã‹ã‚‰ã‚¹ã‚¯ãƒªãƒ—トã®ä¸€æ™‚åœæ­¢ã‚’解除ã™ã‚‹ã€‚スクリプトã¯ã€æ¬¡ã®ã€Œãƒ–レークãƒã‚¤ãƒ³ãƒˆã€ã«é”ã™ã‚‹ã¾ã§ç¶šã‘られる(もã—ã‚ã‚Œã°ï¼‰ã€‚

一般的ã«ã€ã“れらã®ã€Œãƒ–レークãƒã‚¤ãƒ³ãƒˆã€ã¯ã€WinActivate関数ã®ç›´å‰ãªã©ã€ã‚¹ã‚¯ãƒªãƒ—トã«ã¨ã£ã¦ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ウィンドウãŒé‡è¦ã§ãªã„ä½ç½®ã«æŒ¿å…¥ã™ã‚‹ã®ãŒãƒ™ã‚¹ãƒˆã§ã‚る。ã“ã‚Œã«ã‚ˆã‚Šã€ä¸€æ™‚åœæ­¢ã‚’解除ã—ãŸã¨ãã«ã‚¹ã‚¯ãƒªãƒ—トãŒé©åˆ‡ã«å‹•ä½œã‚’å†é–‹ã™ã‚‹ã€‚

-

The following functions are also useful for debugging: ListLines, KeyHistory, and OutputDebug.

+

以下ã®é–¢æ•°ã‚‚デãƒãƒƒã‚°ã«å½¹ç«‹ã¤ï¼šListLines, KeyHistory, ãŠã‚ˆã³ OutputDebug.

タイプミスや「グローãƒãƒ«ã€å®£è¨€ã®æ¬ è½ãªã©ã€ã‚ˆãã‚るエラーã®ã„ãã¤ã‹ã¯ã€è­¦å‘Šã‚’有効ã«ã™ã‚‹ã“ã¨ã§æ¤œå‡ºã§ãる。

インタラクティブ・デãƒãƒƒã‚°

サãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã‚‹DBGpクライアントãŒã‚ã‚Œã°ã€ã‚¤ãƒ³ã‚¿ãƒ©ã‚¯ãƒ†ã‚£ãƒ–ãªãƒ‡ãƒãƒƒã‚°ãŒå¯èƒ½ã§ã™ã€‚通常ã€ä»¥ä¸‹ã®ã‚ˆã†ãªã‚¢ã‚¯ã‚·ãƒ§ãƒ³ãŒå¯èƒ½ã§ã‚る:

@@ -458,8 +458,8 @@

インタラクティブ・デãƒãƒƒã‚°

A_DetectHiddenWindows := true if WinExist(ScriptPath " ahk_class AutoHotkey") ; Optional parameters: - ; wParam = the IPv4 address of the debugger client, as a 32-bit integer. - ; lParam = the port which the debugger client is listening on. +; wParam = the IPv4 address of the debugger client, as a 32-bit integer. +; lParam = the port which the debugger client is listening on.
PostMessage DllCall("RegisterWindowMessage", "Str", "AHK_ATTACH_DEBUGGER")

デãƒãƒƒã‚¬ãƒ¼ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãŒæŽ¥ç¶šã•ã‚ŒãŸã‚‰ã€"detach" DBGp コマンドをé€ä¿¡ã™ã‚‹ã“ã¨ã§ã€ã‚¹ã‚¯ãƒªãƒ—トを終了ã›ãšã«ãƒ‡ã‚¿ãƒƒãƒã™ã‚‹ã“ã¨ãŒã§ãる。

diff --git a/target/docs/Tutorial.htm b/target/docs/Tutorial.htm index 29ee4945c..a074a4f56 100644 --- a/target/docs/Tutorial.htm +++ b/target/docs/Tutorial.htm @@ -77,7 +77,7 @@

a. AutoHotkeyã®ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«

テキストã®æŒ‡ç¤ºï¼š

    -
  1. Go to the AutoHotkey Homepage: https://www.autohotkey.com/
  2. +
  3. AutoHotkeyホームページã¸ï¼šhttps://www.autohotkey.com/
  4. ダウンロードをクリックã—ã¦ãã ã•ã„。AutoHotkeyã®å„メジャーãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã‚ªãƒ—ションãŒè¡¨ç¤ºã•ã‚Œã‚‹ã¯ãšã§ã™ã€‚ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¯v2用ãªã®ã§ã€ãã®ã‚ªãƒ—ションをé¸æŠžã™ã‚‹ã‹ã€v1ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«åˆ‡ã‚Šæ›¿ãˆã¦ãã ã•ã„。
  5. ダウンロードã—ãŸãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰ã¯AutoHotkey_*_setup.exeã‹ã€ãã‚Œã«è¿‘ã„ã‚‚ã®ã§ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。実行ã—ã¦ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã‚’クリックã—ã¾ã™ã€‚
  6. インスールãŒçµ‚ã‚ã‚Œã°æœ€é«˜ã ï¼ã‚»ã‚¯ã‚·ãƒ§ãƒ³bã«é€²ã‚€ã€‚
  7. @@ -91,7 +91,7 @@

    b. スクリプトã®ä½œæˆæ–¹æ³•

  8. デスクトップ上ã§å³ã‚¯ãƒªãƒƒã‚¯ã—ã¾ã™ã€‚
  9. メニューã‹ã‚‰ "æ–°è¦ä½œæˆ" を見ã¤ã‘ã¦ãã ã•ã„。
  10. "æ–°è¦ä½œæˆ"メニューã‹ã‚‰"AutoHotkey Script"をクリックã—ã¾ã™ã€‚
  11. -
  12. スクリプトã«åå‰ã‚’ã¤ã‘ã¦ãã ã•ã„。拡張å­ã¯.ahkã§çµ‚ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚For example: MyScript.ahk
  13. +
  14. スクリプトã«åå‰ã‚’ã¤ã‘ã¦ãã ã•ã„。拡張å­ã¯.ahkã§çµ‚ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚事例:MyScript.ahk
  15. デスクトップ上ã«æ–°ã—ã作æˆã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’見ã¤ã‘ã¦å³ã‚¯ãƒªãƒƒã‚¯ã—ã¾ã™ã€‚
  16. "Edit Script" をクリックã™ã‚‹ã€‚
  17. ãŠãらãメモ帳ãŒé–‹ã„ãŸã¯ãšã§ã™ã€‚ã‚‚ã—ãã†ãªã‚‰ã€æˆåŠŸã§ã™ï¼ @@ -128,7 +128,7 @@

    c. ヘルプファイルã®æŽ¢ã—æ–¹

    2 - ホットキーã¨ãƒ›ãƒƒãƒˆã‚¹ãƒˆãƒªãƒ³ã‚°

    -

    ホットキーã¨ã¯ä½•ã§ã™ã‹ï¼Ÿãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¨ã¯ã€è§¦ã‚Œã‚‹ã¨ç†±ããªã‚‹ã‚­ãƒ¼ã®ã“ã¨ã€‚... Just kidding. ã“ã‚Œã¯ã€ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ã®äººãŒä½•ã‚‰ã‹ã®ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚’èµ·ã“ã™ãŸã‚ã«æŠ¼ã™ã‚­ãƒ¼ã€ã¾ãŸã¯ã‚­ãƒ¼ã®çµ„ã¿åˆã‚ã›ã§ã‚る。事例:

    +

    ホットキーã¨ã¯ä½•ã§ã™ã‹ï¼Ÿãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¨ã¯ã€è§¦ã‚Œã‚‹ã¨ç†±ããªã‚‹ã‚­ãƒ¼ã®ã“ã¨ã€‚……冗談ã ã‚ˆã€‚ã“ã‚Œã¯ã€ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ã®äººãŒä½•ã‚‰ã‹ã®ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚’èµ·ã“ã™ãŸã‚ã«æŠ¼ã™ã‚­ãƒ¼ã€ã¾ãŸã¯ã‚­ãƒ¼ã®çµ„ã¿åˆã‚ã›ã§ã‚る。事例:

    ^j::
     {
         Send "My First Script"
    @@ -211,7 +211,7 @@ 

    b. ウィンドウ固有ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼/ホットストリング

    ホットキーやホットストリングを特定ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§ã®ã¿ä½¿ç”¨ã—ãŸã„(ã¾ãŸã¯ç„¡åŠ¹ã«ã—ãŸã„)場åˆãŒã‚ã‚Šã¾ã™ã€‚ã“れを行ã†ã«ã¯ã€#ãŒå‰ã«ä»˜ã„ãŸæ´’è½ãŸæŒ‡ä»¤ã€#HotIfã‚’ã€çµ„ã¿è¾¼ã¿é–¢æ•°WinActiveã¾ãŸã¯WinExistã¨çµ„ã¿åˆã‚ã›ã¦ä½¿ã†å¿…è¦ãŒã‚る:

    #HotIf WinActive(WinTitle)
     #HotIf WinExist(WinTitle)
    -

    ã“ã®ç‰¹åˆ¥ãªæŒ‡ä»¤ï¼ˆå°‚門的ã«ã¯ "ディレクティブ"ã¨å‘¼ã°ã‚Œã‚‹ï¼‰ã¯ã€æ–‡è„ˆä¾å­˜ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¨ãƒ›ãƒƒãƒˆã‚¹ãƒˆãƒªãƒ³ã‚°ã‚’作æˆã—ã¾ã™ã€‚WinTitleã«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã‚’指定ã™ã‚‹ã ã‘ã§ã™ã€‚ã—ã‹ã—å ´åˆã«ã‚ˆã£ã¦ã¯ã€HWNDã€ã‚°ãƒ«ãƒ¼ãƒ—ã€ã‚¯ãƒ©ã‚¹ãªã©ã®æ¡ä»¶ã‚’指定ã—ãŸã„ã“ã¨ã‚‚ã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。Those are a bit advanced and are covered more in-depth here: The WinTitle Parameter & the Last Found Window.

    +

    ã“ã®ç‰¹åˆ¥ãªæŒ‡ä»¤ï¼ˆå°‚門的ã«ã¯ "ディレクティブ"ã¨å‘¼ã°ã‚Œã‚‹ï¼‰ã¯ã€æ–‡è„ˆä¾å­˜ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¨ãƒ›ãƒƒãƒˆã‚¹ãƒˆãƒªãƒ³ã‚°ã‚’作æˆã—ã¾ã™ã€‚WinTitleã«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã‚’指定ã™ã‚‹ã ã‘ã§ã™ã€‚ã—ã‹ã—å ´åˆã«ã‚ˆã£ã¦ã¯ã€HWNDã€ã‚°ãƒ«ãƒ¼ãƒ—ã€ã‚¯ãƒ©ã‚¹ãªã©ã®æ¡ä»¶ã‚’指定ã—ãŸã„ã“ã¨ã‚‚ã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。ã“れらã¯å°‘ã—高度ãªã®ã§ã€ã“ã¡ã‚‰ã§è©³ã—ã説明ã—ã¾ã™ï¼šWinTitleパラメータã¨æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã€‚

    #HotIf WinActive("Untitled - Notepad")
     #Space::
     {
    @@ -232,7 +232,7 @@ 

    b. ウィンドウ固有ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼/ホットストリング }

    スクリプト内ã§#HotIfディレクティブãŒä½¿ç”¨ã•ã‚Œã¦ã„ãªã„å ´åˆã€ã™ã¹ã¦ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§ã™ã¹ã¦ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¨ãƒ›ãƒƒãƒˆã‚¹ãƒˆãƒªãƒ³ã‚°ãŒæœ‰åŠ¹ã«ãªã‚Šã¾ã™ã€‚

    -

    The #HotIf directive is positional: it affects all hotkeys and hotstrings physically beneath it in the script, until the next #HotIf directive.

    +

    #HotIf指令ã¯ä½ç½®æŒ‡å®šï¼š#HotIfã¯ã€æ¬¡ã®#HotIfディレクティブã¾ã§ã€ã‚¹ã‚¯ãƒªãƒ—ト内ã§ç‰©ç†çš„ã«ãã®ä¸‹ã«ã‚ã‚‹ã™ã¹ã¦ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¨ãƒ›ãƒƒãƒˆã‚¹ãƒˆãƒªãƒ³ã‚°ã«å½±éŸ¿ã‚’åŠã¼ã—ã¾ã™ã€‚

    ; Notepad
     #HotIf WinActive("ahk_class Notepad")
     #Space::
    @@ -250,7 +250,7 @@ 

    b. ウィンドウ固有ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼/ホットストリング ::msg::You typed msg in MSPaint!

    より詳細ãªæƒ…å ±ã«ã¤ã„ã¦ã¯ã€#HotIfã®ãƒšãƒ¼ã‚¸ã‚’ã”覧ãã ã•ã„。

    c. ファイルã”ã¨ã«è¤‡æ•°ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼/ホットストリング

    -

    ã“ã®ã“ã¨ã¯ã€ãªãœã‹ä¸€éƒ¨ã®äººã€…ã®å¿ƒã‚’横切ã£ã¦ã„る。So I'll set it clear: AutoHotkey has the ability to have as many hotkeys and hotstrings in one file as you want. ãã‚ŒãŒ1人ã§ã‚ã‚ã†ã¨ã€3253人(ã‚ã‚‹ã„ã¯ãれ以上)ã§ã‚ã‚ã†ã¨ã€‚

    +

    ã“ã®ã“ã¨ã¯ã€ãªãœã‹ä¸€éƒ¨ã®äººã€…ã®å¿ƒã‚’横切ã£ã¦ã„る。ã ã‹ã‚‰ã€ã¯ã£ãã‚Šã•ã›ã¦ãŠã“ã†ï¼šAutoHotkey has the ability to have as many hotkeys and hotstrings in one file as you want. ãã‚ŒãŒ1人ã§ã‚ã‚ã†ã¨ã€3253人(ã‚ã‚‹ã„ã¯ãれ以上)ã§ã‚ã‚ã†ã¨ã€‚

    #i::
     {
         Run "https://www.google.com/"
    @@ -315,7 +315,7 @@ 

    3 - キー入力ã®é€ä¿¡

    Win (Windows ロゴã®ã‚るキー) ã‚’é€ä¿¡ã™ã‚‹ã®ã§ã€"#e"ã‚’é€ä¿¡ã™ã‚‹ã«ã¯ã€Winを押ã—ãªãŒã‚‰Eを押ã—ã¾ã™ã€‚ -

    センドページã®å·¨å¤§ãªè¡¨ã«ã¯ã€AHKã«å†…蔵ã•ã‚Œã¦ã„る特殊キーã®ã»ã¨ã‚“ã©ãŒç¤ºã•ã‚Œã¦ã„る。For example: {Enter} and {Space}.

    +

    センドページã®å·¨å¤§ãªè¡¨ã«ã¯ã€AHKã«å†…蔵ã•ã‚Œã¦ã„る特殊キーã®ã»ã¨ã‚“ã©ãŒç¤ºã•ã‚Œã¦ã„る。事例:{Enter}㨠{Space}。

    Caution: This table does not apply to hotkeys. ã¤ã¾ã‚Šã€ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’作æˆã™ã‚‹ã¨ãã«ã€Ctrlã‚„ Enter(ã¾ãŸã¯ãã®ä»–ã®ã‚­ãƒ¼ï¼‰ã‚’中カッコã§å›²ã¾ãªã„ã¨ã„ã†ã“ã¨ã§ã™ã€‚

    ホットキーã«ã‚„ã£ã¦ã¯ã„ã‘ãªã„ã“ã¨ã‚’示ã™ä¾‹ï¼š

    ; When making a hotkey...
    @@ -366,7 +366,7 @@ 

    3 - キー入力ã®é€ä¿¡

    Line 2 Apples are a fruit. )"
    -

    注:センドã«ã¯ã„ãã¤ã‹ã®ç¨®é¡žãŒã‚る。ãã‚Œãžã‚Œã«ç‰¹å¾´ãŒã‚る。センドãŒãƒ‹ãƒ¼ã‚ºã«åˆã‚ãªã„å ´åˆã¯ã€åˆ¥ã®ã‚»ãƒ³ãƒ‰ã‚’試ã—ã¦ã¿ã¦ãã ã•ã„。Simply replace the function name "Send" with one of the following: SendText, SendInput, SendPlay, SendEvent. ãã‚Œãžã‚Œã®å½¹å‰²ã«ã¤ã„ã¦ã¯ã€ã“ã¡ã‚‰ã‚’ã”覧ã„ãŸã ããŸã„。

    +

    注:センドã«ã¯ã„ãã¤ã‹ã®ç¨®é¡žãŒã‚る。ãã‚Œãžã‚Œã«ç‰¹å¾´ãŒã‚る。センドãŒãƒ‹ãƒ¼ã‚ºã«åˆã‚ãªã„å ´åˆã¯ã€åˆ¥ã®ã‚»ãƒ³ãƒ‰ã‚’試ã—ã¦ã¿ã¦ãã ã•ã„。関数å "Send"を以下ã®ã„ãšã‚Œã‹ã«ç½®ãæ›ãˆã‚‹ã ã‘ã§ã‚ˆã„:SendText, SendInput, SendPlay, SendEvent. ãã‚Œãžã‚Œã®å½¹å‰²ã«ã¤ã„ã¦ã¯ã€ã“ã¡ã‚‰ã‚’ã”覧ã„ãŸã ããŸã„。

    a. ゲーム

    This is important: Some games, especially multiplayer games, use anti-cheat programs. GameGuardã€Hackshieldã€PunkBusterãªã©ã ã€‚ã“れらã®ã‚·ã‚¹ãƒ†ãƒ ã‚’迂回ã™ã‚‹ã“ã¨ã¯ã€ã‚²ãƒ¼ãƒ ãƒãƒªã‚·ãƒ¼ã«é•åã—ã€ã‚ãªãŸãŒè¿½æ”¾ã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ã ã‘ã§ãªãã€å›žé¿ã™ã‚‹ã®ãŒè¤‡é›‘ã§ã™ã€‚

    @@ -482,7 +482,7 @@

    a. ユーザーã®å…¥åŠ›ã‚’å¾—ã‚‹

    IB2 := InputBox("Do you like AutoHotkey?", "Question 2") if IB2.Value = "yes" - MsgBox "Thank you for answering " IB2.Value ", " IB1.Value "! We will become great friends." + MsgBox "Thank you for answering " IB2.Value ", " IB1.Value "!ç§ãŸã¡ã¯ç´ æ™´ã‚‰ã—ã„å‹äººã«ãªã‚‹ã ã‚ã†ã€‚ else MsgBox IB1.Value ", That makes me sad."
    @@ -500,7 +500,7 @@

    b. ä»–ã®ä¾‹ã¯ï¼Ÿ

    Var5 := SubStr(Var, 2, 2) ; Variable inside a function. Var6 := Var "Text" ; Assigns a variable to another with some extra text. MsgBox(Var) ; Variable inside a function. -MsgBox Var ; Same as above. +MsgBox Var ; 上ã¨åŒã˜ã§ã™ã€‚ Var := StrSplit(Var, "x") ; Variable inside a function that uses InputVar and OutputVar. if (Num = 6) ; Check if a variable is equal to a number. if Num = 6 ; Same as above. @@ -661,7 +661,7 @@

    d. インデント

    } else { -MsgBox "Be careful! This old car will be dangerous to drive." +MsgBox "Be careful!This old car will be dangerous to drive." } } else diff --git a/target/docs/Variables.htm b/target/docs/Variables.htm index 64bfdf45e..ebf8f6b64 100644 --- a/target/docs/Variables.htm +++ b/target/docs/Variables.htm @@ -53,7 +53,7 @@

    å¼

    å¼ã®çµæžœã‚’æ ¼ç´ã™ã‚‹ï¼šçµæžœã‚’変数ã«ä»£å…¥ã™ã‚‹ã«ã¯ã€ã‚³ãƒ­ãƒ³ã¨ç­‰å·ã®æ¼”ç®—å­ï¼ˆ:=)を使ã†ã€‚事例:

    NetPrice := Price * (1 - Discount/100)

    ブール値:å¼ãŒtrueã¾ãŸã¯falseã«è©•ä¾¡ã•ã‚Œã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆï¼ˆIFæ–‡ãªã©ï¼‰ã€ç©ºç™½ã¾ãŸã¯ã‚¼ãƒ­ã®çµæžœã¯falseã¨ã¿ãªã•ã‚Œã€ãれ以外ã®çµæžœã¯trueã¨ã¿ãªã•ã‚Œã‚‹ã€‚例ãˆã°ã€ItemCountãŒç©ºç™½ã‹0ã®å ´åˆã®ã¿ã€if ItemCountå¼ãŒå½ã«ãªã‚‹ã€‚åŒæ§˜ã«ã€if not ItemCountå¼ã¯é€†ã®çµæžœã‚’ã‚‚ãŸã‚‰ã™ã€‚

    -

    Operators such as NOT/>/=/< automatically produce a true or false value: they yield 1 for true and 0 for false. ã—ã‹ã—ã€AND/OR演算å­ã¯å¸¸ã«å…¥åŠ›å€¤ã®ã„ãšã‚Œã‹ã‚’生æˆã™ã‚‹ã€‚例ãˆã°ä»¥ä¸‹ã®å¼ã§ã¯ã€A_IndexãŒ5より大ãã„å ´åˆã¯å¤‰æ•°Doneã«1ãŒä»£å…¥ã•ã‚Œã€ãれ以外ã®å ´åˆã¯FoundItã®å€¤ãŒä»£å…¥ã•ã‚Œã‚‹ï¼š

    +

    NOT/>/=/<ãªã©ã®æ¼”ç®—å­ã¯ã€è‡ªå‹•çš„ã«çœŸã‹å½ã®å€¤ã‚’生æˆã™ã‚‹ï¼šçœŸãªã‚‰1ã€å½ãªã‚‰0ã¨ãªã‚‹ã€‚ã—ã‹ã—ã€AND/OR演算å­ã¯å¸¸ã«å…¥åŠ›å€¤ã®ã„ãšã‚Œã‹ã‚’生æˆã™ã‚‹ã€‚例ãˆã°ä»¥ä¸‹ã®å¼ã§ã¯ã€A_IndexãŒ5より大ãã„å ´åˆã¯å¤‰æ•°Doneã«1ãŒä»£å…¥ã•ã‚Œã€ãれ以外ã®å ´åˆã¯FoundItã®å€¤ãŒä»£å…¥ã•ã‚Œã‚‹ï¼š

    Done := A_Index > 5 or FoundIt

    上ã§ç¤ºå”†ã—ãŸã‚ˆã†ã«ã€å¤‰æ•°ã‚’空白ã«ã™ã‚‹ã‹0を代入ã™ã‚‹ã ã‘ã§ã€å½ã®å€¤ã‚’ä¿æŒã™ã‚‹ã“ã¨ãŒã§ãる。ã“れを利用ã™ã‚‹ãŸã‚ã«ã€if Doneã¨ã„ã†çœç•¥è¨˜æ³•ã‚’使ãˆã°ã€å¤‰æ•°DoneãŒçœŸã‹å½ã‹ã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹ã“ã¨ãŒã§ãる。

    å¼ã§ã¯ã€ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰true㨠falseã¯1ã¨0ã«è§£æ±ºã•ã‚Œã‚‹ã€‚ã“れらã®ä¾‹ã¯ã€ã‚¹ã‚¯ãƒªãƒ—トをより読ã¿ã‚„ã™ãã™ã‚‹ãŸã‚ã«ä½¿ã‚ã‚Œã¾ã™ï¼š

    @@ -62,8 +62,8 @@

    å¼

    æ•´æ•°ã¨æµ®å‹•å°æ•°ç‚¹ï¼šæ•´æ•°ã¨æµ®å‹•å°æ•°ç‚¹ï¼šå¼ã®ä¸­ã§ã€å°æ•°ç‚¹ã¾ãŸã¯ç§‘ã‚Šã¾æ•°æ³•ã‚’å«ã‚€æ•°å€¤ã¯æµ®å‹•å°æ•°ç‚¹ã¨ã¿ãªã•ã‚Œã€ãã†ã§ãªã„å ´åˆã¯æ•´æ•°ã¨ãªã‚Šã¾ã™ã€‚加算や乗算ãªã©ã€ã»ã¨ã‚“ã©ã®æ¼”ç®—å­ã§ã¯ã€å…¥åŠ›ã®ã©ã¡ã‚‰ã‹ãŒæµ®å‹•å°æ•°ç‚¹æ•°ã§ã‚ã‚Œã°ã€çµæžœã‚‚浮動å°æ•°ç‚¹æ•°ã«ãªã‚Šã¾ã™ã€‚

    å¼å†…ã§ã‚‚éžå¼å†…ã§ã‚‚ã€æ•´æ•°ã¯16進数ã‹10進数ã®ã©ã¡ã‚‰ã‹ã®å½¢å¼ã§æ›¸ãã“ã¨ãŒã§ãる。16進数ã¯ã™ã¹ã¦æŽ¥é ­è¾ž0xã§å§‹ã¾ã‚‹ã€‚例ãˆã°ã€Sleep 0xFF㯠Sleep 255ã«ç›¸å½“ã™ã‚‹ã€‚浮動å°æ•°ç‚¹æ•°ã¯ã€å°æ•°ç‚¹ã®æœ‰ç„¡ã«ã‹ã‹ã‚らãšã€ç§‘学表記ã§æ›¸ãã“ã¨ã‚‚ã§ãる(例:1e4ã‚„ -2.1E-4)。

    å¼å†…ã§ã¯ã€128ã€0x7Fã€1.0ãªã©ã®å¼•ç”¨ç¬¦ã§å›²ã¾ã‚Œã¦ã„ãªã„リテラル数値ã¯ã€ã‚¹ã‚¯ãƒªãƒ—トã®å®Ÿè¡Œã‚’開始ã™ã‚‹å‰ã«ç´”粋ãªæ•°å€¤ã«å¤‰æ›ã•ã‚Œã‚‹ãŸã‚ã€æ•°å€¤ã‚’文字列ã«å¤‰æ›ã™ã‚‹ã¨å…ƒã®ãƒªãƒ†ãƒ©ãƒ«å€¤ã¨ã¯ç•°ãªã‚‹å€¤ãŒç”Ÿæˆã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚事例:

    -
    MsgBox(0x7F)  ; Shows 128
    -MsgBox(1.00)  ; Shows 1.0
    +
    MsgBox(0x7F)  ; 128ã¨è¡¨ç¤ºã—ã¾ã™ã€‚
    +MsgBox(1.00)  ; 1.0ã¨è¡¨ç¤ºã—ã¾ã™ã€‚

    å¼ã®æ¼”ç®—å­

    演算å­ã«é–¢ã™ã‚‹ä¸€èˆ¬çš„ãªæƒ…å ±ã«ã¤ã„ã¦ã¯ã€ã€Œæ¼”ç®—å­ã€ã‚’å‚ç…§ã®ã“ã¨ã€‚

    @@ -84,7 +84,7 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    注:部分å¼Exprã® çµæžœã¯ã€ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹å¤‰æ•°ã¾ãŸã¯ãƒ—ロパティã®åå‰ã¾ãŸã¯éƒ¨åˆ†åã§ãªã‘ã‚Œã°ãªã‚‰ãªã„。

    パーセント記å·ã¯ã€æ›–昧ã•ã®ãŸã‚ã«Expr内ã§ç›´æŽ¥ä½¿ç”¨ã™ã‚‹ã“ã¨ã¯ã§ããªã„ãŒã€æ‹¬å¼§å†…ã«å…¥ã‚Œå­ã«ã™ã‚‹ã“ã¨ã¯ã§ãる。ãã†ã§ãªã‘ã‚Œã°ã€Exprã¯ã©ã‚“ãªå¼ã§ã‚‚よã„。

    Expr%シーケンスã¨éƒ¨åˆ†å(間ã«ã‚¹ãƒšãƒ¼ã‚¹ã‚„ä»–ã®æ–‡å­—ã‚’å«ã¾ãªã„)ãŒéš£æŽ¥ã—ã¦ã„ã‚‹å ´åˆã€ãれらã¯çµåˆã•ã‚Œã¦1ã¤ã®åå‰ã«ãªã‚Šã¾ã™ã€‚

    -

    エラーãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã‚‹ã®ã¯ã€ãã®å¤‰æ•°ãŒã¾ã å­˜åœ¨ã—ã¦ã„ãªã„å ´åˆã€ã‚ã‚‹ã„ã¯åˆæœŸåŒ–ã•ã‚Œã¦ãŠã‚‰ãšã€ãã®å€¤ã‚’読ã¿è¾¼ã‚‚ã†ã¨ã—ã¦ã„ã‚‹å ´åˆã§ã‚る。or-maybeæ¼”ç®—å­ (??)ã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’æä¾›ã™ã‚‹ã“ã¨ã§ã€ãã®ã‚ˆã†ãªã‚±ãƒ¼ã‚¹ã‚’é¿ã‘ã‚‹ãŸã‚ã«ä½¿ã†ã“ã¨ãŒã§ãる。. For example: %'novar'% ??42.

    +

    エラーãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã‚‹ã®ã¯ã€ãã®å¤‰æ•°ãŒã¾ã å­˜åœ¨ã—ã¦ã„ãªã„å ´åˆã€ã‚ã‚‹ã„ã¯åˆæœŸåŒ–ã•ã‚Œã¦ãŠã‚‰ãšã€ãã®å€¤ã‚’読ã¿è¾¼ã‚‚ã†ã¨ã—ã¦ã„ã‚‹å ´åˆã§ã‚る。or-maybeæ¼”ç®—å­ (??)ã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’æä¾›ã™ã‚‹ã“ã¨ã§ã€ãã®ã‚ˆã†ãªã‚±ãƒ¼ã‚¹ã‚’é¿ã‘ã‚‹ãŸã‚ã«ä½¿ã†ã“ã¨ãŒã§ãる。. 事例:%'novar'% ?? 42.

    ã“ã‚Œã¯æ­´å²çš„ã« "double-deref"ã¨ã—ã¦çŸ¥ã‚‰ã‚Œã¦ã„ã‚‹ãŒã€ExprãŒå¤‰æ•°ã‚’å«ã¾ãªã„å ´åˆï¼ˆ1番目ã®deref)ã€ã¾ãŸã€çµæžœã®å¤‰æ•°ãŒä»£å…¥ã®ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã§ã‚ã‚Šã€å‚照解除ã•ã‚Œãªã„å ´åˆï¼ˆ2番目ã®deref)ã€ã“ã®ç”¨èªžã¯ä¸æ­£ç¢ºã§ã‚る。

    @@ -95,14 +95,15 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    var? -

    Maybe. 変数ã®ã‚¢ãƒ³ã‚»ãƒƒãƒˆã‚’許å¯ã™ã‚‹ã€‚ã“ã‚Œã¯ã€å¤‰æ•°ã‚’オプショナル・パラメーターã€é…列è¦ç´ ã€ã‚ªãƒ–ジェクト・リテラルã«æ¸¡ã™å ´åˆã€ã¾ãŸã¯ç›´æŽ¥ä»£å…¥ã®å³è¾ºã«æ¸¡ã™å ´åˆã«ã®ã¿æœ‰åŠ¹ã§ã‚る。The question mark must be followed by one of the following symbols (ignoring whitespace): )]},:. 変数ã¯ã€ä¸‰é …演算å­ã‚„ AND/ORã®å³è¾ºã§æ¡ä»¶ä»˜ãã§æ¸¡ã™ã“ã¨ãŒã§ãる。

    +

    Maybe. 変数ã®ã‚¢ãƒ³ã‚»ãƒƒãƒˆã‚’許å¯ã™ã‚‹ã€‚ã“ã‚Œã¯ã€å¤‰æ•°ã‚’オプショナル・パラメーターã€é…列è¦ç´ ã€ã‚ªãƒ–ジェクト・リテラルã«æ¸¡ã™å ´åˆã€ã¾ãŸã¯ç›´æŽ¥ä»£å…¥ã®å³è¾ºã«æ¸¡ã™å ´åˆã«ã®ã¿æœ‰åŠ¹ã§ã‚る。クエスãƒãƒ§ãƒ³ãƒžãƒ¼ã‚¯ã®å¾Œã«ã¯ã€ä»¥ä¸‹ã®è¨˜å·ã®ã„ãšã‚Œã‹ã‚’続ã‘ãªã‘ã‚Œã°ãªã‚‰ãªã„(空白ã¯ç„¡è¦–ã™ã‚‹ï¼‰ï¼š)]},:. 変数ã¯ã€ä¸‰é …演算å­ã‚„ AND/ORã®å³è¾ºã§æ¡ä»¶ä»˜ãã§æ¸¡ã™ã“ã¨ãŒã§ãる。

    変数ã¯é€šå¸¸ã‚ªãƒ—ションã®ãƒ‘ラメータã ãŒã€ã©ã‚“ãªå¤‰æ•°ã§ã‚‚構ã‚ãªã„。関数ã®ãƒ‘ラメータã§ã¯ãªã„変数ã®å ´åˆã€å¤‰æ•°ã¸ã®å‚ç…§ã¯ã‚ã‚‹ãŒä»£å…¥ãŒãªã„å ´åˆã€ãƒ­ãƒ¼ãƒ‰æ™‚ã«VarUnset 警告ãŒè¡¨ç¤ºã•ã‚Œã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚

    ã“ã®æ¼”ç®—å­ã¯ç¾åœ¨ã€å¤‰æ•°ã«å¯¾ã—ã¦ã®ã¿ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„る。より一般的ãªã‚±ãƒ¼ã‚¹ã§æ˜Žç¤ºçš„ã¾ãŸã¯æ¡ä»¶ä»˜ãã§ãƒ‘ラメータをçœç•¥ã™ã‚‹ã«ã¯ã€unsetキーワードを使用ã—ã¾ã™ã€‚

    -

    See also: unset (Optional Parameters)

    +

    ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:unset(オプション・パラメータ)

    - ++
    -- + ++
    + --

    増減ã®å‰å¾Œã€‚変数㫠1 を加算ã¾ãŸã¯æ¸›ç®—ã™ã‚‹ã€‚演算å­ã¯å¤‰æ•°åã®å‰ã§ã‚‚後ã§ã‚‚よã„。åå‰ã®å‰ã«ç¾ã‚ŒãŸå ´åˆã€ãã®æ“作ã¯å®Ÿè¡Œã•ã‚Œã€ãã®çµæžœã¯æ¬¡ã®æ“作ã§ä½¿ç”¨ã•ã‚Œã‚‹ï¼ˆã“ã®å ´åˆã€çµæžœã¯å¤‰æ•°å‚照)。例ãˆã°ã€Var := ++Xã¯Xをインクリメントã—ã€ãã®å€¤ã‚’Varã«ä»£å…¥ã™ã‚‹ã€‚逆ã«ã€æ¼”ç®—å­ãŒå¤‰æ•°åã®å¾Œã«ã‚ã‚‹å ´åˆã€çµæžœã¯æ¼”算を実行ã™ã‚‹å‰ã®Xã®å€¤ã«ãªã‚‹ã€‚例ãˆã°ã€Var := X++ã¯Xをインクリメントã™ã‚‹ãŒã€Varã¯XãŒã‚¤ãƒ³ã‚¯ãƒªãƒ¡ãƒ³ãƒˆã•ã‚Œã‚‹å‰ã®å€¤ã‚’å—ã‘å–る。

    ã“れらã®æ¼”ç®—å­ã¯ã€myArray.Length++ã‚„ -myArray[i]ã®ã‚ˆã†ã«ã€ã‚ªãƒ–ジェクトã®ãƒ—ロパティã¨çµ„ã¿åˆã‚ã›ã¦ä½¿ã†ã“ã¨ã‚‚ã§ãる。ã“ã®ã‚ˆã†ãªå ´åˆã€éƒ¨åˆ†å¼ã®çµæžœã¯å¸¸ã«æ•°å€¤ã§ã‚ã‚Šã€å¤‰æ•°å‚ç…§ã§ã¯ãªã„。

    @@ -111,24 +112,29 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    ** -

    Power. Example usage: Base**Exponent. Both Base and Exponent may contain a decimal point. If Exponent is negative, the result will be formatted as a floating point number even if Base and Exponent are both integers. **ã¯å˜é …マイナスより優先順ä½ãŒé«˜ã„ã®ã§ã€-2**2ã¯-(2**2)ã®ã‚ˆã†ã«è©•ä¾¡ã•ã‚Œã€-4ã¨ãªã‚‹ã€‚ã—ãŸãŒã£ã¦ã€ãƒªãƒ†ãƒ©ãƒ«ã§è² ã®æ•°ã‚’累乗ã™ã‚‹ã«ã¯ã€(-2)**2ã®ã‚ˆã†ã«æ‹¬å¼§ã§å›²ã‚€ã€‚

    +

    Power. 使用例:Base**Exponent. Both Base and Exponent may contain a decimal point. If Exponent is negative, the result will be formatted as a floating point number even if Base and Exponent are both integers. **ã¯å˜é …マイナスより優先順ä½ãŒé«˜ã„ã®ã§ã€-2**2ã¯-(2**2)ã®ã‚ˆã†ã«è©•ä¾¡ã•ã‚Œã€-4ã¨ãªã‚‹ã€‚ã—ãŸãŒã£ã¦ã€ãƒªãƒ†ãƒ©ãƒ«ã§è² ã®æ•°ã‚’累乗ã™ã‚‹ã«ã¯ã€(-2)**2ã®ã‚ˆã†ã«æ‹¬å¼§ã§å›²ã‚€ã€‚

    パワー演算å­ã¯å³çµåˆã§ã‚る。例ãˆã°ã€x ** y ** zã¯x ** (y ** z)ã¨è©•ä¾¡ã•ã‚Œã‚‹ã€‚

    Note: A negative Base combined with a fractional Exponent such as (-2)**0.5 is not supported; attempting it will cause an exception to be thrown. ã—ã‹ã—ã€(-2)**2ã¨(-2)**2.0ã®ä¸¡æ–¹ãŒã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„る。If both Base and Exponent are 0, the result is undefined and an exception is thrown.

    - -
    !
    ~
    & + -
    + !
    + ~
    + &

    å˜é …マイナス (-):オペランドã®ç¬¦å·ã‚’å転ã—ã¾ã™ã€‚

    å˜é …プラス (+): +N㯠-(-N)ã¨ç­‰ä¾¡ã€‚ã“ã‚Œã¯ç´”粋ãªæ•°å€¤ã«é©ç”¨ã—ã¦ã‚‚何ã®åŠ¹æžœã‚‚ãªã„ãŒã€æ•°å€¤æ–‡å­—列を純粋ãªæ•°å€¤ã«å¤‰æ›ã™ã‚‹ãŸã‚ã«ä½¿ã†ã“ã¨ãŒã§ãる。

    -

    è«–ç†å¦å®š (!):オペランドãŒç©ºç™½ã¾ãŸã¯0ã®å ´åˆã€è«–ç†å¦å®šã‚’é©ç”¨ã—ãŸçµæžœã¯1ã€ã¤ã¾ã‚Šã€ŒçœŸã€ã‚’æ„味ã™ã‚‹ã€‚ãã†ã§ãªã‘ã‚Œã°ã€çµæžœã¯0(å½ï¼‰ã§ã‚る。For example: !x or !(y and z). Note: The word NOT is synonymous with ! except that ! has a higher precedence. Varã®ã‚ˆã†ãªé€£ç¶šã™ã‚‹å˜é …演算å­ã¯ã€å³ã‹ã‚‰å·¦ã®é †ç•ªã§è©•ä¾¡ã•ã‚Œã‚‹ãŸã‚許ã•ã‚Œã‚‹ã€‚

    +

    è«–ç†å¦å®š (!):オペランドãŒç©ºç™½ã¾ãŸã¯0ã®å ´åˆã€è«–ç†å¦å®šã‚’é©ç”¨ã—ãŸçµæžœã¯1ã€ã¤ã¾ã‚Šã€ŒçœŸã€ã‚’æ„味ã™ã‚‹ã€‚ãã†ã§ãªã‘ã‚Œã°ã€çµæžœã¯0(å½ï¼‰ã§ã‚る。事例:!x or !(y and z). 注:"NOT"ã¯!ã¨åŒç¾©ã ãŒã€!ã®æ–¹ãŒå„ªå…ˆé †ä½ãŒé«˜ã„。Varã®ã‚ˆã†ãªé€£ç¶šã™ã‚‹å˜é …演算å­ã¯ã€å³ã‹ã‚‰å·¦ã®é †ç•ªã§è©•ä¾¡ã•ã‚Œã‚‹ãŸã‚許ã•ã‚Œã‚‹ã€‚

    Bitwise-not (~):オペランドã®å„ビットをå転ã™ã‚‹ã€‚64ビットã®ç¬¦å·ä»˜ã整数を使用ã™ã‚‹ãŸã‚ã€æ­£ã®å…¥åŠ›å€¤ã¯å¸¸ã«è² ã®çµæžœã‚’与ãˆã€ãã®é€†ã‚‚åŒæ§˜ã§ã‚る。例ãˆã°ã€~0xf0fã¯-0xf10 (-3856)ã¨è©•ä¾¡ã•ã‚Œã€ã“ã‚Œã¯2進数ã§0xfffffffffffff0f0ã¨ç­‰ä¾¡ã§ã‚る。符å·ãªã—32ビット値ãŒæ„図ã•ã‚Œã¦ã„ã‚‹å ´åˆã€result& 0xffffffã§çµæžœã‚’切りæ¨ã¦ã‚‹ã“ã¨ãŒã§ãる。オペランドãŒæµ®å‹•å°æ•°ç‚¹å€¤ã®å ´åˆã€TypeErrorãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

    -

    å‚ç…§ (&):変数ã¸ã®å‚照を表ã™å€¤ã§ã‚ã‚‹ VarRef を作æˆã—ã¾ã™ã€‚VarRefを使ãˆã°ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆå¤‰æ•°ã«é–“接的ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãる。例ãˆã°ã€ref := &targetã®å¾Œã«%ref% := 1を続ã‘ã‚‹ã¨ã€targetã«å€¤1ãŒå‰²ã‚Šå½“ã¦ã‚‰ã‚Œã‚‹ã€‚VarRefã¯é€šå¸¸é–¢æ•°ã«æ¸¡ã•ã‚Œã‚‹ãŒã€é…列やプロパティã«æ ¼ç´ã™ã‚‹ã“ã¨ã‚‚ã§ãる。See also: Dereference, ByRef.

    +

    å‚ç…§ (&):変数ã¸ã®å‚照を表ã™å€¤ã§ã‚ã‚‹ VarRef を作æˆã—ã¾ã™ã€‚VarRefを使ãˆã°ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆå¤‰æ•°ã«é–“接的ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãる。例ãˆã°ã€ref := &targetã®å¾Œã«%ref% := 1を続ã‘ã‚‹ã¨ã€targetã«å€¤1ãŒå‰²ã‚Šå½“ã¦ã‚‰ã‚Œã‚‹ã€‚VarRefã¯é€šå¸¸é–¢æ•°ã«æ¸¡ã•ã‚Œã‚‹ãŒã€é…列やプロパティã«æ ¼ç´ã™ã‚‹ã“ã¨ã‚‚ã§ãる。ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:Dereference, ByRef.

    A_Clipboardã®ã‚ˆã†ãªçµ„ã¿è¾¼ã¿å¤‰æ•°ã¸ã®å‚ç…§ã¯ã€çµ„ã¿è¾¼ã¿é–¢æ•°ã®OutputVarパラメータã«ç›´æŽ¥æ¸¡ã•ã‚Œã‚‹å ´åˆã‚’除ãã€ç¾åœ¨ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“。

    - *
    /
    // + *
    + /
    + //

    ä¹—ç®— (*):ãれ以外ã®å ´åˆã¯æµ®å‹•å°æ•°ç‚¹æ•°ã€‚

    ãã®ä»–ã®ä½¿ç”¨æ³•ï¼šã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯(*)記å·ã¯å¤‰ç¨®é–¢æ•°å‘¼ã³å‡ºã—ã«ã‚‚使ã‚れる。

    @@ -138,17 +144,20 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    ゼロã«ã‚ˆã‚‹é™¤ç®—ã¯ZeroDivisionErrorをスローã™ã‚‹ã€‚

    - +
    - + +
    + -

    足ã—ç®— (+)ã¨å¼•ãç®— (-)。ã“ã‚Œã«é–¢é€£ã—ã¦ã€+=演算å­ã‚„-=演算å­ã¯ã€å¤‰æ•°ã‚’インクリメントã—ãŸã‚Šãƒ‡ã‚¯ãƒªãƒ¡ãƒ³ãƒˆã—ãŸã‚Šã™ã‚‹çœç•¥è¨˜æ³•ã§ã‚る。例ãˆã°ã€Var+=2ã¯Var:=Var+2ã¨åŒã˜çµæžœã«ãªã‚‹ï¼ˆãŸã ã—ã€å‰è€…ã®æ–¹ãŒæ€§èƒ½ã¯è‰¯ã„)。åŒæ§˜ã«ã€Var++ã€Var--ã€++Varã€--Varを使ãˆã°ã€å¤‰æ•°ã‚’1ã¤å¢—ã‚„ã—ãŸã‚Šæ¸›ã‚‰ã—ãŸã‚Šã§ãる。

    ãã®ä»–ã®ä½¿ç”¨æ³•ï¼šè¨˜å·ã®å‰ã«å€¤ï¼ˆã¾ãŸã¯å€¤ã‚’è¿”ã™éƒ¨åˆ†å¼ï¼‰ãŒãªã„å ´åˆã€ä»£ã‚ã‚Šã«å˜é …演算å­ã¨ã—ã¦è§£é‡ˆã•ã‚Œã¾ã™ã€‚

    - <<
    >>
    >>> + <<
    + >>
    + >>> -

    ビットシフト・レフト(<<)。Example usage: Value1 << Value2. ã“ã‚Œã¯ã€Value1ã«ã€Œ2ã®Value2ä¹—ã€ã‚’掛ã‘ã‚‹ã“ã¨ã¨åŒã˜ã§ã‚る。

    -

    算術ビットã®å³ã‚·ãƒ•ãƒˆï¼ˆ>>)。Example usage: Value1 >> Value2. ã“ã‚Œã¯ã€Value1を「2ã®Value2ä¹—ã€ã§é™¤ç®—ã—ã€ãã®çµæžœã‚’数直線上ã§å·¦æ–¹å‘ã«æœ€ã‚‚è¿‘ã„æ•´æ•°ã«å››æ¨äº”å…¥ã™ã‚‹ã“ã¨ã¨åŒã˜ã§ã‚る。

    -

    è«–ç†ãƒ“ットã®å³ã‚·ãƒ•ãƒˆï¼ˆ>>)。Example usage: Value1 >>> Value2. 算術ビットシフトå³ã¨ã¯ç•°ãªã‚Šã€ã“ã‚Œã¯æ•°å€¤ã®ç¬¦å·ã‚’ä¿æŒã—ãªã„。例ãˆã°ã€-1ã¯ç¬¦å·ãªã—64ビット整数0xffffffffffffã¨åŒã˜ãƒ“ット表ç¾ã‚’æŒã¤ã®ã§ã€-1 >> 1ã¯0x7fffffffffffffã¨ãªã‚‹ã€‚

    +

    ビットシフト・レフト(<<)。使用例:Value1 << Value2. ã“ã‚Œã¯ã€Value1ã«ã€Œ2ã®Value2ä¹—ã€ã‚’掛ã‘ã‚‹ã“ã¨ã¨åŒã˜ã§ã‚る。

    +

    算術ビットã®å³ã‚·ãƒ•ãƒˆï¼ˆ>>)。使用例:Value1 >> Value2. ã“ã‚Œã¯ã€Value1を「2ã®Value2ä¹—ã€ã§é™¤ç®—ã—ã€ãã®çµæžœã‚’数直線上ã§å·¦æ–¹å‘ã«æœ€ã‚‚è¿‘ã„æ•´æ•°ã«å››æ¨äº”å…¥ã™ã‚‹ã“ã¨ã¨åŒã˜ã§ã‚る。

    +

    è«–ç†ãƒ“ットã®å³ã‚·ãƒ•ãƒˆï¼ˆ>>)。使用例:Value1 >>> Value2. 算術ビットシフトå³ã¨ã¯ç•°ãªã‚Šã€ã“ã‚Œã¯æ•°å€¤ã®ç¬¦å·ã‚’ä¿æŒã—ãªã„。例ãˆã°ã€-1ã¯ç¬¦å·ãªã—64ビット整数0xffffffffffffã¨åŒã˜ãƒ“ット表ç¾ã‚’æŒã¤ã®ã§ã€-1 >> 1ã¯0x7fffffffffffffã¨ãªã‚‹ã€‚

    以下ã¯ã€3ã¤ã®æ¼”ç®—å­ã™ã¹ã¦ã«é©ç”¨ã•ã‚Œã¾ã™ï¼š

    • 入力ã®ã©ã¡ã‚‰ã‹ãŒæµ®å‹•å°æ•°ç‚¹æ•°ã®ã¨ãã¯ã€TypeErrorãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚
    • @@ -158,7 +167,9 @@

      å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

      - &
      ^
      | + &
      + ^
      + |

      ビットワイズ・アンド (&)ã€ãƒ“ットワイズ・エクスクルーシブ・オア (^)ã€ãƒ“ットワイズ・オア(|)。ã“ã®3ã¤ã®ã†ã¡ã€&ãŒæœ€ã‚‚優先順ä½ãŒé«˜ãã€|ãŒæœ€ã‚‚低ã„。

      @@ -167,7 +178,7 @@

      å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    • 入力ã®ã©ã¡ã‚‰ã‹ãŒæµ®å‹•å°æ•°ç‚¹æ•°ã®ã¨ãã¯ã€TypeErrorãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚
    • 64 ビット演算ãŒå®Ÿè¡Œã•ã‚Œã€çµæžœã¯64ビット符å·ä»˜ãæ•´æ•°ã«ãªã‚Šã¾ã™ã€‚
    -

    Related: Bitwise-not (~)

    +

    関連:ビットワイズ・ノット (~)

    @@ -177,9 +188,9 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    Var := "The color is " . FoundColor  ; Explicit concat
     Var := "The color is " FoundColor    ; Auto-concat
     
    -

    部分å¼ã¯é€£çµã™ã‚‹ã“ã¨ã‚‚ã§ãる。For example: Var := "The net price is " . Price * (1 - Discount/100).

    +

    部分å¼ã¯é€£çµã™ã‚‹ã“ã¨ã‚‚ã§ãる。事例:Var := "The net price is " . Price * (1 - Discount/100).

    ピリオド(ã¾ãŸã¯ãã®ä»–ã®æ¼”ç®—å­ï¼‰ã§å§‹ã¾ã‚‹è¡Œã¯ã€è‡ªå‹•çš„ã«ãã®ä¸Šã®è¡Œã«è¿½åŠ ã•ã‚Œã‚‹ã€‚

    -

    å„入力ã®å…¨é•·ã¯ã€ãŸã¨ãˆ2進数ã®ã‚¼ãƒ­ãŒå«ã¾ã‚Œã¦ã„ã¦ã‚‚使用ã•ã‚Œã‚‹ã€‚For example, Chr(0x2010) Chr(0x0000) Chr(0x4030) produces the following string of bytes (due to UTF-16-LE encoding): 0x10, 0x20, 0, 0, 0x30, 0x40. çµæžœã«ã¯ã€é•·ã•ã«å«ã¾ã‚Œãªã„ヌル・ターミãƒãƒ¼ã‚¿ãƒ¼ï¼ˆ2進数ã®ã‚¼ãƒ­ï¼‰ãŒè¿½åŠ ã•ã‚Œã‚‹ã€‚

    +

    å„入力ã®å…¨é•·ã¯ã€ãŸã¨ãˆ2進数ã®ã‚¼ãƒ­ãŒå«ã¾ã‚Œã¦ã„ã¦ã‚‚使用ã•ã‚Œã‚‹ã€‚例ãˆã°ã€Chr(0x2010) Chr(0x0000) Chr(0x4030)ã¯ä»¥ä¸‹ã®ãƒã‚¤ãƒˆåˆ—を生æˆã™ã‚‹ï¼ˆUTF-16-LEエンコーディングã«ã‚ˆã‚‹ï¼‰ï¼š0x10, 0x20, 0, 0, 0x30, 0x40. çµæžœã«ã¯ã€é•·ã•ã«å«ã¾ã‚Œãªã„ヌル・ターミãƒãƒ¼ã‚¿ãƒ¼ï¼ˆ2進数ã®ã‚¼ãƒ­ï¼‰ãŒè¿½åŠ ã•ã‚Œã‚‹ã€‚

    ãã®ä»–ã®ä½¿ã„方:ピリオド(ドット)ã®å³ã«ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ãŒãªã„å ´åˆã€ãƒªãƒ†ãƒ©ãƒ«æµ®å‹•å°æ•°ç‚¹æ•°ã¾ãŸã¯ãƒ¡ãƒ³ãƒã‚¢ã‚¯ã‚»ã‚¹ã¨ã—ã¦è§£é‡ˆã•ã‚Œã‚‹ã€‚例ãˆã°ã€1.1ã¨(.5)ã¯æ•°å€¤ã€A_Args.Has(3)ã¯ãƒ¡ã‚½ãƒƒãƒ‰å‘¼ã³å‡ºã—ã€A_Args.Lengthã¯ãƒ—ロパティアクセスã§ã‚る。

    @@ -188,13 +199,17 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    RegExMatchã®çœç•¥å½¢ã€‚例ãˆã°ã€"abc123" ~= "\d"ã®çµæžœã¯4(最åˆã®æ•°å­—ã®ä½ç½®ï¼‰ã§ã™ã€‚ - >   <
    >= <= + >   <
    + >= <=

    大ãã„ (>)ã€å°ã•ã„ (<)ã€å¤§å°(>=)ã€ã‚ˆã‚Šå°ã•ã„ (<=)。入力ã¯æ•°å€¤ã§æ¯”較ã•ã‚Œã‚‹ã€‚入力ã®ã©ã¡ã‚‰ã‹ãŒæ•°å€¤ã¾ãŸã¯æ•°å€¤æ–‡å­—列ã§ãªã„å ´åˆã€TypeErrorãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã‚‹ã€‚

    - =
    ==
    !=
    !== + =
    + ==
    + !=
    + !==

    大文字å°æ–‡å­—を区別ã—ãªã„イコール(=)/ノットイコール(=)〠大文字å°æ–‡å­—を区別ã™ã‚‹ã‚¤ã‚³ãƒ¼ãƒ«ï¼ˆ==)/ノットイコール(!==)。==演算å­ã¯ã€=演算å­ã¨åŒã˜å‹•ä½œã‚’ã™ã‚‹ãŒã€å…¥åŠ›ã®ã©ã¡ã‚‰ã‹ãŒæ•°å€¤ã§ãªã„(ã‚ã‚‹ã„ã¯ä¸¡æ–¹ãŒæ–‡å­—列ã§ã‚る)場åˆã¯ã€==ã¯å¸¸ã«å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã€=ã¯å¸¸ã«å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ãªã„。!=ã¨!==ã¯ã€çµæžœãŒå転ã™ã‚‹ã“ã¨ã‚’除ã‘ã°ã€!を使ã‚ãªã„å ´åˆã¨åŒã˜å‹•ä½œã‚’ã™ã‚‹ã€‚

    ==ã¨!==演算å­ã¯ã€2進数ã®0ã‚’å«ã‚€æ–‡å­—列を比較ã™ã‚‹ã®ã«ä½¿ã†ã“ã¨ãŒã§ãる。~=以外ã®æ¯”較演算å­ã¯ã€æœ€åˆã®2進数ã®0ã¾ã§ã—ã‹æ¯”較ã—ãªã„。

    @@ -213,8 +228,9 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    è«–ç†å¦å®šã€‚優先順ä½ãŒä½Žã„ã“ã¨ã‚’除ã‘ã°ã€ã“ã‚Œã¯!演算å­ã¨åŒæ§˜ã§ã‚る。例ãˆã°ã€not (x = 3 or y = 3)ã¯!(x = 3 or y = 3)ã¨åŒã˜ã§ã‚る。 - AND
    && -

    ã©ã¡ã‚‰ã‚‚è«–ç†ç©ã ã€‚For example: x > 3 and x < 10.

    + AND
    + && +

    ã©ã¡ã‚‰ã‚‚è«–ç†ç©ã ã€‚事例:x > 3 and x < 10.

    In an expression where all operands are true, the last operand is returned. Otherwise, the first operand that is false is returned. In other words, the result is true only if all operands are true. Boolean expressions are subject to short-circuit evaluation (from left to right) to improve performance.

    In the following example, all operands are true and will be evaluated:

    A := 1, B := {}, C := 20, D := true, E := "str"
    @@ -225,8 +241,9 @@ 

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    ANDã¾ãŸã¯&&(ã‚ã‚‹ã„ã¯ãã®ä»–ã®æ¼”ç®—å­ï¼‰ã§å§‹ã¾ã‚‹è¡Œã¯ã€è‡ªå‹•çš„ã«ãã®ä¸Šã®è¡Œã«è¿½åŠ ã•ã‚Œã‚‹ã€‚

    - OR
    || -

    ã©ã¡ã‚‰ã‚‚è«–ç†å’Œã§ã‚る。For example: x <= 3 or x >= 10.

    + OR
    + || +

    ã©ã¡ã‚‰ã‚‚è«–ç†å’Œã§ã‚る。事例:x <= 3 or x >= 10.

    In an expression where at least one operand is true, the first operand that is true is returned. Otherwise, the last operand that is false is returned. In other words, if at least one operand is true, the result is true. Boolean expressions are subject to short-circuit evaluation (from left to right) to improve performance.

    In the following example, at least one operand is true. All operands up to D will be evaluated. E is ignored and will never be incremented:

    A := "", B := false, C := 0, D := "str", E := 20
    @@ -239,28 +256,40 @@ 

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    ?? -

    ã‚ã‚‹ã„ã¯ã€åˆä½“演算å­ã¨å‘¼ã°ã‚Œã‚‹ã‚‚ã®ã‹ã‚‚ã—ã‚Œãªã„。左オペランド(変数ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„)ã«å€¤ãŒã‚ã‚Œã°ã€ãã‚ŒãŒçµæžœã¨ãªã‚Šã€å³åˆ†å²ã¯ã‚¹ã‚­ãƒƒãƒ—ã•ã‚Œã‚‹ã€‚ãã†ã§ãªã„å ´åˆã¯ã€å³ã‚ªãƒšãƒ©ãƒ³ãƒ‰ãŒçµæžœã«ãªã‚‹ã€‚In other words, A ??B behaves like A || B (logical-OR) except that the condition is IsSet(A).

    +

    ã‚ã‚‹ã„ã¯ã€åˆä½“演算å­ã¨å‘¼ã°ã‚Œã‚‹ã‚‚ã®ã‹ã‚‚ã—ã‚Œãªã„。左オペランド(変数ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„)ã«å€¤ãŒã‚ã‚Œã°ã€ãã‚ŒãŒçµæžœã¨ãªã‚Šã€å³åˆ†å²ã¯ã‚¹ã‚­ãƒƒãƒ—ã•ã‚Œã‚‹ã€‚ãã†ã§ãªã„å ´åˆã¯ã€å³ã‚ªãƒšãƒ©ãƒ³ãƒ‰ãŒçµæžœã«ãªã‚‹ã€‚言ã„æ›ãˆã‚Œã°ã€A ?? Bã¯ã€æ¡ä»¶ãŒIsSet(A)ã§ã‚ã‚‹ã“ã¨ã‚’除ã‘ã°ã€A || B(論ç†å’Œï¼‰ã®ã‚ˆã†ã«æŒ¯ã‚‹èˆžã†ã€‚

    ã“ã‚Œã¯é€šå¸¸ã€å¤‰æ•°ã‚„オプショナル・パラメータã«ã¾ã å€¤ãŒãªã„ã“ã¨ãŒåˆ†ã‹ã£ã¦ã„ã‚‹å ´åˆã«ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’æä¾›ã™ã‚‹ãŸã‚ã«ä½¿ã‚れる。事例:

    MsgBox MyVar ?? "Default value"
    -

    変数ãŒåˆæœŸåŒ–ã•ã‚Œã¦ã„ãªã„ã“ã¨ã‚‚想定ã•ã‚Œã‚‹ã®ã§ã€ãã®ã‚ˆã†ãªå ´åˆã§ã‚‚エラーã¯ç™ºç”Ÿã—ãªã„。Unlike IsSet(A) ?A : B, a VarUnset warning may still be shown at load-time if there are other references to the variable but no assignments.

    +

    変数ãŒåˆæœŸåŒ–ã•ã‚Œã¦ã„ãªã„ã“ã¨ã‚‚想定ã•ã‚Œã‚‹ã®ã§ã€ãã®ã‚ˆã†ãªå ´åˆã§ã‚‚エラーã¯ç™ºç”Ÿã—ãªã„。IsSet(A) ?A : Bã¨ç•°ãªã‚Šã€å¤‰æ•°ã¸ã®ä»–ã®å‚ç…§ãŒã‚ã‚‹ãŒä»£å…¥ãŒãªã„å ´åˆã€ãƒ­ãƒ¼ãƒ‰æ™‚ã«VarUnset 警告ãŒè¡¨ç¤ºã•ã‚Œã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚

    ?: -

    三項演算å­ã€‚ã“ã®æ¼”ç®—å­ã¯ã€if-elseæ–‡ã«ä»£ã‚ã‚‹çœç•¥è¨˜æ³•ã§ã‚る。左辺ã®æ¡ä»¶ã‚’評価ã—ã€2ã¤ã®åˆ†å²ã®ã©ã¡ã‚‰ãŒæœ€çµ‚çš„ãªçµæžœã«ãªã‚‹ã‹ã‚’決定ã™ã‚‹ã€‚For example, var := x>y ?2 : 3 stores 2 in Var if x is greater than y; otherwise it stores 3. パフォーマンスをå‘上ã•ã›ã‚‹ãŸã‚ã€å‹åˆ©ã—ãŸåˆ†å²ã®ã¿ãŒè©•ä¾¡ã•ã‚Œã‚‹ï¼ˆçŸ­çµ¡è©•ä¾¡ã‚’å‚照)。

    -

    See also: maybe (var?), or-maybe (??)

    +

    三項演算å­ã€‚ã“ã®æ¼”ç®—å­ã¯ã€if-elseæ–‡ã«ä»£ã‚ã‚‹çœç•¥è¨˜æ³•ã§ã‚る。左辺ã®æ¡ä»¶ã‚’評価ã—ã€2ã¤ã®åˆ†å²ã®ã©ã¡ã‚‰ãŒæœ€çµ‚çš„ãªçµæžœã«ãªã‚‹ã‹ã‚’決定ã™ã‚‹ã€‚ãŸã¨ãˆã°ã€var := x>y ?2 : 3ã¯ã€xãŒyより大ãã‘ã‚Œã°Varã«2ã‚’æ ¼ç´ã—ã€ãã†ã§ãªã‘ã‚Œã°3ã‚’æ ¼ç´ã™ã‚‹ã€‚パフォーマンスをå‘上ã•ã›ã‚‹ãŸã‚ã€å‹åˆ©ã—ãŸåˆ†å²ã®ã¿ãŒè©•ä¾¡ã•ã‚Œã‚‹ï¼ˆçŸ­çµ¡è©•ä¾¡ã‚’å‚照)。

    +

    ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:maybe (var?), or-maybe (??)

    注:行頭ã§ä½¿ç”¨ã™ã‚‹å ´åˆã€ä»–ã®æ–‡ã¨ã®æ›–昧ã•ã‚’é¿ã‘ã‚‹ãŸã‚ã€3é …æ¡ä»¶ã¯é€šå¸¸æ‹¬å¼§ã§å›²ã‚€ã€‚詳ã—ãã¯è¡¨ç¾ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã‚’å‚照。

    - :=
    +=
    -=
    *=
    /=
    //=
    .=
    |=
    &=
    ^=
    >>=
    <<=
    >>>= + :=
    + +=
    + -=
    + *=
    + /=
    + //=
    + .=
    + |=
    + &=
    + ^=
    + >>=
    + <<=
    + >>>=

    アサイン。変数ã®å†…容ã«æ¼”ç®—ã‚’è¡Œã„ã€çµæžœã‚’åŒã˜å¤‰æ•°ã«æˆ»ã™ã€‚最もå˜ç´”ãªä»£å…¥æ¼”ç®—å­ã¯ã‚³ãƒ­ãƒ³ç­‰å·ï¼ˆ:=)ã§ã€å¼ã®çµæžœã‚’変数ã«æ ¼ç´ã™ã‚‹ã€‚ä»–ã®æ¼”ç®—å­ã®å‹•ä½œã«ã¤ã„ã¦ã¯ã€ã“ã®è¡¨ã®é–¢é€£é …目をå‚ç…§ã®ã“ã¨ã€‚例ãˆã°ã€Var //= 2ã¯ã€Varã‚’2ã§å‰²ã‚‹æ•´æ•°é™¤ç®—を実行ã—ã€çµæžœã‚’Varã«æˆ»ã™ã€‚åŒæ§˜ã«ã€Var.="abc"ã¯ã€Var := Var."abc "ã§ã‚る。

    ä»–ã®ã»ã¨ã‚“ã©ã®æ¼”ç®—å­ã¨ã¯ç•°ãªã‚Šã€ä»£å…¥ã¯å³ã‹ã‚‰å·¦ã«è©•ä¾¡ã•ã‚Œã‚‹ã€‚ãã®çµæžœã€Var1 := Var2 := 0ã®ã‚ˆã†ãªè¡Œã¯ã€ã¾ãšVar2ã«0を代入ã—ã€æ¬¡ã«Var2ã‚’Var1ã«ä»£å…¥ã™ã‚‹ã€‚

    代入ãŒä»–ã®æ¼”ç®—å­ã®å…¥åŠ›ã¨ã—ã¦ä½¿ã‚れる場åˆã€ãã®å€¤ã¯å¤‰æ•°ãã®ã‚‚ã®ã¨ãªã‚‹ã€‚例ãˆã°ã€(Var+=2) > 50ã¨ã„ã†å¼ã¯ã€Varã®æ–°ã—ã増加ã—ãŸå€¤ãŒ50より大ãã„å ´åˆã«çœŸã¨ãªã‚‹ã€‚ã¾ãŸã€&(Var := "åˆæœŸå€¤")ã®ã‚ˆã†ã«ã€ä»£å…¥ã¨å‚照演算å­ã‚’組ã¿åˆã‚ã›ã‚‹ã“ã¨ã‚‚有効ã§ã‚る。

    -

    代入演算å­ã®å„ªå…ˆé †ä½ã¯ã€æ§‹æ–‡ã‚¨ãƒ©ãƒ¼ã‚’回é¿ã—ãŸã‚Šã€ã‚ˆã‚Šç›´æ„Ÿçš„ãªå‹•ä½œã‚’æä¾›ã—ãŸã‚Šã™ã‚‹å ´åˆã«ã€è‡ªå‹•çš„ã«å¼•ã上ã’られる。For example: not x:=y is evaluated as not (x:=y). ã¾ãŸã€x==y && z:=1ã¯ã€x==y && (z:=1)ã¨è©•ä¾¡ã•ã‚Œã€xãŒyã¨ç­‰ã—ããªã„å ´åˆã«çŸ­çµ¡ã™ã‚‹ã€‚Similarly, ++Var := X is evaluated as ++(Var := X); and Z>0 ?X:=2 : Y:=2 is evaluated as Z>0 ?(X:=2) : (Y:=2).

    -

    直接代入(:=)ã¨unsetキーワードã€ã¾ãŸã¯maybe (var?) 演算å­ã‚’組ã¿åˆã‚ã›ã‚‹ã“ã¨ã§ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆå¤‰æ•°ã‚’設定解除ã™ã‚‹ã“ã¨ãŒã§ãる。For example: Var := unset, Var1 := (Var2?).

    +

    代入演算å­ã®å„ªå…ˆé †ä½ã¯ã€æ§‹æ–‡ã‚¨ãƒ©ãƒ¼ã‚’回é¿ã—ãŸã‚Šã€ã‚ˆã‚Šç›´æ„Ÿçš„ãªå‹•ä½œã‚’æä¾›ã—ãŸã‚Šã™ã‚‹å ´åˆã«ã€è‡ªå‹•çš„ã«å¼•ã上ã’られる。事例:not x:=y㯠not (x:=y)ã¨è©•ä¾¡ã•ã‚Œã‚‹ã€‚ã¾ãŸã€x==y && z:=1ã¯ã€x==y && (z:=1)ã¨è©•ä¾¡ã•ã‚Œã€xãŒyã¨ç­‰ã—ããªã„å ´åˆã«çŸ­çµ¡ã™ã‚‹ã€‚åŒæ§˜ã«ã€++Var := X㯠++(Var := X)ã¨è©•ä¾¡ã•ã‚Œã€Z>0 ?X:=2 : Y:=2ã¯Z>0 ? (X:=2) : (Y:=2)ã¨è©•ä¾¡ã•ã‚Œã‚‹ã€‚

    +

    直接代入(:=)ã¨unsetキーワードã€ã¾ãŸã¯maybe (var?) 演算å­ã‚’組ã¿åˆã‚ã›ã‚‹ã“ã¨ã§ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆå¤‰æ•°ã‚’設定解除ã™ã‚‹ã“ã¨ãŒã§ãる。事例:Var := unset, Var1 := (Var2?).

    代入ã¯ã€myArray.Length += nã‚„ myArray[i] .= tã®ã‚ˆã†ã«ã€ã‚ªãƒ–ジェクトã®ãƒ—ロパティを対象ã¨ã™ã‚‹ã“ã¨ã‚‚ã§ãる。プロパティã«ä»£å…¥ã™ã‚‹å ´åˆã€éƒ¨åˆ†å¼ã®çµæžœã¯ä»£å…¥ã•ã‚Œã‚‹å€¤ã§ã‚ã‚Šã€å¤‰æ•°å‚ç…§ã§ã¯ã‚ã‚Šã¾ã›ã‚“。

    @@ -285,7 +314,7 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    , -

    コンマ(複数ステートメント)。カンマã¯ã€1è¡Œã«è¤‡æ•°ã®éƒ¨åˆ†å¼ã‚’記述ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãる。ã“ã‚Œã¯ã€è¤‡æ•°ã®å‰²ã‚Šå½“ã¦ã‚„関数コールをグループ化ã™ã‚‹ãŸã‚ã«ã‚ˆã使ã‚れる。For example: x:=1, y+=2, ++index, MyFunc(). ã“ã®ã‚ˆã†ãªã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã¯ã€å·¦ã‹ã‚‰å³ã®é †ã«å®Ÿè¡Œã•ã‚Œã‚‹ã€‚

    +

    コンマ(複数ステートメント)。カンマã¯ã€1è¡Œã«è¤‡æ•°ã®éƒ¨åˆ†å¼ã‚’記述ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãる。ã“ã‚Œã¯ã€è¤‡æ•°ã®å‰²ã‚Šå½“ã¦ã‚„関数コールをグループ化ã™ã‚‹ãŸã‚ã«ã‚ˆã使ã‚れる。事例:x:=1, y+=2, ++index, MyFunc(). ã“ã®ã‚ˆã†ãªã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã¯ã€å·¦ã‹ã‚‰å³ã®é †ã«å®Ÿè¡Œã•ã‚Œã‚‹ã€‚

    注:カンマ(ã¾ãŸã¯ãã®ä»–ã®æ¼”ç®—å­ï¼‰ã§å§‹ã¾ã‚‹è¡Œã¯ã€è‡ªå‹•çš„ã«ãã®ä¸Šã®è¡Œã«è¿½åŠ ã•ã‚Œã‚‹ã€‚

    カンマã¯ã€é–¢æ•°å‘¼ã³å‡ºã—や制御フロー文ã®ãƒ‘ラメータを区切るãŸã‚ã«ã‚‚使ã‚れる。複数ステートメントå¼ã‚’パラメータ・リストã«å«ã‚ã‚‹ã«ã¯ã€æ‹¬å¼§ã§å›²ã‚€ã€‚例ãˆã°ã€MyFn((x, y))ã¯xã¨yã®ä¸¡æ–¹ã‚’評価ã™ã‚‹ãŒã€MyFnã®æœ€åˆã®å”¯ä¸€ã®ãƒ‘ラメーターã¨ã—ã¦yを渡ã™ã€‚

    @@ -328,10 +357,10 @@

    å¼æ¼”ç®—å­ï¼ˆå„ªå…ˆé †ä½ã®é™é †ï¼‰

    - {a: b, c: d} + {a:b, c:d} -

    オブジェクト・リテラル。オブジェクトを作æˆã™ã‚‹ã€‚å„ペアã¯ã€ãƒªãƒ†ãƒ©ãƒ«ãƒ»ãƒ—ロパティåaã¨ãƒ—ロパティ値å¼bã§æ§‹æˆã•ã‚Œã‚‹ã€‚For example, x := {a: b} is equivalent to x := Object(), x.a := b. ベースã¯ã‚ªãƒ–ジェクト・リテラル内ã§è¨­å®šã™ã‚‹ã“ã¨ãŒã§ãã‚‹ãŒã€ä»–ã®ã™ã¹ã¦ã®ãƒ—ロパティã¯ç‹¬è‡ªã®å€¤ãƒ—ロパティã¨ã—ã¦è¨­å®šã•ã‚Œã€ãƒ™ãƒ¼ã‚¹ãƒ»ã‚ªãƒ–ジェクトã‹ã‚‰ç¶™æ‰¿ã•ã‚ŒãŸãƒ—ロパティをオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã™ã‚‹å¯èƒ½æ€§ãŒã‚る。

    -

    ダイナミック・プロパティåを使ã†ã«ã¯ã€éƒ¨åˆ†å¼ã‚’パーセント記å·ã§å›²ã‚€ã€‚For example: {%nameVar%: valueVar}.

    +

    オブジェクト・リテラル。オブジェクトを作æˆã™ã‚‹ã€‚å„ペアã¯ã€ãƒªãƒ†ãƒ©ãƒ«ãƒ»ãƒ—ロパティåaã¨ãƒ—ロパティ値å¼bã§æ§‹æˆã•ã‚Œã‚‹ã€‚例ãˆã°ã€x := {a:b} ã¯x := Object(), x.a := bã¨ç­‰ä¾¡ã§ã‚る。ベースã¯ã‚ªãƒ–ジェクト・リテラル内ã§è¨­å®šã™ã‚‹ã“ã¨ãŒã§ãã‚‹ãŒã€ä»–ã®ã™ã¹ã¦ã®ãƒ—ロパティã¯ç‹¬è‡ªã®å€¤ãƒ—ロパティã¨ã—ã¦è¨­å®šã•ã‚Œã€ãƒ™ãƒ¼ã‚¹ãƒ»ã‚ªãƒ–ジェクトã‹ã‚‰ç¶™æ‰¿ã•ã‚ŒãŸãƒ—ロパティをオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã™ã‚‹å¯èƒ½æ€§ãŒã‚る。

    +

    ダイナミック・プロパティåを使ã†ã«ã¯ã€éƒ¨åˆ†å¼ã‚’パーセント記å·ã§å›²ã‚€ã€‚事例:{%nameVar%:valueVar}.

    @@ -341,15 +370,15 @@

    組ã¿è¾¼ã¿ã®å¤‰æ•°

    一般的ãªæƒ…å ±ã«ã¤ã„ã¦ã¯ã€çµ„ã¿è¾¼ã¿å¤‰æ•°ã‚’å‚ç…§ã—ã¦ãã ã•ã„。

    目次

    特殊文字

    @@ -378,7 +407,7 @@

    スクリプト・プロパティ

    - @@ -414,7 +443,7 @@

    スクリプト・プロパティ

    - @@ -427,16 +456,16 @@

    スクリプト・プロパティ

    - + - + - + - + - + @@ -511,7 +540,7 @@

    Date and Time

    - + @@ -590,11 +619,13 @@

    スクリプト設定

    - + - + @@ -610,7 +641,8 @@

    スクリプト設定

    - + @@ -618,7 +650,11 @@

    スクリプト設定

    - + @@ -633,7 +669,7 @@

    スクリプト設定

    @@ -742,7 +778,7 @@

    オペレーティング・システムã¨ãƒ¦ãƒ¼ã‚¶ãƒ¼æƒ…å ±

    - @@ -775,7 +811,7 @@

    オペレーティング・システムã¨ãƒ¦ãƒ¼ã‚¶ãƒ¼æƒ…å ±

    - + @@ -873,7 +909,8 @@

    オペレーティング・システムã¨ãƒ¦ãƒ¼ã‚¶ãƒ¼æƒ…å ±

    - + - + @@ -910,7 +947,7 @@

    Misc.

  18. OnMessage
  19. æ­£è¦è¡¨ç¾ã®å¹ã出ã—
  20. -

    Note: Unlike variables such as A_ThisHotkey, each thread retains its own value for A_EventInfo. ã—ãŸãŒã£ã¦ã€ã‚¹ãƒ¬ãƒƒãƒ‰ãŒä»–ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã«ã‚ˆã£ã¦ä¸­æ–­ã•ã‚Œã¦ã‚‚ã€å†é–‹ã•ã‚ŒãŸã¨ãã«ã¯ã€ã“れらã®å¤‰æ•°ã«å…ƒã®å€¤ã‚„æ­£ã—ã„値ãŒè¡¨ç¤ºã•ã‚Œã‚‹ã€‚

    +

    注:A_ThisHotkeyãªã©ã®å¤‰æ•°ã¨ã¯ç•°ãªã‚Šã€å„スレッドã¯ã€A_EventInfoã®å€¤ã‚’ä¿æŒã—ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ã‚¹ãƒ¬ãƒƒãƒ‰ãŒä»–ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã«ã‚ˆã£ã¦ä¸­æ–­ã•ã‚Œã¦ã‚‚ã€å†é–‹ã•ã‚ŒãŸã¨ãã«ã¯ã€ã“れらã®å¤‰æ•°ã«å…ƒã®å€¤ã‚„æ­£ã—ã„値ãŒè¡¨ç¤ºã•ã‚Œã‚‹ã€‚

    A_EventInfoもスクリプトã§è¨­å®šã§ãã¾ã™ãŒã€ãƒã‚¤ãƒ³ã‚¿ã§ä½¿ç”¨å¯èƒ½ãªç¯„囲(AutoHotkeyã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚ˆã£ã¦32ビットã¾ãŸã¯64ビット)ã®ç¬¦å·ãªã—æ•´æ•°ã—ã‹ä½¿ãˆã¾ã›ã‚“。

    diff --git a/target/docs/howto/Install.htm b/target/docs/howto/Install.htm index e84705105..c5ce64836 100644 --- a/target/docs/howto/Install.htm +++ b/target/docs/howto/Install.htm @@ -60,13 +60,13 @@

    ウェブブラウザ

    Googleセーフブラウジングサービス(他ã®ãƒ–ラウザã§ã‚‚使用ã•ã‚Œã¦ã„ã¾ã™ï¼‰ã§ã¯ã€AutoHotkeyã«é–¢ã™ã‚‹èª¤ã£ãŸè­¦å‘Šã‚’表示ã™ã‚‹ã“ã¨ãŒçŸ¥ã‚‰ã‚Œã¦ã„ã¾ã™ã€‚詳ã—ãã¯ã€ã€Œã‚»ãƒ¼ãƒ•ãƒ–ラウジングã€ã‚’ã”覧ãã ã•ã„。

    スマートスクリーン

    -

    Microsoft Defender SmartScreenã§ã€ŒWindowsãŒã‚ãªãŸã®PCã‚’ä¿è­·ã—ã¾ã—ãŸã€ã®ã‚ˆã†ãªãƒ—ロンプトãŒè¡¨ç¤ºã•ã‚Œã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã€‚ã“ã‚Œã¯ã€ã‚ªãƒ¼ãƒ—ンソース開発者や独立系ソフトウェアベンダー(ISV)ã®ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã«ã‚ˆã見られるç¾è±¡ã§ã€ç‰¹ã«æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒãƒªãƒªãƒ¼ã‚¹ã•ã‚ŒãŸç›´å¾Œã«ã¯ã‚ˆã見られã¾ã™ã€‚The following blog article by Louis Kessler describes the problem well: That’s not very Smart of you, Microsoft

    +

    Microsoft Defender SmartScreenã§ã€ŒWindowsãŒã‚ãªãŸã®PCã‚’ä¿è­·ã—ã¾ã—ãŸã€ã®ã‚ˆã†ãªãƒ—ロンプトãŒè¡¨ç¤ºã•ã‚Œã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã€‚ã“ã‚Œã¯ã€ã‚ªãƒ¼ãƒ—ンソース開発者や独立系ソフトウェアベンダー(ISV)ã®ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã«ã‚ˆã見られるç¾è±¡ã§ã€ç‰¹ã«æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒãƒªãƒªãƒ¼ã‚¹ã•ã‚ŒãŸç›´å¾Œã«ã¯ã‚ˆã見られã¾ã™ã€‚Louis Kesslerã«ã‚ˆã‚‹æ¬¡ã®ãƒ–ログ記事ã¯ã€ã“ã®å•é¡Œã‚’よã表ã—ã¦ã„ã¾ã™ã€‚マイクロソフトã®ã‚¹ãƒžãƒ¼ãƒˆã•ã«ã¯è² ã‘ã¾ã™ãŒ

    インストールを続ã‘ã‚‹ã«ã¯ã€ã€Œè©³ç´°æƒ…å ±ã€ã‚’é¸æŠžã—ã€ã€Œã¨ã«ã‹ã実行ã€ã‚’é¸æŠžã—ã¾ã™ã€‚

    アンãƒã‚¦ã‚¤ãƒ«ã‚¹

    アンãƒã‚¦ã‚¤ãƒ«ã‚¹ãŒãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã‚’悪æ„ã‚ã‚‹ã‚‚ã®ã¨åˆ¤æ–­ã—ãŸå ´åˆã¯ã€ä»¥ä¸‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。

    diff --git a/target/docs/howto/ManageWindows.htm b/target/docs/howto/ManageWindows.htm index 313e25fb8..672fab07f 100644 --- a/target/docs/howto/ManageWindows.htm +++ b/target/docs/howto/ManageWindows.htm @@ -57,7 +57,7 @@

    ウィンドウズクラス

    WinWait "ahk_class Notepad" WinActivate WinMove 0, 0, A_ScreenWidth/4, A_ScreenHeight/2 -

    ウィンドウクラスã¯ã€ä¸Šå›³ã®ã‚ˆã†ã« "ahk_class"ã¨ã„ã†å˜èªžã‚’使ã£ã¦ã‚¿ã‚¤ãƒˆãƒ«ã¨åŒºåˆ¥ã—ã¾ã™ã€‚複数ã®æ¡ä»¶ã‚’組ã¿åˆã‚ã›ã‚‹å ´åˆã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã‚’最åˆã«è¨˜è¼‰ã—ã¾ã™ã€‚For example: "Untitled ahk_class Notepad".

    +

    ウィンドウクラスã¯ã€ä¸Šå›³ã®ã‚ˆã†ã« "ahk_class"ã¨ã„ã†å˜èªžã‚’使ã£ã¦ã‚¿ã‚¤ãƒˆãƒ«ã¨åŒºåˆ¥ã—ã¾ã™ã€‚複数ã®æ¡ä»¶ã‚’組ã¿åˆã‚ã›ã‚‹å ´åˆã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã‚’最åˆã«è¨˜è¼‰ã—ã¾ã™ã€‚事例:"Untitled ahk_class Notepad".

    Related: ahk_class

    Process Name/Path

    @@ -77,7 +77,7 @@

    プロセスID(PID)

    ãã®ã†ã¡ã®2ã¤ã¯ã€Run関数ã®æœªä½¿ç”¨ã®WorkingDir㨠Optionsパラメータをスキップã™ã‚‹ãŸã‚ã§ã€å¿…è¦ãªã‚‚ã®ï¼ˆOutputVarPID)ã¯ã€ç¬¬4パラメータã ã‹ã‚‰ã§ã™ã€‚

    アンパサンド(&)ã¯å‚照演算å­ã§ã™ã€‚Run関数ã«notepad_pid変数をå‚照渡ã—(ã¤ã¾ã‚Šã€å€¤ã§ã¯ãªã変数ãã®ã‚‚ã®ã‚’渡ã™ï¼‰ã€é–¢æ•°ãŒå¤‰æ•°ã«æ–°ã—ã„値を代入ã§ãるよã†ã«ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ã™ã‚‹ã¨ã€notepad_pidã¯å®Ÿéš›ã®ãƒ—ロセスIDã®ãƒ—レースホルダーã«ãªã‚Šã¾ã™ã€‚

    文字列"ahk_pid"ã¯ã€å¤‰æ•°notepad_pidãŒå«ã‚€ãƒ—ロセスIDã¨ã€ç©ºç™½ã§åŒºåˆ‡ã£ã¦é †ç•ªã«æ›¸ãã ã‘ã§é€£çµã•ã‚Œã¾ã™ã€‚çµæžœã¯ "ahk_pid 1040"ã®ã‚ˆã†ãªæ–‡å­—列ã«ãªã‚Šã¾ã™ãŒã€æ•°å­—ã¯äºˆæ¸¬ã§ãã¾ã›ã‚“。

    -

    æ–°ã—ã„プロセスã§è¤‡æ•°ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’作æˆã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹å ´åˆã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãã®ä»–ã®æ¡ä»¶ã‚’スペースã§åŒºåˆ‡ã‚‹ã“ã¨ã§çµ„ã¿åˆã‚ã›ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¯å¿…ãšæœ€åˆã«è¡¨ç¤ºã•ã‚Œã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚For example: "Untitled ahk_class Notepad ahk_pid " notepad_pid.

    +

    æ–°ã—ã„プロセスã§è¤‡æ•°ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’作æˆã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹å ´åˆã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãã®ä»–ã®æ¡ä»¶ã‚’スペースã§åŒºåˆ‡ã‚‹ã“ã¨ã§çµ„ã¿åˆã‚ã›ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¯å¿…ãšæœ€åˆã«è¡¨ç¤ºã•ã‚Œã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚事例:"Untitled ahk_class Notepad ahk_pid " notepad_pid.

    関連ã™ã‚‹ ahk_pid

    ウインドウID (HWND)

    @@ -131,10 +131,10 @@

    タイムアウト

    Expressions (Math etc.)

    ウィンドウを移動ã•ã›ã‚‹å ´åˆã€WinGetPos関数ã§å–å¾—ã§ãる以å‰ã®ä½ç½®ã‚„サイズã‹ã‚‰ã®ç›¸å¯¾ç§»å‹•ãŒä¾¿åˆ©ãªã“ã¨ãŒå¤šã„ã§ã™ã€‚例ãˆã°ã€RCtrlを押ã—ãªãŒã‚‰çŸ¢å°ã‚­ãƒ¼ã‚’押ã™ã“ã¨ã§ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’å„æ–¹å‘ã«10ピクセルãšã¤ç§»å‹•ã•ã›ã‚‹ã“ã¨ãŒã§ãるホットキーã®ã‚»ãƒƒãƒˆã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚

    -
    >^Left::    MoveActiveWindowBy(-10,   0)
    ->^Right::   MoveActiveWindowBy(+10,   0)
    ->^Up::      MoveActiveWindowBy(  0, -10)
    ->^Down::    MoveActiveWindowBy(  0, +10)
    +
    >^Left::MoveActiveWindowBy(-10,   0)
    +>^Right::MoveActiveWindowBy(+10,   0)
    +>^Up::MoveActiveWindowBy(  0, -10)
    +>^Down::MoveActiveWindowBy(  0, +10)
     
     MoveActiveWindowBy(x, y) {
         WinExist "A"  ; アクティブウィンドウをLast Found Windowã«ã—ã¾ã™ã€‚
    diff --git a/target/docs/howto/RunPrograms.htm b/target/docs/howto/RunPrograms.htm
    index 0201223d3..15d913709 100644
    --- a/target/docs/howto/RunPrograms.htm
    +++ b/target/docs/howto/RunPrograms.htm
    @@ -31,7 +31,7 @@ 

    コマンドラインパラメーター

    ã“ã®ã‚³ãƒ¼ãƒ‰ã‚’実行ã—ã€ãã®çµæžœã‹ã‚‰ä½•ã‚’å­¦ã¶ã“ã¨ãŒã§ãã‚‹ã‹ã‚’確èªã—ã¾ã™ã€‚

    ãªã‚‹ã»ã©ã€æ–°ã—ã„コードã¯å‹•ã‹ãªã„ã‚“ã§ã™ã­ã€‚エラーダイアログã¯ã€ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã®éŽç¨‹ã§ã¯å½“ãŸã‚Šå‰ã®ã“ã¨ã§ã‚ã‚Šã€éžå¸¸ã«æœ‰ç”¨ãªæƒ…å ±ãŒå«ã¾ã‚Œã¦ã„ã‚‹ã“ã¨ãŒå¤šã„ã‹ã‚‰ã§ã™ã€‚ã“ã®ä¸€æžšã§ã€ã„ãã¤ã‹ã®ã“ã¨ãŒã‚ã‹ã‚‹ã¯ãšã ã€‚

      -
    • Firstly, the obvious: the program couldn't be launched.
    • +
    • ã¾ãšã€å½“ãŸã‚Šå‰ã®ã“ã¨ã§ã™ãŒã€‚ã¨è¡¨ç¤ºã•ã‚Œã€ãƒ—ログラムãŒèµ·å‹•ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚
    • ダイアログã«ã¯ã€ŒActionã€ã¨ã€ŒParamsã€ãŒè¡¨ç¤ºã•ã‚Œã¦ã„ã¾ã™ãŒã€ã€ŒActionã€ã®æ¨ªã«ã¯ç§ãŸã¡ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å…¨ä½“ãŒè¡¨ç¤ºã•ã‚Œã€ã€ŒParamsã€ã¯ç©ºã«ãªã£ã¦ã„ã¾ã™ã€‚ã¤ã¾ã‚Šã€Run関数ã¯ã€ãƒ—ログラムåã®çµ‚ã‚ã‚Šã¨ãƒ‘ラメータã®å§‹ã¾ã‚Šã‚’知らãªã„ã®ã§ã™ã€‚
    • "システムã¯æŒ‡å®šã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’見ã¤ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã›ã‚“"(英語版システムã«ãŠã„ã¦ï¼‰ã€‚ãŠãらãã€ã‚·ã‚¹ãƒ†ãƒ ã¯ã€Œwordpadã€ã‚’見ã¤ã‘られãªã‹ã£ãŸã®ã§ã—ょã†ãŒã€æœ¬å½“ã«è¨€ã£ã¦ã„ã‚‹ã®ã¯ã€ã€Œwordpad C:・・・ã€ã¨ã„ã†ã‚ˆã†ãªãƒ•ã‚¡ã‚¤ãƒ«ãŒå­˜åœ¨ã—ãªã„ã€ã¨ã„ã†ã“ã¨ãªã®ã§ã—ょã†ã€‚
    @@ -44,7 +44,7 @@

    コマンドラインパラメーター

    ã¨ã‚Šã‚ãˆãšã€ä¸€ç•ªç°¡å˜ãªé¸æŠžè‚¢ã‚’é¸ã‚“ã§ãã ã•ã„。

    Run "wordpad.exe C:\Program Files\AutoHotkey\license.txt"
    -

    Now WordPad launches, but it shows an error: "C:\Program" wasn't found.

    +

    ã“ã‚Œã§WordPadã¯èµ·å‹•ã™ã‚‹ã®ã§ã™ãŒã€ã‚¨ãƒ©ãƒ¼ãŒè¡¨ç¤ºã•ã‚Œã¾ã™ã€‚"C:\Program" ã¯è¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚

    引用符ã¨ã‚¹ãƒšãƒ¼ã‚¹

    コマンドラインパラメーターをプログラムã«æ¸¡ã™éš›ã€ãƒ‘ラメーターã«ã‚¹ãƒšãƒ¼ã‚¹ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€å„パラメーターを引用符ã§å›²ã‚€å¿…è¦ãŒã‚ã‚‹ã“ã¨ãŒã‚ˆãã‚ã‚Šã¾ã™ã€‚ã“ã‚Œã¯ãƒ¡ãƒ¢å¸³ã§ã¯å¿…è¦ãªã‹ã£ãŸã®ã§ã™ãŒã€ãƒ¡ãƒ¢å¸³ã¯ä¸€èˆ¬çš„ãªä¾‹å¤–ã§ã™ã€‚å˜ç´”ã«å¼•ç”¨ç¬¦ã‚’増やã›ã°ã„ã„ã¨ã„ã†å®‰ç›´ãªç™ºæƒ³ã§è§£æ±ºã§ãã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。

    @@ -61,8 +61,8 @@

    引用符ã¨ã‚¹ãƒšãƒ¼ã‚¹

    変数をå«ã‚€

    コマンドラインã«ã¯ã€ã—ã°ã—ã°ã„ãã¤ã‹ã®å¤‰æ•°ã‚’å«ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚例ãˆã°ã€"Program Files" ディレクトリã®å ´æ‰€ã¯ã‚·ã‚¹ãƒ†ãƒ ã«ã‚ˆã£ã¦ç•°ãªã‚‹ã“ã¨ãŒã‚ã‚Šã€ã‚¹ã‚¯ãƒªãƒ—トã¯A_ProgramFiles変数を使用ã™ã‚‹ã“ã¨ã§ã“れを考慮ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚変数ã«ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å…¨ä½“ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã¯ã€ãã®å¤‰æ•°ã‚’Run関数ã«æ¸¡ã™ã ã‘ã§å®Ÿè¡Œã§ãã¾ã™ã€‚

    -
    Run A_ComSpec  ; Start a command prompt (almost always cmd.exe).
    -Run A_MyDocuments  ; Open the user's Documents folder.
    +
    Run A_ComSpec  ; コマンドプロンプト(ã»ã¨ã‚“ã©ã®å ´åˆcmd.exe)を起動ã—ã¾ã™ã€‚
    +Run A_MyDocuments  ; ユーザーã®Documentsフォルダを開ã。

    引用符ã§å›²ã¾ã‚ŒãŸæ–‡å­—列ã®ä¸­ã«å¤‰æ•°ã‚’入れã¦ã‚‚ã†ã¾ãã„ã‹ãªã„ã®ã§ã€ä»£ã‚ã‚Šã«é€£çµã‚’使ã£ã¦ãƒªãƒ†ãƒ©ãƒ«æ–‡å­—列ã¨å¤‰æ•°ã‚’連çµã—ã¾ã™ã€‚事例:

    Run 'notepad.exe "' A_MyDocuments '\AutoHotkey.ahk"'

    ã¾ãŸã€Formatを使用ã—ã¦ç½®æ›ã‚’è¡Œã†æ–¹æ³•ã‚‚ã‚ã‚Šã¾ã™ã€‚事例:

    diff --git a/target/docs/howto/SendKeys.htm b/target/docs/howto/SendKeys.htm index c57d0b702..d1769c1f7 100644 --- a/target/docs/howto/SendKeys.htm +++ b/target/docs/howto/SendKeys.htm @@ -26,7 +26,7 @@

    例題ã®è©¦ç”¨

    例題を試ã™æ–¹æ³•ãŒã‚ã‹ã‚‰ãªã„å ´åˆã¯ã€ã€Œä¾‹é¡Œã‚³ãƒ¼ãƒ‰ã‚’実行ã™ã‚‹æ–¹æ³•ã€ã‚’ã”覧ãã ã•ã„。

    コードã®æ›¸ãæ–¹

    -

    キーをé€ä¿¡ã™ã‚‹å ´åˆã€ä¸€èˆ¬çš„ã«ã¯ã€ã‚­ãƒ¼ã¾ãŸã¯ã‚­ãƒ¼ã®çµ„ã¿åˆã‚ã›ã‚’é€ä¿¡ã—ã¦ãã®åŠ¹æžœã‚’å¾—ã‚‹ã‹ï¼ˆã‚¯ãƒªãƒƒãƒ—ボードã«ã‚³ãƒ”ーã™ã‚‹Ctrl+Cã®ã‚ˆã†ãªï¼‰ã€ä½•ã‚‰ã‹ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’入力ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚:Typing text is simpler, so we'll start there: just call the SendText function, passing it the exact text you want to send.

    +

    キーをé€ä¿¡ã™ã‚‹å ´åˆã€ä¸€èˆ¬çš„ã«ã¯ã€ã‚­ãƒ¼ã¾ãŸã¯ã‚­ãƒ¼ã®çµ„ã¿åˆã‚ã›ã‚’é€ä¿¡ã—ã¦ãã®åŠ¹æžœã‚’å¾—ã‚‹ã‹ï¼ˆã‚¯ãƒªãƒƒãƒ—ボードã«ã‚³ãƒ”ーã™ã‚‹Ctrl+Cã®ã‚ˆã†ãªï¼‰ã€ä½•ã‚‰ã‹ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’入力ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚:文字入力ã®æ–¹ãŒç°¡å˜ãªã®ã§ã€ã¾ãšã¯ãã“ã‹ã‚‰ã€‚SendText関数を呼ã³å‡ºã—ã€é€ä¿¡ã—ãŸã„テキストを正確ã«æ¸¡ã™ã ã‘ã§ã™ã€‚

    ^1::SendText "To Whom It May Concern"

    技術的ã«ã¯ã€SendTextã¯å®Ÿéš›ã«ã¯ã‚­ãƒ¼ã‚¹ãƒˆãƒ­ãƒ¼ã‚¯ã§ã¯ãªãã€Unicodeã®æ–‡å­—パケットをé€ä¿¡ã™ã‚‹ãŸã‚ã€Shift+2 or AltGr+aã®ã‚ˆã†ãªã‚­ãƒ¼ã‚³ãƒ³ãƒ“ãƒãƒ¼ã‚·ãƒ§ãƒ³ã§é€šå¸¸å…¥åŠ›ã•ã‚Œã‚‹æ–‡å­—ã«å¯¾ã—ã¦ã‚ˆã‚Šä¿¡é ¼æ€§ãŒé«˜ããªã‚Šã¾ã™ã€‚

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

    引用符ã§å›²ã¾ã‚ŒãŸæ–‡å­—列ã®ãƒ«ãƒ¼ãƒ«ä¸Šã§è¦‹ãŸã‚ˆã†ã«ã€ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—文字`( backquoteã€backtickã€grave accentãªã©ã®åå‰ã§çŸ¥ã‚‰ã‚Œã¦ã„る)ã«ã¯ç‰¹åˆ¥ãªæ„味ãŒã‚ã‚‹ã®ã§ã€ãã®æ–‡å­—を文字通りé€ã‚ŠãŸã„(ã¾ãŸã¯å¯¾å¿œã™ã‚‹ã‚­ãƒ¼ã‚’é€ã‚ŠãŸã„)場åˆã¯ã€ Send "``" よã†ã«äºŒé‡ã«ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ãã®ä»–ã«ã‚ˆã使ã‚れるエスケープシーケンスã¨ã—ã¦ã€æ”¹è¡Œï¼ˆEnter)を表ã™`nã€ã‚¿ãƒ–を表ã™`tãŒã‚ã‚Šã¾ã™ã€‚詳ã—ãã¯ã€Œã‚¨ã‚¹ã‚±ãƒ¼ãƒ—シーケンスã€ã‚’ã”覧ãã ã•ã„。

    キーã¨ã‚­ãƒ¼ã®çµ„ã¿åˆã‚ã›ã®é€ä¿¡

    -

    SendTextã¯ãƒ†ã‚­ã‚¹ãƒˆã‚’ãã®ã¾ã¾é€ä¿¡ã™ã‚‹ã®ã«é©ã—ã¦ã„ã¾ã™ãŒã€Leftã‚„ Homeã®ã‚ˆã†ãªãƒ†ã‚­ã‚¹ãƒˆã‚’生æˆã—ãªã„キーã¯é€ä¿¡ã§ãã¾ã›ã‚“。Sendã€SendInputã€SendPlayã€SendEventã€ControlSendã¯ã€ãƒ†ã‚­ã‚¹ãƒˆã¨ã‚­ãƒ¼ã®çµ„ã¿åˆã‚ã›ã€ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã‚’生æˆã—ãªã„キーã®ä¸¡æ–¹ã‚’é€ä¿¡ã§ãã¾ã™ã€‚To do all of this, they add special meaning to the following symbols: ^!+#{}

    +

    SendTextã¯ãƒ†ã‚­ã‚¹ãƒˆã‚’ãã®ã¾ã¾é€ä¿¡ã™ã‚‹ã®ã«é©ã—ã¦ã„ã¾ã™ãŒã€Leftã‚„ Homeã®ã‚ˆã†ãªãƒ†ã‚­ã‚¹ãƒˆã‚’生æˆã—ãªã„キーã¯é€ä¿¡ã§ãã¾ã›ã‚“。Sendã€SendInputã€SendPlayã€SendEventã€ControlSendã¯ã€ãƒ†ã‚­ã‚¹ãƒˆã¨ã‚­ãƒ¼ã®çµ„ã¿åˆã‚ã›ã€ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã‚’生æˆã—ãªã„キーã®ä¸¡æ–¹ã‚’é€ä¿¡ã§ãã¾ã™ã€‚ãã®ãŸã‚ã«ã€æ¬¡ã®ã‚ˆã†ãªã‚·ãƒ³ãƒœãƒ«ã«ç‰¹åˆ¥ãªæ„味をæŒãŸã›ã¦ã„る。^!+#{}

    最åˆã®4ã¤ã®è¨˜å·ã¯ã€æ¨™æº–çš„ãªä¿®é£¾ã‚­ãƒ¼ã§ã‚ã‚‹Ctrl (^), Alt (!), Shift (+) and Win (#)ã«å¯¾å¿œã—ã¦ã„ã¾ã™ã“れらã¯çµ„ã¿åˆã‚ã›ã¦ä½¿ã†ã“ã¨ãŒã§ãã¾ã™ãŒã€ãれ以外ã¯æ¬¡ã®ã‚­ãƒ¼ã«ã—ã‹å½±éŸ¿ã—ã¾ã›ã‚“。

    キーをåå‰ã§é€ã‚‹å ´åˆã€ã¾ãŸã¯ä¸Šè¨˜ã®è¨˜å·ã®ã„ãšã‚Œã‹ã‚’文字ã©ãŠã‚Šé€ã‚‹å ´åˆã¯ã€ä¸­æ‹¬å¼§ã§å›²ã‚“ã§ãã ã•ã„。事例:

      @@ -119,7 +119,7 @@

      テキストを大é‡ã«é€ä¿¡ã™ã‚‹

      ( 先頭ã®ã‚¤ãƒ³ãƒ‡ãƒ³ãƒˆãŒå–り除ã‹ã‚Œã¾ã™ã€‚ ã‚’1行目ã¨ã—ã¦ã„ã¾ã™ã€‚ - 改行ãŒä¿æŒã•ã‚Œã¾ã™ +改行ãŒä¿æŒã•ã‚Œã¾ã™ "Join"オプションを使用ã—ãªã„é™ã‚Šã€‚ )"

    一般的ã«ã‹ãªã‚Šé«˜é€Ÿã§ã™ãŒã€SendTextã¯ã¾ã å„文字を一度ã«é€ä¿¡ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã€Sendã¯ä¸€èˆ¬çš„ã«å°‘ãªãã¨ã‚‚2å€ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ï¼ˆã‚­ãƒ¼ãƒ€ã‚¦ãƒ³ãƒ»ã‚­ãƒ¼ã‚¢ãƒƒãƒ—)をé€ä¿¡ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ãã®ãŸã‚ã€å¤§é‡ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’é€ä¿¡ã™ã‚‹éš›ã«ã¯ã€é¡•è‘—ãªé…延ãŒç™ºç”Ÿã—ã¾ã™ã€‚ã¾ãŸã€é…延ãŒé•·ããªã‚‹ã¨ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®å…¥åŠ›ã¨è¡çªã—ãŸã‚Šã€ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ã®ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ãŒãšã‚ŒãŸã‚Šã€ãã®ä»–ã®æ¡ä»¶ãŒå¤‰åŒ–ã™ã‚‹ãƒªã‚¹ã‚¯ãŒé«˜ããªã‚‹ãŸã‚ã€ä¿¡é ¼æ€§ãŒä½Žããªã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚

    @@ -130,10 +130,10 @@

    テキストを大é‡ã«é€ä¿¡ã™ã‚‹

    (Join`s ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã¯ã€ã‚¯ãƒªãƒƒãƒ—ボードã«ç½®ã‹ã‚Œã¾ã™ã€‚ ã§ã€Ctrl+Vã‚’é€ã‚‹ã¨ä¸‹ã«è²¼ã‚Šä»˜ã‘られã¾ã™ã€‚ - )" +)" Send "^v" Sleep 500 ; Ctrl+V ãŒå‡¦ç†ã•ã‚Œã‚‹ã¾ã§å°‘ã—å¾…ã¤ã€‚ - A_Clipboard := old_clip ; Restore previous clipboard content + A_Clipboard := old_clip ; 以å‰ã®ã‚¯ãƒªãƒƒãƒ—ボードã®å†…容を復元ã™ã‚‹ }
    diff --git a/target/docs/howto/WriteHotkeys.htm b/target/docs/howto/WriteHotkeys.htm index 091ed763e..7bfe4a60b 100644 --- a/target/docs/howto/WriteHotkeys.htm +++ b/target/docs/howto/WriteHotkeys.htm @@ -22,7 +22,7 @@

    ホットキーã®æ›¸ãæ–¹

    if WinExist("ahk_class Notepad") WinActivate ; 上記ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’アクティブã«ã—ã¾ã™ã€‚ else - Run "notepad" ; Open a new Notepad window + Run "notepad" ; メモ帳ã®æ–°è¦ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’é–‹ã }

    ã¾ãŸã€å†’é ­ã®ãƒ–レースã¯ã€ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã¨åŒã˜è¡Œã«ã€::ã®å¾Œã«æ›¸ãã“ã¨ãŒã§ãã¾ã™ã€‚

    ダブルコロンホットキーã«ç¶šãブロックã¯æš—é»™ã®ã†ã¡ã«é–¢æ•°æœ¬ä½“ã¨ãªã‚Šã¾ã™ãŒã€ã“ã‚Œã¯ç‹¬è‡ªã®å¤‰æ•°ã‚’定義ã™ã‚‹å ´åˆã«ã®ã¿é‡è¦ã§ã™ã€‚ã¨ã‚Šã‚ãˆãšã€ãƒ–ロックã¯è¤‡æ•°ã®è¡Œã‚’1ã¤ã®ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚„ステートメントã¨ã—ã¦ã¾ã¨ã‚ã‚‹ãŸã‚ã«ä½¿ã‚れるã¨ã„ã†ã“ã¨ã ã‘ã¯çŸ¥ã£ã¦ãŠã„ã¦ãã ã•ã„(ã“ã®ã“ã¨ã«ã¤ã„ã¦è©³ã—ã知りãŸã„æ–¹ã¯ã€ã€Œã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãƒ•ãƒ­ãƒ¼ã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„)。

    diff --git a/target/docs/index.htm b/target/docs/index.htm index 57cbfe7cf..ecd91d15e 100644 --- a/target/docs/index.htm +++ b/target/docs/index.htm @@ -15,7 +15,7 @@

    Version 2.0.14

    https://www.autohotkey.com

    © 2014 Steve Gray, Chris Mallett, portions ©AutoIt Teamand various others

    -

    Software License: GNU General Public License

    +

    ソフトウェアライセンスGNU一般公衆ライセンス

    クイックリファレンス

    ã¯ã˜ã‚ã«

    @@ -36,8 +36,8 @@

    クイックリファレンス

    スクリプト:

      -
    • Concepts and conventions: explanations of various things you need to know.
    • -
    • Scripting language: how to write scripts.
    • +
    • 概念ã¨æ…£ç¿’ã•ã¾ã–ã¾ãªè§’度ã‹ã‚‰ã®è§£èª¬
    • +
    • スクリプト言語スクリプトã®æ›¸ãæ–¹
    • ãã®ä»–ã®ãƒˆãƒ”ックス
    • æ­è¼‰æ©Ÿèƒ½ä¸€è¦§
    • 変数ã¨å¼
    • diff --git a/target/docs/lib/A_Clipboard.htm b/target/docs/lib/A_Clipboard.htm index de59fb832..217570cd7 100644 --- a/target/docs/lib/A_Clipboard.htm +++ b/target/docs/lib/A_Clipboard.htm @@ -15,7 +15,7 @@

      A_Clipboard

      A_Clipboardã¯ã€Windowsã®ã‚¯ãƒªãƒƒãƒ—ボードã®å†…容ãŒãƒ†ã‚­ã‚¹ãƒˆã¨ã—ã¦è¡¨ç¾ã§ãã‚‹å ´åˆã«ã€ãã®å†…容をå映ã™ã‚‹çµ„ã¿è¾¼ã¿å¤‰æ•°ã§ã™ã€‚

      -

      A_Clipboardã®å„è¡Œã®ãƒ†ã‚­ã‚¹ãƒˆã¯é€šå¸¸ã€ã‚­ãƒ£ãƒªãƒƒã‚¸ãƒªã‚¿ãƒ¼ãƒ³ã¨ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆCR+LF)ã§çµ‚ã‚ã‚Šã€ã‚¹ã‚¯ãƒªãƒ—トã§ã¯`r`nã¨è¡¨ç¾ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚Files (such as those copied from an open Explorer window via Ctrl+C) are considered to be text: They are automatically converted to their filenames (with full path) whenever A_Clipboard is referenced in the script. ファイルを1ã¤ãšã¤å–り出ã™å ´åˆã¯ã€ã“ã®ä¾‹ã«å¾“ã£ã¦ãã ã•ã„。

      +

      A_Clipboardã®å„è¡Œã®ãƒ†ã‚­ã‚¹ãƒˆã¯é€šå¸¸ã€ã‚­ãƒ£ãƒªãƒƒã‚¸ãƒªã‚¿ãƒ¼ãƒ³ã¨ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆCR+LF)ã§çµ‚ã‚ã‚Šã€ã‚¹ã‚¯ãƒªãƒ—トã§ã¯`r`nã¨è¡¨ç¾ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ファイル(Ctrl+Cã§é–‹ã„ãŸã‚¨ã‚¯ã‚¹ãƒ—ローラーウィンドウã‹ã‚‰ã‚³ãƒ”ーã—ãŸã‚‚ã®ãªã©ï¼‰ã¯ãƒ†ã‚­ã‚¹ãƒˆã¨ã¿ãªã•ã‚Œã¾ã™ã€‚スクリプト内ã§A_ClipboardãŒå‚ç…§ã•ã‚Œã‚‹ãŸã³ã«ã€ãれらã¯è‡ªå‹•çš„ã«ãƒ•ã‚¡ã‚¤ãƒ«å(フルパス付ã)ã«å¤‰æ›ã•ã‚Œã¾ã™ã€‚ファイルを1ã¤ãšã¤å–り出ã™å ´åˆã¯ã€ã“ã®ä¾‹ã«å¾“ã£ã¦ãã ã•ã„。

      Loop Parse A_Clipboard, "`n", "`r"
       {
           Result := MsgBox("File number " A_Index " is " A_LoopField ".`n`nContinue?",, 4)
      @@ -25,16 +25,16 @@ 

      A_Clipboard

      ファイルåをアルファベット順ã«ä¸¦ã¹ã‚‹ã«ã¯ã€ã€Œã‚½ãƒ¼ãƒˆã€æ©Ÿèƒ½ã‚’使ã„ã¾ã™ã€‚クリップボード上ã®ãƒ•ã‚¡ã‚¤ãƒ«åをファイルã«æ›¸ã込むã«ã¯ã€FileAppendA_Clipboard "`r`n", "C:Â¥My File.txt"ã¨ã—ã¾ã™ã€‚クリップボードãŒä»–ã®ã‚¢ãƒ—リケーションã§ä½¿ç”¨ã•ã‚Œã¦ã„ã‚‹å ´åˆãªã©ã€ã‚¹ã‚¯ãƒªãƒ—トãŒã‚¯ãƒªãƒƒãƒ—ボードを開ã“ã†ã¨ã™ã‚‹æ™‚間を変更ã™ã‚‹ã«ã¯ã€#ClipboardTimeoutを使用ã—ã¾ã™ã€‚

      ClipWaitã¯ã€ã‚¯ãƒªãƒƒãƒ—ボードã«ãƒ‡ãƒ¼ã‚¿ï¼ˆã‚ªãƒ—ションã§éžãƒ†ã‚­ã‚¹ãƒˆãƒ‡ãƒ¼ã‚¿ã‚‚å«ã‚€ï¼‰ãŒå«ã¾ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’検出ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãる。

      -
      A_Clipboard := ""  ; Start off empty to allow ClipWait to detect when the text has arrived.
      +
      A_Clipboard := ""  ; テキストãŒåˆ°ç€ã—ãŸã“ã¨ã‚’ClipWaitãŒæ¤œå‡ºã§ãるよã†ã«ã€ç©ºã§ã‚¹ã‚¿ãƒ¼ãƒˆã—ã¾ã™ã€‚
       Send "^c"
      -ClipWait  ; Wait for the clipboard to contain text.
      +ClipWait  ; クリップボードã«ãƒ†ã‚­ã‚¹ãƒˆãŒå…¥ã‚‹ã®ã‚’å¾…ã¡ã¾ã™ã€‚
       MsgBox "Control-C copied the following contents to the clipboard:`n`n" A_Clipboard
        -
      • ClipboardAll: For operating upon everything on the clipboard (such as pictures and formatting).
      • -
      • OnClipboardChange: For detecting and responding to clipboard changes.
      • +
      • ClipboardAll:クリップボード上ã®ã™ã¹ã¦ã®ã‚‚ã®ï¼ˆç”»åƒã‚„書å¼ãªã©ï¼‰ã‚’æ“作ã™ã‚‹ãŸã‚ã®ã‚‚ã®ã§ã™ã€‚
      • +
      • OnClipboardChange:クリップボードã®å¤‰åŒ–を検知ã—ã¦å¯¾å¿œã™ã‚‹ãŸã‚。

      例

      @@ -65,8 +65,8 @@

      例

      AutoHotkey v1 ã§æ›¸ã‹ã‚ŒãŸã‚¯ãƒªãƒƒãƒ—ボードユーティリティã§ã™ã€‚

        -
      • Deluxe Clipboard: Provides unlimited number of private, named clipboards to Copy, Cut, Paste, Append or CutAppend of selected text.
      • -
      • ClipStep: Control multiple clipboards using only the keyboard's Ctrl-X-C-V.
      • +
      • Deluxe Clipboard:é¸æŠžã—ãŸãƒ†ã‚­ã‚¹ãƒˆã‚’コピーã€ã‚«ãƒƒãƒˆã€ãƒšãƒ¼ã‚¹ãƒˆã€ã‚¢ãƒšãƒ³ãƒ‰ã€ã‚«ãƒƒãƒˆã‚¢ãƒšãƒ³ãƒ‰ã™ã‚‹ãŸã‚ã®ãƒ—ライベートãªåå‰ä»˜ãクリップボードを無制é™ã«æä¾›ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
      • +
      • ClipStep:キーボードã®Ctrl-X-C-Vã ã‘ã§è¤‡æ•°ã®ã‚¯ãƒªãƒƒãƒ—ボードをæ“作ã§ãã¾ã™ã€‚
      diff --git a/target/docs/lib/A_HotkeyModifierTimeout.htm b/target/docs/lib/A_HotkeyModifierTimeout.htm index 93772bbb8..dbda92b9c 100644 --- a/target/docs/lib/A_HotkeyModifierTimeout.htm +++ b/target/docs/lib/A_HotkeyModifierTimeout.htm @@ -23,7 +23,7 @@

      備考

    • ホットキーã¯ã€SendInputã¾ãŸã¯SendPlayメソッドã§ã‚­ãƒ¼ã‚¹ãƒˆãƒ­ãƒ¼ã‚¯ã‚’é€ä¿¡ã—ã¾ã™ã€‚ã“ã‚Œã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚­ãƒ¼ã‚’押ã—ãŸã‚Šé›¢ã—ãŸã‚Šã™ã‚‹æ“作をã€é€ä¿¡å®Œäº†å¾Œã¾ã§å»¶æœŸã™ã‚‹ãŸã‚ã§ã™ã€‚
    • The script has the keyboard hook installed (you can see if your script uses the hook via the "View->Key history" menu item in the main window, or via the KeyHistory function). This is because the hook can keep track of which modifier keys (Alt/Ctrl/Win/Shift) the user is physically holding down and doesn't need to use the timeout.
    -

    To illustrate the effect of this variable, consider this example: ^!a::Send "abc".

    +

    ã“ã®å¤‰æ•°ã®åŠ¹æžœã‚’説明ã™ã‚‹ãŸã‚ã«ã€ã“ã®ä¾‹ã‚’考ãˆã¦ã¿ã¾ã—ょã†ã€‚^!a::Send "abc".

    Send関数ãŒå®Ÿè¡Œã•ã‚Œã‚‹ã¨ã€ã¾ãšCtrl㨠Altを解除ã—ã¦ã€æ–‡å­—ãŒæ­£ã—ãé€ä¿¡ã•ã‚Œã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚ã™ã¹ã¦ã®ã‚­ãƒ¼ã‚’é€ä¿¡ã—ãŸå¾Œã€é–¢æ•°ã¯Ctrl㨠Altを安全ã«æŠ¼ã—戻ã›ã‚‹ã‹ã©ã†ã‹ï¼ˆãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã¾ã æŠ¼ã—続ã‘ã¦ã„ã‚‹ã‹ã©ã†ã‹ã‚’確èªã™ã‚‹ãŸã‚)ã‚ã‹ã‚‰ãªã„。ã—ã‹ã—ã€æŒ‡å®šã•ã‚ŒãŸãƒŸãƒªç§’未満ã—ã‹çµŒéŽã—ã¦ã„ãªã„å ´åˆã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã¾ã ã‚­ãƒ¼ã‚’離ã™æ©Ÿä¼šãŒãªã‹ã£ãŸã¨åˆ¤æ–­ã—ã€ç‰©ç†çš„ãªçŠ¶æ…‹ã«åˆã‚ã›ã¦ã‚­ãƒ¼ã‚’押ã—戻ã—ã¾ã™ã€‚ãã†ã—ãªã„ã¨ã€ä¿®é£¾ã‚­ãƒ¼ãŒæŠ¼ã—戻ã•ã‚Œãšã€åŒã˜ã‚­ãƒ¼ã‚„別ã®ã‚­ãƒ¼ã‚’修飾ã•ã›ã‚‹ãŸã‚ã«ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ä¸€æ—¦ã‚­ãƒ¼ã‚’離ã—ã¦å†åº¦æŠ¼ã™å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    タイムアウトã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒé€šå¸¸ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã®ä¿®é£¾å­ã‚’押ã—ãŸã¾ã¾é›¢ã™æ™‚間よりも短ã„値ã«è¨­å®šã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ãã†ã§ãªã„ã¨ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒç‰©ç†çš„ã«æŠ¼ã•ãˆã¦ã„ãªãã¦ã‚‚ã€ãƒ¢ãƒ‡ã‚£ãƒ•ã‚¡ã‚¤ã‚¢ãŒãƒ€ã‚¦ãƒ³ãƒã‚¸ã‚·ãƒ§ãƒ³ã«å¾©å…ƒã•ã‚Œã‚‹ï¼ˆãƒ€ã‚¦ãƒ³ã§å‹•ã‹ãªããªã‚‹ï¼‰å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚

    以下ã®ã„ãšã‚Œã‹ã§ã€ã“ã®å¤‰æ•°ã®å¿…è¦æ€§ã‚’低減ã¾ãŸã¯æŽ’除ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    diff --git a/target/docs/lib/A_MaxHotkeysPerInterval.htm b/target/docs/lib/A_MaxHotkeysPerInterval.htm index ecf52ef9f..904650f1c 100644 --- a/target/docs/lib/A_MaxHotkeysPerInterval.htm +++ b/target/docs/lib/A_MaxHotkeysPerInterval.htm @@ -32,7 +32,7 @@

    備考

    例

    警告ダイアログを表示ã•ã›ã‚‹ã“ã¨ãªãã€2000ms以内ã«æœ€å¤§200個ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’押ã™ã“ã¨ãŒã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚

    -
    A_HotkeyInterval := 2000  ; This is the default value (milliseconds).
    +
    A_HotkeyInterval := 2000  ; åˆæœŸå€¤ï¼ˆãƒŸãƒªç§’)ã§ã™ã€‚
     A_MaxHotkeysPerInterval := 200
    diff --git a/target/docs/lib/A_MenuMaskKey.htm b/target/docs/lib/A_MenuMaskKey.htm index 50ebd6de8..33cce5966 100644 --- a/target/docs/lib/A_MenuMaskKey.htm +++ b/target/docs/lib/A_MenuMaskKey.htm @@ -46,13 +46,13 @@

    例

    基本的ãªä½¿ã„æ–¹ã§ã™ã€‚

    -
    A_MenuMaskKey := "vkE8"  ; Change the masking key to something unassigned such as vkE8.
    -#Space::Run A_ScriptDir  ; An additional Ctrl keystroke is not triggered.
    +
    A_MenuMaskKey := "vkE8"  ; マスキングキーをvkE8ãªã©ã®æœªå‰²ã‚Šå½“ã¦ã®ã‚‚ã®ã«å¤‰æ›´ã—ã¾ã™ã€‚
    +#Space::Run A_ScriptDir  ; 追加ã®Ctrlキーæ“作ã¯ç™ºç”Ÿã—ã¾ã›ã‚“。

    ã“ã®å¤‰æ•°ã«ã‚ˆã£ã¦ã€LControlã®ä»£ã‚ã‚Šã«vkFFãŒé€ä¿¡ã•ã‚Œã‚‹ä»•çµ„ã¿ã‚’詳ã—ã説明ã—ã¾ã™ã€‚

    -
    A_MenuMaskKey := "vkFF"  ; vkFF is no mapping.
    +
    A_MenuMaskKey := "vkFF"  ; vkFFã¯ãƒžãƒƒãƒ”ングãªã—ã§ã™ã€‚
     #UseHook
     #Space::
     !Space::
    diff --git a/target/docs/lib/Any.htm b/target/docs/lib/Any.htm
    index a902d603a..2d5e8fd4f 100644
    --- a/target/docs/lib/Any.htm
    +++ b/target/docs/lib/Any.htm
    @@ -20,20 +20,20 @@ 

    目次

    • Methods:
        -
      • GetMethod: Retrieves the implementation function of a method.
      • +
      • GetMethod:メソッドã®å®Ÿè£…関数をå–å¾—ã—ã¾ã™ã€‚
      • HasBase: Returns true if the specified base object is in the value's chain of base objects.
      • -
      • HasMethod: Returns true if the value has a method by this name.
      • -
      • HasProp: Returns true if the value has a property by this name.
      • +
      • HasMethod:値ãŒã“ã®åå‰ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’æŒã¤å ´åˆã€trueã‚’è¿”ã™ã€‚
      • +
      • HasProp:値ãŒã“ã®åå‰ã®ãƒ—ロパティをæŒã¤å ´åˆã€trueã‚’è¿”ã™ã€‚
    • Properties:
        -
      • Base: Retrieves the value's base object.
      • +
      • Base:値ã®ãƒ™ãƒ¼ã‚¹ã¨ãªã‚‹ã‚ªãƒ–ジェクトをå–å¾—ã—ã¾ã™ã€‚
    • Functions:
        -
      • ObjGetBase: Returns the value's base object.
      • +
      • ObjGetBase:値ã®ãƒ™ãƒ¼ã‚¹ã¨ãªã‚‹ã‚ªãƒ–ジェクトを返ã—ã¾ã™ã€‚
    @@ -70,7 +70,7 @@

    属性

    値ã®ãƒ™ãƒ¼ã‚¹ã¨ãªã‚‹ã‚ªãƒ–ジェクトをå–å¾—ã—ã¾ã™ã€‚

    BaseObj := Value.Base

    原始的ãªå€¤ã®å ´åˆã¯ã€Type(Value)ã«å¯¾å¿œã™ã‚‹å®šç¾©æ¸ˆã¿ã®ãƒ—ロトタイプオブジェクトãŒè¿”り値ã¨ã—ã¦è¿”ã•ã‚Œã¾ã™ã€‚

    -

    See also: ObjGetBase, ObjSetBase, Obj.Base

    +

    ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:ObjGetBase, ObjSetBase, Obj.Base

    関数

    @@ -79,7 +79,7 @@

    ObjGetBase

    BaseObj := ObjGetBase(Value)

    メタファンクションや プロパティファンクションã¯å‘¼ã³å‡ºã•ã‚Œã¾ã›ã‚“。Baseプロパティをオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã‚‚ã€ã“ã®é–¢æ•°ã®å‹•ä½œã«å½±éŸ¿ã¯ã‚ã‚Šã¾ã›ã‚“。

    ベースãŒãªã„å ´åˆã€æˆ»ã‚Šå€¤ã¯ç©ºæ–‡å­—列ã¨ãªã‚‹ã€‚Any原型ãã®ã‚‚ã®ã«ã®ã¿ãƒ™ãƒ¼ã‚¹ãŒãªã„。

    -

    See also: Base, ObjSetBase, Obj.Base

    +

    ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:Base, ObjSetBase, Obj.Base

    diff --git a/target/docs/lib/Array.htm b/target/docs/lib/Array.htm index 55b18534d..3ea6c541c 100644 --- a/target/docs/lib/Array.htm +++ b/target/docs/lib/Array.htm @@ -33,29 +33,29 @@

    目次

    • é™çš„メソッドã§ã™ã€‚
        -
      • Call: Creates a new Array containing the specified values.
      • +
      • Call:指定ã•ã‚ŒãŸå€¤ã‚’å«ã‚€æ–°ã—ã„é…列を作æˆã—ã¾ã™ã€‚
    • Methods:
        -
      • Clone: Returns a shallow copy of an array.
      • -
      • Delete: Removes the value of an array element, leaving the index without a value.
      • -
      • Get: Returns the value at a given index, or a default value.
      • +
      • Clone:é…列ã®ã‚·ãƒ£ãƒ­ãƒ¼ã‚³ãƒ”ーを返ã—ã¾ã™ã€‚
      • +
      • Delete:é…列ã®è¦ç´ ã®å€¤ã‚’削除ã—ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã«å€¤ã‚’残ã•ãªã„よã†ã«ã—ã¾ã™ã€‚
      • +
      • Get:指定ã•ã‚ŒãŸã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã«ã‚る値ã€ã¾ãŸã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’è¿”ã—ã¾ã™ã€‚
      • Has: Returns a non-zero number if the index is valid and there is a value at that position.
      • -
      • InsertAt: Inserts one or more values at a given position.
      • -
      • Pop: Removes and returns the last array element.
      • -
      • Push: Appends values to the end of an array.
      • -
      • RemoveAt: Removes items from an array.
      • -
      • __New: Appends items. プッシュã«ç›¸å½“ã—ã¾ã™ã€‚
      • -
      • __Enum: Enumerates array elements.
      • +
      • InsertAt:指定ã•ã‚ŒãŸä½ç½®ã«1ã¤ã¾ãŸã¯è¤‡æ•°ã®å€¤ã‚’挿入ã—ã¾ã™ã€‚
      • +
      • Pop:é…列ã®æœ€å¾Œã®è¦ç´ ã‚’削除ã—ã¦è¿”ã—ã¾ã™ã€‚
      • +
      • Push:é…列ã®æœ«å°¾ã«å€¤ã‚’追加ã—ã¾ã™ã€‚
      • +
      • RemoveAt:é…列ã‹ã‚‰é …目を削除ã—ã¾ã™ã€‚
      • +
      • __New:項目を追加ã—ã¾ã™ã€‚プッシュã«ç›¸å½“ã—ã¾ã™ã€‚
      • +
      • __Enum:é…列ã®è¦ç´ ã‚’列挙ã—ã¾ã™ã€‚
    • Properties:
        -
      • Length: Retrieves or sets the length of an array.
      • -
      • Capacity: Retrieves or sets the current capacity of an array.
      • -
      • Default: Defines the default value returned when an element with no value is requested.
      • -
      • __Item: Retrieves or sets the value of an array element.
      • +
      • Length:é…列ã®é•·ã•ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
      • +
      • Capacity:é…列ã®ç¾åœ¨ã®å®¹é‡ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
      • +
      • Default:値ã®ãªã„è¦ç´ ãŒè¦æ±‚ã•ã‚ŒãŸã¨ãã«è¿”ã•ã‚Œã‚‹ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’定義ã—ã¾ã™ã€‚
      • +
      • __Item:é…列ã®è¦ç´ ã®å€¤ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
    @@ -85,12 +85,12 @@

    パラメータ

    インデックス
    -

    Type: Integer

    +

    型:整数

    有効ãªé…列ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã€‚

    戻り値

    -

    Type: Any

    +

    型:任æ„

    This method returns the removed value (blank if none).

    備考

    This method does not affect the Length of the array.

    @@ -123,12 +123,12 @@

    パラメータ

    インデックス
    -

    Type: Integer

    +

    型:整数

    Value1を挿入ã™ã‚‹ä½ç½®ã‚’指定ã—ã¾ã™ã€‚ãれ以é™ã®å€¤ã¯ã€Index+1ã€Index+2 ãªã©ã«æŒ¿å…¥ã•ã‚Œã¾ã™ã€‚0を指定ã™ã‚‹ã¨ã€Length+ 1を指定ã—ãŸã®ã¨åŒã˜ã«ãªã‚Šã¾ã™ã€‚N

    Value1 ...
    -

    Type: Any

    +

    型:任æ„

    挿入ã™ã‚‹1ã¤ã¾ãŸã¯è¤‡æ•°ã®å€¤ã€‚値ã®é…列を挿入ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«æ¸¡ã—ã¾ã™ã€‚ theArray*を最後ã®ãƒ‘ラメータã¨ã—ã¦æŒ‡å®šã—ã¾ã™ã€‚

    @@ -139,7 +139,7 @@

    備考

    x.InsertAt(1, "A", "B") ; => ["A", "B"] x.InsertAt(2, "C") ; => ["A", "C", "B"] -; Missing elements are preserved: +; 欠ã‘ã¦ã„ã‚‹è¦ç´ ã¯ãã®ã¾ã¾ã§ã™ã€‚ x := ["A", , "C"] x.InsertAt(2, "B") ; => ["A", "B", , "C"] @@ -165,7 +165,7 @@

    パラメータ

    Value ...
    -

    Type: Any

    +

    型:任æ„

    挿入ã™ã‚‹1ã¤ã¾ãŸã¯è¤‡æ•°ã®å€¤ã€‚値ã®é…列を挿入ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«æ¸¡ã—ã¾ã™ã€‚ theArray*を最後ã®ãƒ‘ラメータã¨ã—ã¦æŒ‡å®šã—ã¾ã™ã€‚

    @@ -179,18 +179,18 @@

    パラメータ

    インデックス
    -

    Type: Integer

    +

    型:整数

    削除ã™ã‚‹å€¤ï¼ˆè¤‡æ•°å¯ï¼‰ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã€‚

    Length
    -

    Type: Integer

    +

    型:整数

    çœç•¥ã•ã‚ŒãŸå ´åˆã¯ã€1ã¤ã®é …ç›®ãŒå‰Šé™¤ã•ã‚Œã¾ã™ã€‚Otherwise, specify the length of the range of values to remove.

    戻り値

    -

    Type: Any

    +

    型:任æ„

    LengthãŒçœç•¥ã•ã‚ŒãŸå ´åˆã¯ã€å‰Šé™¤ã•ã‚ŒãŸå€¤ãŒè¿”ã•ã‚Œã‚‹ï¼ˆãªã„å ´åˆã¯ç©ºç™½ï¼‰ã€‚ãã†ã§ãªã„å ´åˆã¯ã€æˆ»ã‚Šå€¤ã¯ã‚ã‚Šã¾ã›ã‚“。

    備考

    RemoveAtã¯InsertAtã®å¯¾ã«ãªã‚‹ã‚‚ã®ã§ã™ã€‚

    @@ -219,12 +219,12 @@

    備考

    インデックス
    -

    Type: Integer

    +

    型:整数

    é…列ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã€‚通常ã¯A_Indexã¨åŒã˜ã€‚2パラメータモード時ã®ã¿å­˜åœ¨ã—ã¾ã™ã€‚

    値
    -

    Type: Any

    +

    型:任æ„

    値(値ãŒãªã„å ´åˆã€Value㯠未åˆæœŸåŒ–ã•ã‚Œã‚‹ï¼‰ã€‚

    diff --git a/target/docs/lib/Block.htm b/target/docs/lib/Block.htm index 2dc1a6fbf..ec7b89b5b 100644 --- a/target/docs/lib/Block.htm +++ b/target/docs/lib/Block.htm @@ -29,7 +29,7 @@

    備考

    ブロックã¯ã©ã“ã§ã‚‚使ãˆã¾ã™ãŒã€ç¾çŠ¶ã§ã¯é–¢æ•°å®šç¾©ã€Ifã€Elseã€Loopæ–‡ã€Tryã€Catchã€Finallyã§ä½¿ã†å ´åˆã«ã®ã¿æ„味をæŒã¡ã¾ã™ã€‚

    上記ã®åˆ¶å¾¡ãƒ•ãƒ­ãƒ¼æ–‡ã®ã†ã¡ã€æ–‡ãŒ1ã¤ã—ã‹ãªã„å ´åˆã€ãã®æ–‡ã¯ãƒ–ロックã§å›²ã‚€å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“(関数定義ã«ã¯ä½¿ãˆã¾ã›ã‚“)。ã—ã‹ã—ã€ãã†ã™ã‚‹ã“ã¨ã§ã‚¹ã‚¯ãƒªãƒ—トã®èª­ã¿ã‚„ã™ã•ã‚„ä¿å®ˆæ€§ãŒå‘上ã™ã‚‹å ´åˆã‚‚ã‚ã‚Šã¾ã™ã€‚

    ブロックã¯ã€ç©ºï¼ˆ0個ã®ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã‚’å«ã‚€ï¼‰ã§ã‚ã£ã¦ã‚‚よã„。ã“ã‚Œã¯ã€ãƒ–ロック自体を削除ã›ãšã«ãƒ–ロックã®å†…容をコメントアウトã—ãŸã„å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚

    -

    One True Brace (OTB, K&R style): The OTB style may optionally be used in the following places: function definitions, If, Else, Loop, While, For, Try, Catch, and Finally. ã“ã®ã‚¹ã‚¿ã‚¤ãƒ«ã§ã¯ã€ãƒ–ロックã®é–‹å§‹ãƒ–レースをブロックã®åˆ¶å¾¡æ–‡ã¨åŒã˜è¡Œã«é…ç½®ã—ã€ãƒ–ロックã®ä¸‹ã«å˜ç‹¬ã§é…ç½®ã™ã‚‹ã“ã¨ã¯ã‚ã‚Šã¾ã›ã‚“。事例:

    +

    ワン・トゥルー・ブレース(OTBã€K&Rスタイル):OTBスタイルã¯ã€ä»¥ä¸‹ã®å ´æ‰€ã§ã‚ªãƒ—ションã¨ã—ã¦ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚function definitions, If, Else, Loop, While, For, Try, Catch, åŠã³ Finally. ã“ã®ã‚¹ã‚¿ã‚¤ãƒ«ã§ã¯ã€ãƒ–ロックã®é–‹å§‹ãƒ–レースをブロックã®åˆ¶å¾¡æ–‡ã¨åŒã˜è¡Œã«é…ç½®ã—ã€ãƒ–ロックã®ä¸‹ã«å˜ç‹¬ã§é…ç½®ã™ã‚‹ã“ã¨ã¯ã‚ã‚Šã¾ã›ã‚“。事例:

    MyFunction(x, y) {
         ...
     }
    diff --git a/target/docs/lib/BlockInput.htm b/target/docs/lib/BlockInput.htm
    index 3c509eb15..ce8fc0ffb 100644
    --- a/target/docs/lib/BlockInput.htm
    +++ b/target/docs/lib/BlockInput.htm
    @@ -22,14 +22,14 @@ 

    パラメータ

    OnOff
    -

    Type: String or Integer

    +

    型:文字列ã¾ãŸã¯æ•´æ•°

    ã™ã¹ã¦ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼å…¥åŠ›ã‚’ç„¡æ¡ä»¶ã§ãƒ–ロックã™ã‚‹ãƒ¢ãƒ¼ãƒ‰ã§ã™ã€‚以下ã®ã„ãšã‚Œã‹ã®å€¤ã‚’指定ã—ã¾ã™ã€‚

    -

    On or 1 (true): The user is prevented from interacting with the computer (mouse and keyboard input has no effect).

    -

    Off or 0 (false): Input is re-enabled.

    +

    On or 1 (true):ユーザーãŒã‚³ãƒ³ãƒ”ューターã¨å¯¾è©±ã™ã‚‹ã“ã¨ãŒã§ããªã„(マウスやキーボードã®å…¥åŠ›ãŒåŠ¹æžœã‚’発æ®ã—ãªã„)状態ã§ã™ã€‚

    +

    Off or 0 (false):入力ãŒå†æœ‰åŠ¹åŒ–ã•ã‚Œã¾ã™ã€‚

    SendMouse
    -

    Type: String

    +

    型:文字列

    ã“ã®ãƒ¢ãƒ¼ãƒ‰ã¯ã€ç‰¹å®šã®é€ä¿¡ãŠã‚ˆã³/ã¾ãŸã¯ãƒžã‚¦ã‚¹æ©Ÿèƒ½ã®å®Ÿè¡Œä¸­ã«ã®ã¿ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼å…¥åŠ›ã‚’ブロックã—ã¾ã™ã€‚次ã®ã„ãšã‚Œã‹ã®å˜èªžã‚’指定ã—ã¾ã™ã€‚

    Send: The user's keyboard and mouse input is ignored while a SendEvent is in progress (including Send and SendText if SendMode "Event" has been used). ã“ã‚Œã«ã‚ˆã‚Šã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ã‚­ãƒ¼å…¥åŠ›ãŒæ¨¡æ“¬ã‚­ãƒ¼å…¥åŠ›ã®æµã‚Œã‚’ä¹±ã™ã“ã¨ã‚’防ã„ã§ã„ã¾ã™ã€‚é€ä¿¡çµ‚了後ã€å…¥åŠ›ã¯å†ã³æœ‰åŠ¹ã«ãªã‚Šã¾ã™ï¼ˆä»¥å‰ã«BlockInput "On"を使用ã—ã¦ãƒ–ロックã•ã‚Œã¦ã„ãŸå ´åˆã‚’除ã)。

    Mouse: The user's keyboard and mouse input is ignored while a Click, MouseMove, MouseClick, or MouseClickDrag is in progress (the traditional SendEvent mode only). ã“ã‚Œã«ã‚ˆã‚Šã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒžã‚¦ã‚¹ã®å‹•ãやクリックãŒã€ã‚·ãƒŸãƒ¥ãƒ¬ãƒ¼ãƒˆã•ã‚ŒãŸãƒžã‚¦ã‚¹ã‚¤ãƒ™ãƒ³ãƒˆã‚’ä¹±ã™ã“ã¨ã‚’防ãã“ã¨ãŒã§ãã¾ã™ã€‚マウスæ“作ãŒçµ‚了ã™ã‚‹ã¨ã€å…¥åŠ›ã¯å†ã³æœ‰åŠ¹ã«ãªã‚Šã¾ã™ï¼ˆä»¥å‰ã«BlockInput "On"を使用ã—ã¦ãƒ–ロックã•ã‚Œã¦ã„ã‚‹å ´åˆã‚’除ã)。

    @@ -38,7 +38,7 @@

    パラメータ

    MouseMove
    -

    Type: String

    +

    型:文字列

    ã“ã®ãƒ¢ãƒ¼ãƒ‰ã¯ã€ãƒžã‚¦ã‚¹ã‚«ãƒ¼ã‚½ãƒ«ã®ç§»å‹•ã®ã¿ã‚’ブロックã—ã¾ã™ã€‚次ã®ã„ãšã‚Œã‹ã®å˜èªžã‚’指定ã—ã¾ã™ã€‚

    MouseMove: The mouse cursor will not move in response to the user's physical movement of the mouse (DirectInput applications are a possible exception). スクリプトãŒã“ã®æ©Ÿèƒ½ã‚’åˆã‚ã¦ä½¿ç”¨ã™ã‚‹ã¨ãã€ãƒžã‚¦ã‚¹ãƒ•ãƒƒã‚¯ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¾ã™ï¼ˆã¾ã ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ãªã„å ´åˆï¼‰ã€‚マウスフックã¯ã€æ¬¡ã«ã‚µã‚¹ãƒšãƒ³ãƒ‰ã¾ãŸã¯ãƒ›ãƒƒãƒˆã‚­ãƒ¼æ©Ÿèƒ½ã‚’使用ã™ã‚‹ã¾ã§è¨­ç½®ã•ã‚ŒãŸã¾ã¾ã¨ãªã‚Šã€ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚„ホットストリングã§å¿…è¦ã¨ã•ã‚Œãªã„å ´åˆã¯ã€ãã®æ™‚点ã§å‰Šé™¤ã•ã‚Œã¾ã™ï¼ˆ#Hotstring NoMouseã‚’å‚照)。

    MouseMoveOff: Allows the user to move the mouse cursor.

    @@ -53,7 +53,7 @@

    備考

    ユーザーãŒã‚­ãƒ¼ã‚’押ã—ã¦ã„ã‚‹ã¨ãã«BlockInputãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã‚‹ã¨ã€ãã®ã‚­ãƒ¼ãŒ "stuck down"ã«ãªã£ã¦ã—ã¾ã†ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€BlockInputをオンã«ã™ã‚‹å‰ã«ã‚­ãƒ¼ãŒè§£æ”¾ã•ã‚Œã‚‹ã®ã‚’å¾…ã¤ã“ã¨ã§ã€ã“れを回é¿ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    ^!p::
     {
    -    KeyWait "Control"  ; Wait for the key to be released.  Use one KeyWait for each of the hotkey's modifiers.
    +    KeyWait "Control"  ; キーãŒè§£é™¤ã•ã‚Œã‚‹ã®ã‚’å¾…ã¡ã¾ã™ã€‚  ホットキーã®ãƒ¢ãƒ‡ã‚£ãƒ•ã‚¡ã‚¤ã‚¢ã”ã¨ã«1ã¤ã®KeyWaitを使用ã—ã¾ã™ã€‚
         KeyWait "Alt"
         BlockInput true
         ; ... キーæ“作やマウスクリックをé€ä¿¡ã™ã‚‹...
    @@ -70,7 +70,7 @@ 

    例

    BlockInput true
     Run "notepad"
     WinWaitActive "ahk_class Notepad"
    -Send "{F5}" ; pastes time and date
    +Send "{F5}" ; 時刻ã¨æ—¥ä»˜ã‚’貼り付ã‘ã¾ã™ã€‚
     BlockInput false
    diff --git a/target/docs/lib/Break.htm b/target/docs/lib/Break.htm index 967f32883..69964bf05 100644 --- a/target/docs/lib/Break.htm +++ b/target/docs/lib/Break.htm @@ -19,7 +19,7 @@

    パラメータ

    LoopLabel

    çœç•¥æ™‚ã¾ãŸã¯1ã®å ´åˆã€ã“ã®æ–‡ãŒå›²ã¾ã‚Œã¦ã„る最も内å´ã®ãƒ«ãƒ¼ãƒ—ã«é©ç”¨ã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ãƒ©ãƒ™ãƒ«åã¾ãŸã¯æ•°å€¤ã®ãƒã‚¹ãƒˆãƒ¬ãƒ™ãƒ«ã®ã„ãšã‚Œã‹ã«ã‚ˆã£ã¦ã“ã®ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã‚’ã©ã®ãƒ«ãƒ¼ãƒ—ã«é©ç”¨ã™ã‚‹ã‹ã‚’指定ã—ã¾ã™ã€‚ ラベルを指定ã™ã‚‹å ´åˆã¯ã€ãƒ«ãƒ¼ãƒ—ステートメントを直接指定ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    -

    LoopLabelã¯å®šæ•°å€¤ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„。変数やå¼ã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ãªã„。ãŸã ã—ã€æ‹¬å¼§ã§å›²ã¾ã‚ŒãŸå˜ä¸€ã®ãƒªãƒ†ãƒ©ãƒ«æ•°å€¤ã¾ãŸã¯å¼•ç”¨æ–‡å­—列ã¯ä¾‹å¤–ã§ã™ã€‚For example: break("outer")

    +

    LoopLabelã¯å®šæ•°å€¤ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„。変数やå¼ã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ãªã„。ãŸã ã—ã€æ‹¬å¼§ã§å›²ã¾ã‚ŒãŸå˜ä¸€ã®ãƒªãƒ†ãƒ©ãƒ«æ•°å€¤ã¾ãŸã¯å¼•ç”¨æ–‡å­—列ã¯ä¾‹å¤–ã§ã™ã€‚事例:break("outer")

    diff --git a/target/docs/lib/Buffer.htm b/target/docs/lib/Buffer.htm index e89e5091f..ffe4ba214 100644 --- a/target/docs/lib/Buffer.htm +++ b/target/docs/lib/Buffer.htm @@ -33,13 +33,13 @@

    目次

  21. Methods:
      -
    • __New: Allocates or reallocates the buffer and optionally fills it.
    • +
    • __New:ãƒãƒƒãƒ•ã‚¡ã®å‰²ã‚Šå½“ã¦ã¾ãŸã¯å†å‰²ã‚Šå½“ã¦ã‚’è¡Œã„ã€ã‚ªãƒ—ションã§ãƒãƒƒãƒ•ã‚¡ã‚’埋ã‚ã¾ã™ã€‚
  22. Properties:
      -
    • Ptr: Retrieves the buffer's current memory address.
    • -
    • Size: Retrieves or sets the buffer's size, in bytes.
    • +
    • Ptr:ãƒãƒƒãƒ•ã‚¡ã®ç¾åœ¨ã®ãƒ¡ãƒ¢ãƒªã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’å–å¾—ã—ã¾ã™ã€‚
    • +
    • Size:ãƒãƒƒãƒ•ã‚¡ã®ã‚µã‚¤ã‚ºã‚’ãƒã‚¤ãƒˆå˜ä½ã§å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
  23. 関連
  24. @@ -59,19 +59,19 @@

    パラメータ

    ByteCount
    -

    Type: Integer

    +

    型:整数

    割り当ã¦ã‚‹ãƒã‚¤ãƒˆæ•°ã‚’指定ã—ã¾ã™ã€‚Buffer.Sizeã«å¯¾å¿œã—ã¾ã™ã€‚

    çœç•¥ã•ã‚ŒãŸå ´åˆã€Buffer 㯠NULL(ゼロ)Ptrã¨ã‚¼ãƒ­Sizeã§ä½œæˆã•ã‚Œã¾ã™ã€‚

    FillByte
    -

    Type: Integer

    +

    型:整数

    0~255ã®æ•°å€¤ã‚’指定ã™ã‚‹ã¨ã€ãƒãƒƒãƒ•ã‚¡å†…ã®å„ãƒã‚¤ãƒˆã«ãã®æ•°å€¤ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚

    ãƒã‚¤ãƒˆæ•°ã«æ¯”例ã—ãŸæ™‚間的コストãŒã‹ã‹ã‚‹ãŸã‚ã€ãƒãƒƒãƒ•ã‚¡ã‚’読ã¿è¾¼ã¾ãšã«æ›¸ã込むよã†ãªå ´åˆã«ã¯ã€ä¸€èˆ¬ã«çœç•¥ã•ã‚Œã‚‹ã¹ãã§ã™ã€‚çœç•¥ã—ãŸå ´åˆã€ãƒãƒƒãƒ•ã‚¡ã®ãƒ¡ãƒ¢ãƒªã¯åˆæœŸåŒ–ã•ã‚Œãšã€å„ãƒã‚¤ãƒˆã®å€¤ã¯ä»»æ„ã§ã™ã€‚

    戻り値

    -

    Type: Object

    +

    型:Object

    This method or function returns a Buffer object.

    備考

    ByteCountãŒäºˆæƒ³å¤–ã«å¤§ãã„å ´åˆã‚„ã€ã‚·ã‚¹ãƒ†ãƒ ã®ä»®æƒ³ãƒ¡ãƒ¢ãƒªãŒä¸è¶³ã—ã¦ã„ã‚‹å ´åˆãªã©ã€ãƒ¡ãƒ¢ãƒªã‚’確ä¿ã§ããªã‹ã£ãŸå ´åˆã¯MemoryErrorãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

    @@ -113,22 +113,22 @@

    例

     max_chars := 11
     
    -; Allocate a buffer for use with the Unicode version of wsprintf.
    +; Unicode 版 wsprintf ã§ä½¿ç”¨ã™ã‚‹ãŸã‚ã®ãƒãƒƒãƒ•ã‚¡ã‚’確ä¿ã—ã¾ã™ã€‚
     bufW := Buffer(max_chars*2)
     
    -; Print a UTF-16 string into the buffer with wsprintfW().
    +; wsprintfW()ã§UTF-16文字列をãƒãƒƒãƒ•ã‚¡ã«å‡ºåŠ›ã—ã¾ã™ã€‚
     DllCall("wsprintfW", "Ptr", bufW, "Str", "0x%08x", "UInt", 4919, "CDecl")
     
    -; Retrieve the string from bufW and show it.
    -MsgBox StrGet(bufW, "UTF-16")  ; Or just StrGet(bufW).
    +; bufW ã‹ã‚‰æ–‡å­—列をå–り出ã—ã€è¡¨ç¤ºã—ã¾ã™ã€‚
    +MsgBox StrGet(bufW, "UTF-16")  ; ã‚ã‚‹ã„ã¯ã€StrGet(bufW)ã ã‘ã§ã™ã€‚
     
    -; Allocate a buffer for use with the ANSI version of wsprintf.
    +; ANSI 版 wsprintf ã§ä½¿ç”¨ã™ã‚‹ãŸã‚ã®ãƒãƒƒãƒ•ã‚¡ã‚’確ä¿ã—ã¾ã™ã€‚
     bufA := Buffer(max_chars)
     
    -; Print an ANSI string into the buffer with wsprintfA().
    +; wsprintfA()ã§ANSI文字列をãƒãƒƒãƒ•ã‚¡ã«å‡ºåŠ›ã—ã¾ã™ã€‚
     DllCall("wsprintfA", "Ptr", bufA, "AStr", "0x%08x", "UInt", 4919, "CDecl")
     
    -; Retrieve the string from bufA (converted to the native format), and show it.
    +; bufA ã‹ã‚‰æ–‡å­—列をå–å¾—ã—(ãƒã‚¤ãƒ†ã‚£ãƒ–å½¢å¼ã«å¤‰æ›)ã€è¡¨ç¤ºã—ã¾ã™ã€‚
     MsgBox StrGet(bufA, "CP0")
     
    diff --git a/target/docs/lib/CallbackCreate.htm b/target/docs/lib/CallbackCreate.htm index f17ccd71c..b4c985662 100644 --- a/target/docs/lib/CallbackCreate.htm +++ b/target/docs/lib/CallbackCreate.htm @@ -21,7 +21,7 @@

    パラメータ

    機能
    -

    Type: Function Object

    +

    型:機能オブジェクト

    AddressãŒå‘¼ã³å‡ºã•ã‚Œã‚‹ãŸã³ã«è‡ªå‹•çš„ã«å‘¼ã³å‡ºã•ã‚Œã‚‹é–¢æ•°ã‚ªãƒ–ジェクトã§ã™ã€‚ã¾ãŸã€ã“ã®é–¢æ•°ã¯Addressã«æ¸¡ã•ã‚ŒãŸãƒ‘ラメータをå—ã‘å–ã‚Šã¾ã™ã€‚

    クロージャã¾ãŸã¯ãƒã‚¦ãƒ³ãƒ‰é–¢æ•°ã¯ã€åŒã˜ã‚¹ã‚¯ãƒªãƒ—ト関数をã™ã¹ã¦å‘¼ã³å‡ºã™è¤‡æ•°ã®ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã‚’区別ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    コールãƒãƒƒã‚¯ã¯é–¢æ•°ã‚ªãƒ–ジェクトã¸ã®å‚照をä¿æŒã—ã€ã‚¹ã‚¯ãƒªãƒ—トãŒCallbackFreeを呼ã³å‡ºã™ã¨ãã®å‚照を解放ã—ã¾ã™ã€‚

    @@ -29,23 +29,23 @@

    パラメータ

    Options
    -

    Type: String

    +

    型:文字列

    If blank or omitted, a new thread will be started each time Function is called, the standard calling convention will be used, and the parameters will be passed individually to Function. Otherwise, specify one or more of the following options. Separate each option from the next with a space (e.g. "C Fast").

    -

    Fast or F: Avoids starting a new thread each time Function is called. ã“ã®æ–¹ãŒæ€§èƒ½ã¯è‰¯ã„ã®ã§ã™ãŒã€AddressãŒå‘¼ã³å‡ºã•ã‚Œã‚‹ã‚¹ãƒ¬ãƒƒãƒ‰ãŒå¤‰åŒ–ã™ã‚‹å ´åˆï¼ˆä¾‹ãˆã°ã€ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ãŒç€ä¿¡ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã«ã‚ˆã£ã¦ãƒˆãƒªã‚¬ãƒ¼ã•ã‚Œã‚‹å ´åˆï¼‰ã«ã¯ã€ã“ã®æ–¹æ³•ã¯é¿ã‘ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。ã“ã‚Œã¯ã€FunctionãŒå‘¼ã³å‡ºã•ã‚ŒãŸæ™‚ã«ãŸã¾ãŸã¾å®Ÿè¡Œã•ã‚Œã¦ã„ãŸã‚¹ãƒ¬ãƒƒãƒ‰ã®A_LastErrorã‚„ last-found windowãªã©ã®ã‚°ãƒ­ãƒ¼ãƒãƒ«è¨­å®šã‚’変更ã™ã‚‹ã“ã¨ãŒã§ãるよã†ã«ãªã‚‹ãŸã‚ã§ã™ã€‚詳ã—ãã¯ã€ã€Œå‚™è€ƒã€ã‚’ã”覧ãã ã•ã„。

    -

    CDecl or C: Makes Address conform to the "C" calling convention. コールãƒãƒƒã‚¯ã§ã¯æ¨™æº–ã®å‘¼ã³å‡ºã—è¦ç´„ã®æ–¹ãŒã¯ã‚‹ã‹ã«ä¸€èˆ¬çš„ãªã®ã§ã€ã“ã‚Œã¯é€šå¸¸çœç•¥ã•ã‚Œã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€x64呼ã³å‡ºã—è¦ç´„を使用ã™ã‚‹AutoHotkeyã®64ビットãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯ç„¡è¦–ã•ã‚Œã¾ã™ã€‚

    +

    Fast ã¾ãŸã¯ F:FunctionãŒå‘¼ã³å‡ºã•ã‚Œã‚‹ãŸã³ã«æ–°ã—ã„スレッドを開始ã™ã‚‹ã®ã‚’é¿ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®æ–¹ãŒæ€§èƒ½ã¯è‰¯ã„ã®ã§ã™ãŒã€AddressãŒå‘¼ã³å‡ºã•ã‚Œã‚‹ã‚¹ãƒ¬ãƒƒãƒ‰ãŒå¤‰åŒ–ã™ã‚‹å ´åˆï¼ˆä¾‹ãˆã°ã€ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ãŒç€ä¿¡ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã«ã‚ˆã£ã¦ãƒˆãƒªã‚¬ãƒ¼ã•ã‚Œã‚‹å ´åˆï¼‰ã«ã¯ã€ã“ã®æ–¹æ³•ã¯é¿ã‘ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。ã“ã‚Œã¯ã€FunctionãŒå‘¼ã³å‡ºã•ã‚ŒãŸæ™‚ã«ãŸã¾ãŸã¾å®Ÿè¡Œã•ã‚Œã¦ã„ãŸã‚¹ãƒ¬ãƒƒãƒ‰ã®A_LastErrorã‚„ last-found windowãªã©ã®ã‚°ãƒ­ãƒ¼ãƒãƒ«è¨­å®šã‚’変更ã™ã‚‹ã“ã¨ãŒã§ãるよã†ã«ãªã‚‹ãŸã‚ã§ã™ã€‚詳ã—ãã¯ã€ã€Œå‚™è€ƒã€ã‚’ã”覧ãã ã•ã„。

    +

    CDecl ã¾ãŸã¯ C:Addressã‚’"C "呼ã³å‡ºã—è¦å‰‡ã«æº–æ‹ ã•ã›ã‚‹ã€‚コールãƒãƒƒã‚¯ã§ã¯æ¨™æº–ã®å‘¼ã³å‡ºã—è¦ç´„ã®æ–¹ãŒã¯ã‚‹ã‹ã«ä¸€èˆ¬çš„ãªã®ã§ã€ã“ã‚Œã¯é€šå¸¸çœç•¥ã•ã‚Œã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€x64呼ã³å‡ºã—è¦ç´„を使用ã™ã‚‹AutoHotkeyã®64ビットãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯ç„¡è¦–ã•ã‚Œã¾ã™ã€‚

    &: Causes the address of the parameter list (a single integer) to be passed to Function instead of the individual parameters. パラメータ値ã¯ã€NumGetを用ã„ã¦å–å¾—ã™ã‚‹ã“ã¨ãŒã§ãる。標準ã®32ビット呼ã³å‡ºã—è¦ç´„を使用ã™ã‚‹å ´åˆã€ParamCountã¯ãƒ‘ラメータリストã®ã‚µã‚¤ã‚ºã‚’DWORD(ãƒã‚¤ãƒˆæ•°ã‚’4ã§å‰²ã£ãŸå€¤ï¼‰ã§æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    ParamCount
    -

    Type: Integer

    +

    型:整数

    If omitted, it defaults to Function.MinParams, which is usually the number of mandatory parameters in the definition of Function. Otherwise, specify the number of parameters that Address's caller will pass to it. ã„ãšã‚Œã®å ´åˆã‚‚ã€å‘¼ã³å‡ºã—å…ƒãŒæ­£ç¢ºã«ã“ã®æ•°ã®ãƒ‘ラメータを渡ã™ã“ã¨ã‚’確èªã—ã¾ã™ã€‚

    戻り値

    -

    Type: Integer

    +

    型:整数

    CallbackCreate ã¯ã€ãƒžã‚·ãƒ³ã‚³ãƒ¼ãƒ‰ãƒ»ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’è¿”ã™ã€‚ã“ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã¯é€šå¸¸ã€DllCallã§å¤–部関数ã«æ¸¡ã•ã‚Œã‚‹ã‹ã€NumPutã§æ§‹é€ ä½“ã«å…¥ã‚Œã‚‰ã‚Œã‚‹ãŒã€DllCallã§ç›´æŽ¥å‘¼ã³å‡ºã™ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚CallbackFreeã«ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’渡ã™ã¨ã€ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ãŒå‰Šé™¤ã•ã‚Œã¾ã™ã€‚

    エラー処ç†

    @@ -54,7 +54,7 @@

    エラー処ç†

  25. FunctionãŒã‚ªãƒ–ジェクトã§ãªã„ã€ã¾ãŸã¯MinParamsプロパティもCallメソッドもæŒã£ã¦ã„ãªã„。
  26. 関数ã«ã¯ MinParamsプロパティãŒã‚ã‚Šã€ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ãŒä¾›çµ¦ã™ã‚‹ãƒ‘ラメータã®æ•°ã‚’超ãˆã¦ã„ã¾ã™ã€‚
  27. ParamCountã¯å¦å®šçš„ã§ã™ã€‚
  28. -
  29. ParamCount is omitted and: 1) Function has no MinParams property; or 2) the & option is used with the standard 32-bit calling convention.
  30. +
  31. ParamCountã¯çœç•¥ã•ã‚Œã€æ›´ã«1)Functionã« MinParamsプロパティãŒãªã„ã€ã¾ãŸã¯2)&オプションãŒæ¨™æº–32ビット呼ã³å‡ºã—è¦ç´„ã§ä½¿ç”¨ã•ã‚Œã¦ã„る。
  32. @@ -64,11 +64,11 @@

    The Function's Parameters

    AutoHotkey 32ビット:入力ã•ã‚Œã‚‹ãƒ‘ラメータã¯ã™ã¹ã¦ç¬¦å·ãªã—32ビット整数ã§ã™ã€‚å°ã•ãªåž‹ã¯32ビットã«ãƒ‘ディングã•ã‚Œã€å¤§ããªåž‹ã¯32ビットã®ä¸€é€£ã®ãƒ‘ラメータã«åˆ†å‰²ã•ã‚Œã¾ã™ã€‚

    If an incoming parameter is intended to be a signed integer, any negative numbers can be revealed by following either of the following methods:

    -
    ; Method #1
    +
    ; 方法 #1
     if (wParam > 0x7FFFFFFF)
         wParam := -(~wParam) - 1
     
    -; Method #2: Relies on the fact that AutoHotkey natively uses signed 64-bit integers.
    +; 方法 #2:AutoHotkeyãŒãƒã‚¤ãƒ†ã‚£ãƒ–ã«ç¬¦å·ä»˜ã64ビット整数を使用ã™ã‚‹ã“ã¨ã«ä¾å­˜ã—ã¾ã™ã€‚
     wParam := wParam << 32 >> 32

    AutoHotkey 64ビット:入力ã•ã‚Œã‚‹ãƒ‘ラメータã¯ã™ã¹ã¦ç¬¦å·ä»˜ã64ビット整数ã§ã™ã€‚AutoHotkeyã¯ã€ç¬¦å·ãªã—64ビット整数をãƒã‚¤ãƒ†ã‚£ãƒ–ã§ã‚µãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã›ã‚“。å°ã•ã„åž‹ã¯64ビットã«ãƒ‘ディングã•ã‚Œã€å¤§ãã„åž‹ã¯å¸¸ã«ã‚¢ãƒ‰ãƒ¬ã‚¹ã§æ¸¡ã•ã‚Œã¾ã™ã€‚

    @@ -86,7 +86,7 @@

    The Function's Parameters

    Receiving parameters by address: If the & option is used, Function receives the address of the first callback parameter. 事例:

    -callback := CallbackCreate(TheFunc, "F&", 3)  ; Parameter list size must be specified for 32-bit.
    +callback := CallbackCreate(TheFunc, "F&", 3)  ; パラメータリストã®ã‚µã‚¤ã‚ºã¯32ビットã§æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
     DllCall(callback, "float", 10.5, "int64", 42)
     TheFunc(params) {
         MsgBox NumGet(params, 0, "float") ", " NumGet(params, A_PtrSize, "int64")
    @@ -114,13 +114,13 @@ 
     

    例

    ã™ã¹ã¦ã®ãƒˆãƒƒãƒ—レベルウィンドウã®ã‚µãƒžãƒªãƒ¼ã‚’表示ã—ã¾ã™ã€‚

    -
    EnumAddress := CallbackCreate(EnumWindowsProc, "Fast")  ; Fast-mode is okay because it will be called only from this thread.
    +
    EnumAddress := CallbackCreate(EnumWindowsProc, "Fast")  ; Fast-modeã¯ã“ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã‹ã‚‰ã—ã‹å‘¼ã°ã‚Œãªã„ã®ã§å¤§ä¸ˆå¤«ã§ã™ã€‚
     
    -DetectHiddenWindows True  ; Due to fast-mode, this setting will go into effect for the callback too.
    +DetectHiddenWindows True  ; 高速モードã®ãŸã‚ã€ã“ã®è¨­å®šã¯ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã«ã‚‚有効ã«ãªã‚Šã¾ã™ã€‚
     
    -; Pass control to EnumWindows(), which calls the callback repeatedly:
    +; コールãƒãƒƒã‚¯ã‚’ç¹°ã‚Šè¿”ã—呼ã³å‡ºã™EnumWindows()ã«åˆ¶å¾¡ã‚’渡ã™ã€‚
     DllCall("EnumWindows", "Ptr", EnumAddress, "Ptr", 0)
    -MsgBox Output  ; Display the information accumulated by the callback.
    +MsgBox Output  ; コールãƒãƒƒã‚¯ã§è“„ç©ã•ã‚ŒãŸæƒ…報を表示ã—ã¾ã™ã€‚
         
     EnumWindowsProc(hwnd, lParam)
     {
    @@ -128,25 +128,25 @@ 

    例

    win_title := WinGetTitle(hwnd) win_class := WinGetClass(hwnd) if win_title - Output .= "HWND: " hwnd "`tTitle: " win_title "`tClass: " win_class "`n" - return true ; Tell EnumWindows() to continue until all windows have been enumerated. + Output .= "HWND:" hwnd "`tTitle:" win_title "`tClass:" win_class "`n" + return true ; EnumWindows() ã«ã€ã™ã¹ã¦ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒåˆ—挙ã•ã‚Œã‚‹ã¾ã§ç¶šã‘るよã†ã«æŒ‡ç¤ºã—ã¾ã™ã€‚ }

    GUIウィンドウã®WindowProcをスクリプト内ã®æ–°ã—ã„WindowProcã«ãƒªãƒ€ã‚¤ãƒ¬ã‚¯ãƒˆã—ã¦ã€ã‚µãƒ–クラス化ã™ã‚‹æ–¹æ³•ã‚’示ã™ã‚‚ã®ã§ã™ã€‚ã“ã®å ´åˆã€ãƒ†ã‚­ã‚¹ãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®èƒŒæ™¯è‰²ã¯ã‚«ã‚¹ã‚¿ãƒ ã‚«ãƒ©ãƒ¼ã«å¤‰æ›´ã•ã‚Œã¾ã™ã€‚

    -
    TextBackgroundColor := 0xFFBBBB  ; A custom color in BGR format.
    +
    TextBackgroundColor := 0xFFBBBB  ; BGR å½¢å¼ã®ã‚«ã‚¹ã‚¿ãƒ ã‚«ãƒ©ãƒ¼ã€‚
     TextBackgroundBrush := DllCall("CreateSolidBrush", "UInt", TextBackgroundColor)
     
     MyGui := Gui()
     Text := MyGui.Add("Text",, "Here is some text that is given`na custom background color.")
     
    -; 64-bit scripts must call SetWindowLongPtr instead of SetWindowLong:
    -SetWindowLong := A_PtrSize=8 ?"SetWindowLongPtr" : "SetWindowLong"
    +; 64ビットスクリプトã§ã¯ã€SetWindowLongã®ä»£ã‚ã‚Šã«SetWindowLongPtrを呼ã³å‡ºã™å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
    +SetWindowLong := A_PtrSize=8 ? "SetWindowLongPtr" : "SetWindowLong"
     
    -WindowProcNew := CallbackCreate(WindowProc)  ; Avoid fast-mode for subclassing.
    -WindowProcOld := DllCall(SetWindowLong, "Ptr", MyGui.Hwnd, "Int", -4  ; -4 is GWL_WNDPROC
    -    , "Ptr", WindowProcNew, "Ptr") ; Return value must be set to "Ptr" or "UPtr" vs. "Int".
    +WindowProcNew := CallbackCreate(WindowProc)  ; サブクラス作æˆæ™‚ã®fast-modeã¯é¿ã‘ã¦ãã ã•ã„。
    +WindowProcOld := DllCall(SetWindowLong, "Ptr", MyGui.Hwnd, "Int", -4  ; -4 㯠GWL_WNDPROC
    +    , "Ptr", WindowProcNew, "Ptr") ; 戻り値㯠"Ptr "ã¾ãŸã¯ "UPtr "対 "Int "ã«è¨­å®šã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
     
     MyGui.Show
     
    diff --git a/target/docs/lib/CaretGetPos.htm b/target/docs/lib/CaretGetPos.htm
    index f83ed24a5..dfb2d5d1e 100644
    --- a/target/docs/lib/CaretGetPos.htm
    +++ b/target/docs/lib/CaretGetPos.htm
    @@ -20,13 +20,13 @@ 

    パラメータ

    &OutputVarX, &OutputVarY
    -

    Type: VarRef

    +

    型:VarRef

    çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify references to the output variables in which to store the X and Y coordinates. 座標ã¯ã€CoordModeã¾ãŸã¯A_CoordModeCaretを使用ã—ã¦ä¸Šæ›¸ãã•ã‚Œãªã„é™ã‚Šã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ウィンドウã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆé ˜åŸŸã‹ã‚‰ã®ç›¸å¯¾åº§æ¨™ã¨ãªã‚Šã¾ã™ã€‚

    戻り値

    -

    Type: Integer (boolean)

    +

    型:整数(ブーリアン)

    アクティブãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒãªã„å ´åˆã€ã¾ãŸã¯ã‚­ãƒ£ãƒ¬ãƒƒãƒˆä½ç½®ãŒæ±ºå®šã§ããªã„å ´åˆã€ã“ã®é–¢æ•°ã¯0(å½ï¼‰ã‚’è¿”ã—ã€å‡ºåŠ›å¤‰æ•°ã¯ç©ºç™½ã«ã•ã‚Œã¾ã™ã€‚ã“ã®é–¢æ•°ã¯ã€ã‚·ã‚¹ãƒ†ãƒ ãŒã‚­ãƒ£ãƒ¬ãƒƒãƒˆä½ç½®ã‚’è¿”ã—ãŸå ´åˆã€1(真)を返ã—ã¾ã™ãŒã€ã“ã‚Œã¯å¿…ãšã—もキャレットãŒè¦‹ãˆã¦ã„ã‚‹ã“ã¨ã‚’æ„味ã™ã‚‹ã‚ã‘ã§ã¯ã‚ã‚Šã¾ã›ã‚“。

    備考

    diff --git a/target/docs/lib/Catch.htm b/target/docs/lib/Catch.htm index ff1d9f271..45956debe 100644 --- a/target/docs/lib/Catch.htm +++ b/target/docs/lib/Catch.htm @@ -23,7 +23,7 @@

    パラメータ

    ErrorClass
    -

    Type: Class

    +

    型:Class

    Errorã€TimeoutErrorã€MyCustomErrorãªã©ã€æ•æ‰ã™ã¹ã値ã®ã‚¯ãƒ©ã‚¹ã§ã™ã€‚ã“ã‚Œã¯ã€ã‚«ãƒ³ãƒžã§åŒºåˆ‡ã‚‰ã‚ŒãŸã‚¯ãƒ©ã‚¹ã®ãƒªã‚¹ãƒˆã§ã‚ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚å„クラスã®ãƒ—ロトタイプã¯ãƒ­ãƒ¼ãƒ‰æ™‚ã«è§£æ±ºã•ã‚Œã‚‹ãŸã‚ã€ã‚¯ãƒ©ã‚¹ã¯ä»»æ„ã®è¡¨ç¾ã§ã¯ãªãã€æ­£ç¢ºãªãƒ•ãƒ«ãƒãƒ¼ãƒ ã§æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚Errorã‹ã‚‰æ´¾ç”Ÿã—ã¦ã„ãªãã¦ã‚‚ã€çµ„ã¿è¾¼ã¿ã‚¯ãƒ©ã‚¹ã‚„ユーザー定義クラスã§ã‚ã‚Œã°ä½¿ç”¨å¯èƒ½ã§ã™ã€‚

    クラスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯Errorã§ã™ã€‚

    To catch anything at all, use catch Any.

    @@ -32,7 +32,7 @@

    パラメータ

    OutputVar
    -

    Type: Variable

    +

    型:変数

    投ã’られãŸå€¤ã‚’æ ¼ç´ã™ã‚‹å‡ºåŠ›å¤‰æ•°ã§ã€é€šå¸¸ã¯Errorオブジェクトã§ã™ã€‚ã“ã‚Œã¯å‹•çš„ãªå¤‰æ•°ã§ã¯ã‚ã‚Šãˆãªã„。

    çœç•¥ã•ã‚ŒãŸå ´åˆã€æŠ•ã’られãŸå€¤ã«ç›´æŽ¥ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ãŒã€ãƒ‘ラメータãªã—ã§Throwを使用ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€å†æŠ•ã’ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    diff --git a/target/docs/lib/Chr.htm b/target/docs/lib/Chr.htm index 1707de287..8a5dc966f 100644 --- a/target/docs/lib/Chr.htm +++ b/target/docs/lib/Chr.htm @@ -20,14 +20,14 @@

    パラメータ

    Number
    -

    Type: Integer

    +

    型:整数

    0 ã‹ã‚‰ 0x10FFFF ã¾ã§ã® Unicode 文字コードã§ã™ã€‚

    戻り値

    -

    Type: String

    +

    型:文字列

    Numberã«å¯¾å¿œã™ã‚‹æ–‡å­—列。ã“ã‚Œã¯å¸¸ã«Unicodeã®1文字ã§ã™ãŒã€å®Ÿç”¨ä¸Šã®ç†ç”±ã‹ã‚‰ã€Unicodeã®è£œåŠ©æ–‡å­—(NumberãŒ0x10000ã‹ã‚‰0x10FFFFã®ç¯„囲)ã¯2文字ã¨ã—ã¦ã‚«ã‚¦ãƒ³ãƒˆã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ã™ãªã‚ã¡ã€StrLenã«ã‚ˆã£ã¦å ±å‘Šã•ã‚Œã‚‹æˆ»ã‚Šå€¤ã®é•·ã•ã¯ã€1ã¾ãŸã¯2ã§ã‚ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚詳ã—ã„説明ã¯ã€ã€Œæ–‡å­—列ã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã€ã‚’ã”覧ãã ã•ã„。

    Number㌠0 ã®å ´åˆã€æˆ»ã‚Šå€¤ã¯ã€ç©ºã®ï¼ˆé•·ã•ã‚¼ãƒ­ã®ï¼‰æ–‡å­—列ã§ã¯ãªãã€2 進数ã®ãƒŒãƒ«æ–‡å­—ã‚’å«ã‚€æ–‡å­—列ã§ã™ã€‚ã“れを安全ã«å¤‰æ•°ã«ä»£å…¥ã—ãŸã‚Šã€é–¢æ•°ã«æ¸¡ã—ãŸã‚Šã€åˆ¥ã®æ–‡å­—列ã¨é€£çµã—ãŸã‚Šã™ã‚‹ã“ã¨ãŒã§ãる。ã—ã‹ã—ã€çµ„ã¿è¾¼ã¿é–¢æ•°ã«ã‚ˆã£ã¦ã¯ã€æœ€åˆã®ãƒŒãƒ«æ–‡å­—ã«å…ˆç«‹ã¤æ–‡å­—列ã®ä¸€éƒ¨ã ã‘を「見るã€ã“ã¨ãŒã§ãる。

    diff --git a/target/docs/lib/Class.htm b/target/docs/lib/Class.htm index 90b437502..75f7bc0a5 100644 --- a/target/docs/lib/Class.htm +++ b/target/docs/lib/Class.htm @@ -23,12 +23,12 @@

    目次

    • Methods:
        -
      • Call: Constructs a new instance of the class.
      • +
      • Call:ã“ã®ã‚¯ãƒ©ã‚¹ã®æ–°ã—ã„インスタンスを構築ã—ã¾ã™ã€‚
    • Properties:
        -
      • Prototype: Retrieves or sets the object on which all instances of the class are based.
      • +
      • Prototype:クラスã®ã™ã¹ã¦ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã®åŸºã¨ãªã‚‹ã‚ªãƒ–ジェクトをå–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
    diff --git a/target/docs/lib/Click.htm b/target/docs/lib/Click.htm index 9d9081f8d..d234887cb 100644 --- a/target/docs/lib/Click.htm +++ b/target/docs/lib/Click.htm @@ -33,7 +33,7 @@

    パラメータ

    備考

    -

    Click関数ã¯ã€SendModeã§è¨­å®šã•ã‚ŒãŸé€ä¿¡æ–¹å¼ã‚’使用ã—ã¾ã™ã€‚To override this mode for a particular click, use a specific Send function in combination with {Click}, as in this example: SendEvent "{Click 100 200}".

    +

    Click関数ã¯ã€SendModeã§è¨­å®šã•ã‚ŒãŸé€ä¿¡æ–¹å¼ã‚’使用ã—ã¾ã™ã€‚特定ã®ã‚¯ãƒªãƒƒã‚¯ã«å¯¾ã—ã¦ã“ã®ãƒ¢ãƒ¼ãƒ‰ã‚’上書ãã™ã‚‹ã«ã¯ã€ã“ã®ä¾‹ã®ã‚ˆã†ã«{Click}ã¨çµ„ã¿åˆã‚ã›ã¦ç‰¹å®šã®Send関数を使用ã—ã¾ã™ã€‚SendEvent "{Click 100 200}".

    Shift-Clickã‚„Control-Clickã‚’è¡Œã†ã«ã¯ã€ä¸€èˆ¬çš„ã«Send経由ã®ã‚¯ãƒªãƒƒã‚¯ãŒæœ€ã‚‚ç°¡å˜ã§ã™ã€‚事例:

    Send "+{Click 100 200}"  ; Shift+LeftClick
     Send "^{Click 100 200 Right}"  ; Control+RightClick
    diff --git a/target/docs/lib/ClipWait.htm b/target/docs/lib/ClipWait.htm index 51fa2a1ff..2c8b81bbb 100644 --- a/target/docs/lib/ClipWait.htm +++ b/target/docs/lib/ClipWait.htm @@ -20,13 +20,13 @@

    パラメータ

    タイムアウト
    -

    Type: Integer or Float

    +

    型:整数ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°

    çœç•¥ã—ãŸå ´åˆã¯ã€ç„¡æœŸé™ã«å¾…æ©Ÿã—ã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€æŒ‡å®šã•ã‚ŒãŸç§’数以上待機ã™ã‚‹ã“ã¨ã¯ã‚ã‚Šã¾ã›ã‚“。1 秒未満ã®æ™‚é–“ã§å¾…æ©Ÿã™ã‚‹ã«ã¯ã€æµ®å‹•å°æ•°ç‚¹æ•°ã‚’指定ã—ã¾ã™ã€‚ãŸã¨ãˆã°æœ€å¤§ 250 ミリ秒待機ã™ã‚‹ã¨ãã¯ã€ 0.25 ã¨æŒ‡å®šã—ã¾ã™ã€‚

    WaitFor
    -

    Type: Integer

    +

    型:整数

    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:

    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.

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

    パラメータ

    戻り値

    -

    Type: Integer (boolean)

    +

    型:整数(ブーリアン)

    ã“ã®é–¢æ•°ã¯ã€ã‚¿ã‚¤ãƒ ã‚¢ã‚¦ãƒˆã—ãŸå ´åˆã¯0(false)をã€ãã†ã§ãªã„å ´åˆï¼ˆã™ãªã‚ã¡ã‚¯ãƒªãƒƒãƒ—ボードã«ãƒ‡ãƒ¼ã‚¿ãŒã‚ã‚‹å ´åˆï¼‰ã¯1(true)を返ã—ã¾ã™ã€‚

    備考

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

    例

    クリップボードを空ã«ã—ã€ç¾åœ¨ã®é¸æŠžç¯„囲をクリップボードã«ã‚³ãƒ”ーã—ã€ã‚¯ãƒªãƒƒãƒ—ボードã«ãƒ‡ãƒ¼ã‚¿ãŒå…¥ã‚‹ã¾ã§æœ€å¤§2秒間待機ã—ã¾ã™ã€‚ClipWaitãŒã‚¿ã‚¤ãƒ ã‚¢ã‚¦ãƒˆã—ãŸå ´åˆã¯ã‚¨ãƒ©ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’表示ã—ã€ãれ以外ã®å ´åˆã¯ã‚¯ãƒªãƒƒãƒ—ボードã®å†…容を表示ã—ã¾ã™ã€‚

    -
    A_Clipboard := "" ; Empty the clipboard
    +
    A_Clipboard := "" ; クリップボードを空ã«ã™ã‚‹
     Send "^c"
     if !ClipWait(2)
     {
    diff --git a/target/docs/lib/ClipboardAll.htm b/target/docs/lib/ClipboardAll.htm
    index 3fb4319a9..65bf70f5c 100644
    --- a/target/docs/lib/ClipboardAll.htm
    +++ b/target/docs/lib/ClipboardAll.htm
    @@ -22,22 +22,22 @@ 

    パラメータ

    Data
    -

    Type: Object or Integer

    +

    型:オブジェクトã¾ãŸã¯æ•´æ•°

    Bufferã®ã‚ˆã†ãªã‚ªãƒ–ジェクトã€ã¾ãŸã¯ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã§ã‚る純粋ãªæ•´æ•°ã€‚データã¯ç‰¹å®šã®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã§ãªã‘ã‚Œã°ãªã‚‰ãªã„ã®ã§ã€ä¸€èˆ¬çš„ã«ã¯ã€ä»¥å‰ã«ClipboardAllを呼ã³å‡ºã—ãŸã¨ãã«ç™ºç”Ÿã—ãŸã‚‚ã®ã§ã™ã€‚以下ã®ä¾‹2å‚照。

    Size
    -

    Type: Integer

    +

    型:整数

    使用ã™ã‚‹ãƒ‡ãƒ¼ã‚¿ã®ãƒã‚¤ãƒˆæ•°ã‚’指定ã—ã¾ã™ã€‚DataãŒã‚ªãƒ–ジェクトã®å ´åˆã¯çœç•¥å¯èƒ½ã§ã™ã€‚

    戻り値

    -

    Type: Object

    +

    型:Object

    ã“ã®é–¢æ•°ã¯ã€2ã¤ã®ãƒ—ロパティ(Bufferã‹ã‚‰ç¶™æ‰¿ï¼‰ã‚’æŒã¤ClipboardAllオブジェクトを返ã™ã€‚

      -
    • Ptr: The address of the data contained by the object. ã“ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã¯ã€ã‚ªãƒ–ジェクトãŒè§£æ”¾ã•ã‚Œã‚‹ã¾ã§æœ‰åŠ¹ã§ã™ã€‚
    • -
    • Size: The size, in bytes, of the raw binary data.
    • +
    • Ptr:オブジェクトãŒå«ã‚€ãƒ‡ãƒ¼ã‚¿ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã€‚ã“ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã¯ã€ã‚ªãƒ–ジェクトãŒè§£æ”¾ã•ã‚Œã‚‹ã¾ã§æœ‰åŠ¹ã§ã™ã€‚
    • +
    • Size:未加工ã®ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã®ã‚µã‚¤ã‚ºï¼ˆãƒã‚¤ãƒˆå˜ä½ï¼‰ã§ã™ã€‚

    備考

    @@ -55,23 +55,23 @@

    例

    変数を使ã£ã¦ã‚¯ãƒªãƒƒãƒ—ボードã®ã™ã¹ã¦ã‚’ä¿å­˜ãƒ»å¾©å…ƒã—ã¾ã™ã€‚

    ClipSaved := ClipboardAll()   ; クリップボード全体を任æ„ã®å¤‰æ•°ã«ä¿å­˜ã—ã¾ã™ã€‚
    -; ... here make temporary use of the clipboard, such as for quickly pasting large amounts of text ...
    -A_Clipboard := ClipSaved   ; Restore the original clipboard. Note the use of A_Clipboard (not ClipboardAll).
    -ClipSaved := ""  ; Free the memory in case the clipboard was very large.
    +; ... ã“ã“ã§ã€å¤§é‡ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’ç´ æ—©ã貼り付ã‘ã‚‹ãªã©ã€ã‚¯ãƒªãƒƒãƒ—ボードを一時的ã«ä½¿ç”¨ã™ã‚‹ ... +A_Clipboard := ClipSaved ; å…ƒã®ã‚¯ãƒªãƒƒãƒ—ボードを復元ã—ã¾ã™ã€‚ClipboardAllã§ã¯ãªãã€A_Clipboardを使用ã—ã¦ã„ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +ClipSaved := "" ; クリップボードãŒéžå¸¸ã«å¤§ãã„å ´åˆã«å‚™ãˆã¦ã€ãƒ¡ãƒ¢ãƒªã‚’解放ã—ã¦ã„ã¾ã™ã€‚

    クリップボードã«ã‚ã‚‹ã™ã¹ã¦ã®ã‚‚ã®ã‚’ã€ãƒ•ã‚¡ã‚¤ãƒ«ã‚’使ã£ã¦ä¿å­˜ãƒ»å¾©å…ƒã—ã¾ã™ã€‚

    -
    ; Option 1: Delete any existing file and then use FileAppend.
    +
    ; オプション1:既存ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’削除ã—ã€FileAppendを使用ã—ã¾ã™ã€‚
     FileDelete "Company Logo.clip"
    -FileAppend ClipboardAll(), "Company Logo.clip" ; The file extension does not matter.
    +FileAppend ClipboardAll(), "Company Logo.clip" ; ファイル拡張å­ã¯å•ã„ã¾ã›ã‚“。
     
    -; Option 2: Use FileOpen in overwrite mode and File.RawWrite.
    +; オプション2:FileOpenを上書ãモードã§ä½¿ç”¨ã—ã€File.RawWriteを使用ã—ã¾ã™ã€‚
     ClipData := ClipboardAll()
     FileOpen("Company Logo.clip", "w").RawWrite(ClipData)

    後ã§ãƒ•ã‚¡ã‚¤ãƒ«ã‚’クリップボードã«ï¼ˆã¾ãŸã¯å¤‰æ•°ã«ï¼‰èª­ã¿æˆ»ã™ã«ã¯ã€æ¬¡ã®ä¾‹ã«å¾“ã„ã¾ã™ã€‚

    -
    ClipData := FileRead("Company Logo.clip", "RAW")  ; In this case, FileRead returns a Buffer.
    -A_Clipboard := ClipboardAll(ClipData)  ; Convert the Buffer to a ClipboardAll and assign it.
    +
    ClipData := FileRead("Company Logo.clip", "RAW")  ; ã“ã®å ´åˆã€FileReadã¯Bufferã‚’è¿”ã—ã¾ã™ã€‚
    +A_Clipboard := ClipboardAll(ClipData)  ; Bufferã‚’ClipboardAllã«å¤‰æ›ã—ã¦ã‚¢ã‚µã‚¤ãƒ³ã—ã¾ã™ã€‚
    diff --git a/target/docs/lib/ComCall.htm b/target/docs/lib/ComCall.htm index 02e72818f..457f7ab09 100644 --- a/target/docs/lib/ComCall.htm +++ b/target/docs/lib/ComCall.htm @@ -21,7 +21,7 @@

    パラメータ

    インデックス
    -

    Type: Integer

    +

    型:整数

    仮想関数テーブル内ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®ã‚¼ãƒ­ãƒ™ãƒ¼ã‚¹ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã€‚

    インデックスã¯ã€å…ƒã®ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹å®šç¾©å†…ã§ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®ä½ç½®ã«å¯¾å¿œã—ã¾ã™ã€‚マイクロソフトã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã§ã¯ã€é€šå¸¸ã€ãƒ¡ã‚½ãƒƒãƒ‰ã‚’アルファベット順ã«è¨˜è¼‰ã—ã¦ã„ã¾ã™ãŒã€ã“ã‚Œã¯é–¢ä¿‚ã‚ã‚Šã¾ã›ã‚“。正ã—ã„インデックスを決定ã™ã‚‹ãŸã‚ã«ã€å…ƒã®ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ã‚¤ã‚¹ã®å®šç¾©ã‚’見ã¤ã‘ã¦ãã ã•ã„。ã“ã‚Œã¯ã€ãƒ˜ãƒƒãƒ€ãƒ¼ãƒ•ã‚¡ã‚¤ãƒ«ã‚„タイプライブラリã®ä¸­ã«ã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。

    親インターフェースã‹ã‚‰ç¶™æ‰¿ã•ã‚Œã‚‹ãƒ¡ã‚½ãƒƒãƒ‰ã‚’考慮ã™ã‚‹ã“ã¨ãŒé‡è¦ã§ã™ã€‚ã™ã¹ã¦ã®COMインタフェースã¯æœ€çµ‚çš„ã«IUnknownã‹ã‚‰æ´¾ç”Ÿã™ã‚‹ãŸã‚ã€æœ€åˆã®3ã¤ã®ãƒ¡ã‚½ãƒƒãƒ‰ã¯å¸¸ã«QueryInterface(0)ã€AddRef(1)ã€Release(2)ã§ã™ã€‚例ãˆã°ã€IShellItem2㯠IShellItemã®æ‹¡å¼µã§ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹3ã‹ã‚‰å§‹ã¾ã‚Šã€5ã¤ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’å«ã‚€ã®ã§ã€IShellItem2ã®æœ€åˆã®ãƒ¡ã‚½ãƒƒãƒ‰ï¼ˆGetPropertyStore)ã¯ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹8ã«ã‚ã‚Šã¾ã™ã€‚

    @@ -31,7 +31,7 @@

    パラメータ

    ComObj
    -

    Type: Integer or Object

    +

    型:Integer or Object

    対象ã¨ãªã‚‹ COM オブジェクトã€ã™ãªã‚ã¡ COM インタフェースãƒã‚¤ãƒ³ã‚¿ã€‚ãƒã‚¤ãƒ³ã‚¿å€¤ã¯ç›´æŽ¥æ¸¡ã™ã‹ã€ãƒãƒªã‚¢ãƒ³ãƒˆã‚¿ã‚¤ãƒ—VT_UNKNOWNã‚’æŒã¤ComValueãªã©ã€PtrプロパティをæŒã¤ã‚ªãƒ–ジェクト内ã«ã‚«ãƒ—セル化ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    インターフェースãƒã‚¤ãƒ³ã‚¿ã¯ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹ãƒ¡ã‚½ãƒƒãƒ‰ã‚’実装ã™ã‚‹ä»®æƒ³é–¢æ•°ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’特定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•ã‚Œã€ãƒ‘ラメータã¨ã—ã¦ã‚‚渡ã•ã‚Œã¾ã™ã€‚ã“ã®ãƒ‘ラメータã¯ã€ä¸€èˆ¬ã«ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹ã‚’ãƒã‚¤ãƒ†ã‚£ãƒ–ã«ã‚µãƒãƒ¼ãƒˆã™ã‚‹è¨€èªžã§ã¯æ˜Žç¤ºçš„ã«å­˜åœ¨ã—ãªã„ãŒã€Cスタイルã®ã€ŒVtblã€å®šç¾©ã§ã¯è¡¨ç¤ºã•ã‚Œã¾ã™ã€‚

    無効ãªãƒã‚¤ãƒ³ã‚¿ã‚’渡ã™ã¨ã€ãƒ—ログラムã®çµ‚了をå«ã‚€æœªå®šç¾©ã®å‹•ä½œã‚’引ãèµ·ã“ã™å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ï¼ˆãŸã ã—ã€ã“ã‚Œã«é™å®šã•ã‚Œã‚‹ã‚‚ã®ã§ã¯ã‚ã‚Šã¾ã›ã‚“)。

    @@ -39,13 +39,13 @@

    パラメータ

    Type1, Arg1
    -

    Type: String

    +

    型:文字列

    ã“れらã®ãƒšã‚¢ã¯ãã‚Œãžã‚Œã€ãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•ã‚Œã‚‹1ã¤ã®ãƒ‘ラメータを表ã—ã¦ã„ã¾ã™ã€‚組数ã¯ç„¡åˆ¶é™ã§ã™ã€‚タイプã«ã¤ã„ã¦ã¯ã€DllCallタイプ表をã”覧ãã ã•ã„。引数ã®å ´åˆã€ãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã™å€¤ã‚’指定ã—ã¾ã™ã€‚

    ReturnType
    -

    Type: String

    +

    型:文字列

    çœç•¥ã•ã‚ŒãŸå ´åˆã€æˆ»ã‚Šå€¤ã®åž‹ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§HRESULTã¨ãªã‚Šã€ã“ã‚Œã¯COMインターフェイスã®ãƒ¡ã‚½ãƒƒãƒ‰ã®æœ€ã‚‚一般的ãªæˆ»ã‚Šå€¤ã®åž‹ã§ã™ã€‚失敗を示ã™çµæžœã¯ã€OSErrorãŒæŠ•ã’られる。ã—ãŸãŒã£ã¦ã€å®Ÿéš›ã®æˆ»ã‚Šå€¤ã®åž‹ãŒ HRESULT ã§ã‚ã‚‹å ´åˆã‚’除ãã€æˆ»ã‚Šå€¤ã®åž‹ã‚’çœç•¥ã—ã¦ã¯ãªã‚‰ãªã„。

    メソッドãŒå€¤ã‚’è¿”ã•ãªã„型(Cã§ã¯void戻り値型)ã®å ´åˆã€"Int "ã¾ãŸã¯æŽ¥å°¾è¾žã®ãªã„ä»–ã®æ•°å€¤åž‹ï¼ˆHRESULTを除ã)を指定ã—ã€æˆ»ã‚Šå€¤ã‚’無視ã—ã¾ã™ã€‚ã“ã®ã‚ˆã†ãªå ´åˆã€æˆ»ã‚Šå€¤ãƒ¬ã‚¸ã‚¹ã‚¿ã®å†…容ã¯ä»»æ„ã§ã‚ã‚‹ãŸã‚ã€ReturnTypeã‚’çœç•¥ã—ãŸå ´åˆã¯ä¾‹å¤–ãŒç™ºç”Ÿã™ã‚‹å¯èƒ½æ€§ãŒã‚る。

    ãれ以外ã®å ´åˆã¯ã€DllCall タイプテーブルã‹ã‚‰å¼•æ•°ã‚¿ã‚¤ãƒ—ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ã€‚接尾辞ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã«ã‚‚対応ã—ã¦ã„ã¾ã™ã€‚

    @@ -55,7 +55,7 @@

    パラメータ

    戻り値

    -

    Type: String or Integer

    +

    型:文字列ã¾ãŸã¯æ•´æ•°

    ReturnTypeãŒHRESULT(ã¾ãŸã¯çœç•¥ï¼‰ã§ã€ãƒ¡ã‚½ãƒƒãƒ‰ãŒã‚¨ãƒ©ãƒ¼å€¤ã‚’è¿”ã—ãŸå ´åˆï¼ˆFAILED マクロã§å®šç¾©ï¼‰ã€OSErrorãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

    ãã†ã§ãªã„å ´åˆã€ComCallã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã«ã‚ˆã£ã¦è¿”ã•ã‚ŒãŸå®Ÿéš›ã®å€¤ã‚’è¿”ã—ã¾ã™ã€‚メソッドãŒå€¤ã‚’è¿”ã•ãªã„型(Cã§å®šç¾©ã•ã‚ŒãŸæˆ»ã‚Šå€¤ã®åž‹ãŒvoid)ã®å ´åˆã€çµæžœã¯æœªå®šç¾©ã§ã‚ã‚Šã€ç„¡è¦–ã•ã‚Œã‚‹ã¹ãã§ã™ã€‚

    @@ -79,12 +79,12 @@

    例

    アクティブãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’3秒間ã€ã‚¿ã‚¹ã‚¯ãƒãƒ¼ã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚åŒç­‰ã®DllCallã®ä¾‹ã¨æ¯”較ã—ã¦ã¿ã¦ãã ã•ã„。

    /*
       ITaskbarListã®VTableã«ã‚るメソッドã§ã™ï¼š
    -    IUnknown:
    -      0 QueryInterface  -- ComObjQueryã®ä»£ã‚ã‚Šã«ä½¿ç”¨
    +IUnknown:
    +0 QueryInterface  -- ComObjQueryã®ä»£ã‚ã‚Šã«ä½¿ç”¨
           1 AddRef          -- ObjAddRef ã®ä»£ã‚ã‚Šã«ä½¿ç”¨
           2 Release         -- ObjReleaseã®ä»£ã‚ã‚Šã«ä½¿ç”¨
         ITaskbarList:
    -      3 HrInit
    +3 HrInit
           4 AddTab
           5 DeleteTab
           6 ActivateTab
    @@ -93,7 +93,7 @@ 

    例

    IID_ITaskbarList := "{56FDF342-FD6D-11d0-958A-006097C9A090}" CLSID_TaskbarList := "{56FDF344-FD6D-11d0-958A-006097C9A090}" -; Create the TaskbarList object. +; TaskbarListオブジェクトを作æˆã—ã¾ã™ã€‚ tbl := ComObject(CLSID_TaskbarList, IID_ITaskbarList) activeHwnd := WinExist("A") @@ -103,7 +103,7 @@

    例

    Sleep 3000 ComCall(4, tbl, "ptr", activeHwnd) ; tbl.AddTab(activeHwnd) -; When finished with the object, simply replace any references with +; オブジェクトを使ã„終ã‚ã£ãŸã‚‰ã€ã™ã¹ã¦ã®å‚照を ; some other value (or if its a local variable, just return): tbl := ""
    @@ -127,22 +127,22 @@

    例

    static IID := "{56FDF342-FD6D-11d0-958A-006097C9A090}" static CLSID := "{56FDF344-FD6D-11d0-958A-006097C9A090}" - ; クラスをåˆæœŸåŒ–ã™ã‚‹ãŸã‚ã«èµ·å‹•æ™‚ã«å‘¼ã³å‡ºã•ã‚Œã¾ã™ã€‚ +; クラスをåˆæœŸåŒ–ã™ã‚‹ãŸã‚ã«èµ·å‹•æ™‚ã«å‘¼ã³å‡ºã•ã‚Œã¾ã™ã€‚ static __new() { ; TaskbarList ã®ã™ã¹ã¦ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã®ãƒ™ãƒ¼ã‚¹ã‚ªãƒ–ジェクトをå–å¾—ã—ã¾ã™ã€‚ proto := this.Prototype - ; Bound関数ã§ãƒ‘ラメータを事å‰ã«å®šç¾©ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +; Bound関数ã§ãƒ‘ラメータを事å‰ã«å®šç¾©ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ ; ラッパー関数を必è¦ã¨ã›ãšã€ã‚ˆã‚Šä½¿ã„ã‚„ã™ã„メソッドをæä¾›ã—ã¾ã™ã€‚ - ; HrInit自身ã¯ãƒ‘ラメータをæŒãŸãªã„ã®ã§ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã ã‘ã‚’ãƒã‚¤ãƒ³ãƒ‰ã—ã¾ã™ã€‚ +; HrInit自身ã¯ãƒ‘ラメータをæŒãŸãªã„ã®ã§ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã ã‘ã‚’ãƒã‚¤ãƒ³ãƒ‰ã—ã¾ã™ã€‚ ; ã§ã‚ã‚Šã€å‘¼ã³å‡ºã—å´ã¯æš—é»™ã®ã†ã¡ã« 'this' ã‚’æä¾›ã™ã‚‹ã“ã¨ã«ãªã‚‹ã€‚ proto.HrInit := ComCall.Bind(3) - ; パラメータを空白ã«ã™ã‚‹ã“ã¨ã§ã€å‘¼ã³å‡ºã—å´ãŒå€¤ã‚’指定ã§ãるよã†ã«ã—ã¾ã™ã€‚ - ; ã“ã®å ´åˆã€ç©ºç™½ã®ãƒ‘ラメータã¯'this'(通常ã¯éžè¡¨ç¤ºï¼‰ã§ã™ã€‚ +; パラメータを空白ã«ã™ã‚‹ã“ã¨ã§ã€å‘¼ã³å‡ºã—å´ãŒå€¤ã‚’指定ã§ãるよã†ã«ã—ã¾ã™ã€‚ +; ã“ã®å ´åˆã€ç©ºç™½ã®ãƒ‘ラメータã¯'this'(通常ã¯éžè¡¨ç¤ºï¼‰ã§ã™ã€‚ proto.AddTab := ComCall.Bind(4,, "ptr") - ; オブジェクトやMapを使用ã™ã‚‹ã“ã¨ã§ã€ç¹°ã‚Šè¿”ã—を減らã™ã“ã¨ãŒã§ãã¾ã™ã€‚ +; オブジェクトやMapを使用ã™ã‚‹ã“ã¨ã§ã€ç¹°ã‚Šè¿”ã—を減らã™ã“ã¨ãŒã§ãã¾ã™ã€‚ for name, args in Map( "DeleteTab", [5,,"ptr"], "ActivateTab", [6,,"ptr"], @@ -151,7 +151,7 @@

    例

    } } - ; æ–°ã—ã„インスタンスã«å¯¾ã—㦠TaskbarList() ã«ã‚ˆã£ã¦å‘¼ã³å‡ºã•ã‚Œã¾ã™ã€‚ +; æ–°ã—ã„インスタンスã«å¯¾ã—㦠TaskbarList() ã«ã‚ˆã£ã¦å‘¼ã³å‡ºã•ã‚Œã¾ã™ã€‚ __new() { this.comobj := ComObject(TaskbarList.CLSID, TaskbarList.IID) this.ptr := this.comobj.ptr diff --git a/target/docs/lib/ComObjActive.htm b/target/docs/lib/ComObjActive.htm index 4860ee031..72eb888d6 100644 --- a/target/docs/lib/ComObjActive.htm +++ b/target/docs/lib/ComObjActive.htm @@ -20,14 +20,14 @@

    パラメータ

    CLSID
    -

    Type: String

    +

    型:文字列

    å–å¾—ã™ã‚‹ COM オブジェクト㮠CLSID ã¾ãŸã¯äººé–“ãŒèª­ã¿å–れる Prog ID。

    戻り値

    -

    Type: ComObject

    +

    型:ComObject

    ã“ã®é–¢æ•°ã¯ã€ãƒãƒªã‚¢ãƒ³ãƒˆã‚¿ã‚¤ãƒ—VT_DISPATCH(9)ã‚’æŒã¤æ–°ã—ã„COMラッパーオブジェクトを返ã—ã¾ã™ã€‚

    エラー処ç†

    diff --git a/target/docs/lib/ComObjArray.htm b/target/docs/lib/ComObjArray.htm index 0359ffc47..d96b3ca54 100644 --- a/target/docs/lib/ComObjArray.htm +++ b/target/docs/lib/ComObjArray.htm @@ -22,46 +22,46 @@

    パラメータ

    VarType
    -

    Type: Integer

    +

    型:整数

    é…列ã®åŸºæœ¬åž‹ï¼ˆé…列ã®å„è¦ç´ ã®VARTYPE)。VARTYPEã¯ã€ãƒãƒªã‚¢ãƒ³ãƒˆã‚¿ã‚¤ãƒ—ã®ã‚µãƒ–セットã«é™å®šã•ã‚Œã¾ã™ã€‚VT_ARRAYフラグã€VT_BYREFフラグã®ã„ãšã‚Œã‚‚設定ã§ããªã„。VT_EMPTY 㨠VT_NULL ã¯ã€é…列ã®ãƒ™ãƒ¼ã‚¹ã‚¿ã‚¤ãƒ—ã¨ã—ã¦æœ‰åŠ¹ã§ã¯ã‚ã‚Šã¾ã›ã‚“。ãれ以外ã®ã‚¿ã‚¤ãƒ—ã¯ã™ã¹ã¦åˆæ³•ã§ã™ã€‚

    å–り得る値ã®ä¸€è¦§ã¯ã€ComObjTypeã‚’ã”覧ãã ã•ã„。

    CountN
    -

    Type: Integer

    +

    型:整数

    å„寸法ã®å¤§ãã•ã§ã™ã€‚最大8次元ã¾ã§ã®é…列ã«å¯¾å¿œã—ã¦ã„ã¾ã™ã€‚

    戻り値

    -

    Type: ComObjArray

    +

    型:ComObjArray

    ã“ã®é–¢æ•°ã¯ã€æ–°ã—ã„ SafeArray ã‚’å«ã‚€ãƒ©ãƒƒãƒ‘ーオブジェクトを返ã—ã¾ã™ã€‚

    メソッド

    ComObjArray オブジェクトã¯ã€ä»¥ä¸‹ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’サãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚

      -
    • .MaxIndex(n): Returns the upper bound of the nth dimension. nãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ 1 ã§ã™ã€‚
    • -
    • .MinIndex(n): Returns the lower bound of the nth dimension. nãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ 1 ã§ã™ã€‚
    • -
    • .Clone(): Returns a copy of the array.
    • -
    • .__Enum(): Not typically called by script; allows for-loops to be used with SafeArrays.
    • +
    • .MaxIndex(n):n次元ã®ä¸Šé™å€¤ã‚’è¿”ã™ã€‚nãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ 1 ã§ã™ã€‚
    • +
    • .MinIndex(n):n次元目ã®ä¸‹ç•Œã‚’è¿”ã—ã¾ã™ã€‚nãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ 1 ã§ã™ã€‚
    • +
    • .Clone():é…列ã®ã‚³ãƒ”ーを返ã—ã¾ã™ã€‚
    • +
    • .__Enum():SafeArraysã§for-loopを使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    ã“れらã¯ç¾åœ¨ãƒãƒ¼ãƒ‰ã‚³ãƒ¼ãƒ‰ã•ã‚Œã¦ãŠã‚Šã€ãƒ—ロパティã¨ã—ã¦å­˜åœ¨ã›ãšã€ComObjArray.Prototypeã®ä¿®æ­£ã«ã‚ˆã£ã¦å½±éŸ¿ã‚’å—ã‘ã‚‹ã“ã¨ã¯ã‚ã‚Šã¾ã›ã‚“。

    備考

    ComObjArrayオブジェクトã¯ã€COMメソッドやComValueã«ã‚ˆã£ã¦è¿”ã•ã‚Œã‚‹ã“ã¨ã‚‚ã‚る。スクリプトã¯ã€ä»¥ä¸‹ã®ã‚ˆã†ã«å€¤ãŒComObjArrayã§ã‚ã‚‹ã‹ã©ã†ã‹ã‚’判断ã™ã‚‹ã“ã¨ãŒã§ãる。

    -
    ; Check class
    +
    ; ãƒã‚§ãƒƒã‚¯ã‚¯ãƒ©ã‚¹
     if obj is ComObjArray
         MsgBox "Array subtype: " . ComObjType(obj) & 0xfff
     else
         MsgBox "Not an array."
     
    -; Check for VT_ARRAY
    +; VT_ARRAYã®ãƒã‚§ãƒƒã‚¯
     if ComObjType(obj) & 0x2000
         MsgBox "obj is a ComObjArray"
     
    -; Check specific array type
    +; 特定ã®é…列ã®ç¨®é¡žã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹
     if ComObjType(obj) = 0x2008
         MsgBox "obj is a ComObjArray of strings"

    最大8次元ã¾ã§ã®é…列ã«å¯¾å¿œã—ã¦ã„ã¾ã™ã€‚

    @@ -89,16 +89,16 @@

    例

    多次元ã§ã™ã€‚

    arr := ComObjArray(VT_VARIANT:=12, 3, 4)
     
    -; Get the number of dimensions:
    +; 次元数をå–å¾—ã—ã¾ã™ã€‚
     dim := DllCall("oleaut32\SafeArrayGetDim", "ptr", ComObjValue(arr))
     
    -; Get the bounds of each dimension:
    +; å„次元ã®å¢ƒç•Œã‚’å–å¾—ã—ã¾ã™ã€‚
     dims := ""
     Loop dim
         dims .= arr.MinIndex(A_Index) " .. " arr.MaxIndex(A_Index) "`n"
     MsgBox dims
     
    -; Simple usage:
    +; シンプルãªä½¿ã„æ–¹ã§ã™ã€‚
     Loop 3 {
         x := A_Index-1
         Loop 4 {
    diff --git a/target/docs/lib/ComObjConnect.htm b/target/docs/lib/ComObjConnect.htm
    index e746b06b6..d2be49342 100644
    --- a/target/docs/lib/ComObjConnect.htm
    +++ b/target/docs/lib/ComObjConnect.htm
    @@ -19,7 +19,7 @@ 

    パラメータ

    ComObj
    -

    Type: ComObject

    +

    型:ComObject

    イベントを発生ã•ã›ã‚‹ã‚ªãƒ–ジェクトã§ã™ã€‚

    オブジェクト㌠IConnectionPointContainer インターフェースをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„å ´åˆã€ã¾ãŸã¯ã‚ªãƒ–ジェクトã®ã‚¯ãƒ©ã‚¹ã«é–¢ã™ã‚‹åž‹æƒ…報をå–å¾—ã§ããªã„å ´åˆã¯ã€ã‚¨ãƒ©ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’表示ã—ã¾ã™ã€‚ã“れを抑制ã—ãŸã‚Šã€try/catchã§å‡¦ç†ã™ã‚‹ã“ã¨ãŒã§ãる。

    IProvideClassInfo インターフェースã¯ã€ã‚ªãƒ–ジェクトãŒã‚¯ãƒ©ã‚¹ã‚’サãƒãƒ¼ãƒˆã—ã¦ã„ã‚‹å ´åˆã€ãã®ã‚¯ãƒ©ã‚¹ã«é–¢ã™ã‚‹åž‹æƒ…報をå–å¾—ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„å ´åˆã€ComObjConnectã¯ã‚ªãƒ–ジェクトã®IDispatchインターフェースを介ã—ã¦åž‹æƒ…報をå–å¾—ã—よã†ã¨ã—ã¾ã™ãŒã€ã“ã‚Œã¯ä¿¡é ¼æ€§ã«æ¬ ã‘ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚

    @@ -27,7 +27,7 @@

    パラメータ

    PrefixOrSink
    -

    Type: String or Object

    +

    型:文字列ã¾ãŸã¯ã‚ªãƒ–ジェクト

    çœç•¥ã•ã‚ŒãŸå ´åˆã€ã‚ªãƒ–ジェクトã¯ã€Œåˆ‡æ–­ã€ã•ã‚Œã¾ã™ã€‚ã¤ã¾ã‚Šã€ã‚¹ã‚¯ãƒªãƒ—トã¯ãã®ã‚¤ãƒ™ãƒ³ãƒˆã®é€šçŸ¥ã‚’å—ã‘ãªããªã‚Šã¾ã™ã€‚Otherwise, specify a string to prefix to the event name to determine which global function to call when an event occurs, or an event sink object defining a static method for each event to be handled.

    注:ãƒã‚¹ãƒˆã•ã‚ŒãŸé–¢æ•°ã¯ã€ç¾åœ¨ã®é–¢æ•°ãŒæˆ»ã£ãŸå¾Œã«åå‰ãŒè§£æ±ºã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€ã“ã®ãƒ¢ãƒ¼ãƒ‰ã§ã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“。ãƒã‚¹ãƒˆã•ã‚ŒãŸé–¢æ•°ã‚„クロージャを使用ã™ã‚‹ã«ã¯ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ã‚ªãƒ–ジェクトã«ã‚¢ã‚¿ãƒƒãƒã—ã¦ã‚ªãƒ–ジェクトを渡ã—ã¾ã™ã€‚

    @@ -67,10 +67,10 @@

    例

    Internet Explorerã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’èµ·å‹•ã—ã€æŽ¥é ­è¾ž "IE_"ã‚’æŒã¤å¯¾å¿œã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—ト関数ã«ã‚¤ãƒ™ãƒ³ãƒˆã‚’接続ã—ã¾ã™ã€‚以下ã§ä½¿ç”¨ã™ã‚‹COMオブジェクトã¨DocumentCompleteイベントã®è©³ç´°ã¯ã€InternetExplorerオブジェクト(Microsoft Docs)をã”覧ãã ã•ã„。

    ie := ComObject("InternetExplorer.Application")
     
    -; Connects events to corresponding script functions with the prefix "IE_".
    +; イベントã¨å¯¾å¿œã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—ト関数を "IE_"ã¨ã„ã†æŽ¥é ­è¾žã§æŽ¥ç¶šã—ã¾ã™ã€‚
     ComObjConnect(ie, "IE_")
     
    -ie.Visible := true  ; This is known to work incorrectly on IE7.
    +ie.Visible := true  ; IE7ã§ã¯æ­£ã—ã動作ã—ãªã„ã“ã¨ãŒç¢ºèªã•ã‚Œã¦ã„ã¾ã™ã€‚
     ie.Navigate("https://www.autohotkey.com/")
     Persistent
     
    diff --git a/target/docs/lib/ComObjFlags.htm b/target/docs/lib/ComObjFlags.htm
    index 7a878e536..1637eb2a8 100644
    --- a/target/docs/lib/ComObjFlags.htm
    +++ b/target/docs/lib/ComObjFlags.htm
    @@ -20,26 +20,26 @@ 

    パラメータ

    ComObj
    -

    Type: Object

    +

    型:Object

    COM ラッパーオブジェクト。詳ã—ãã¯ComValueã‚’ã”覧ãã ã•ã„。

    NewFlags
    -

    Type: Integer

    +

    型:整数

    Maskã§è­˜åˆ¥ã•ã‚Œã‚‹ãƒ•ãƒ©ã‚°ã®æ–°ã—ã„値ã€ã¾ãŸã¯è¿½åŠ ã¾ãŸã¯å‰Šé™¤ã™ã‚‹ãƒ•ãƒ©ã‚°ã€‚

    Mask
    -

    Type: Integer

    +

    型:整数

    変更ã™ã‚‹ãƒ•ãƒ©ã‚°ã®ãƒ“ットマスクã§ã™ã€‚

    戻り値

    -

    Type: Integer

    +

    型:整数

    ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸ COM オブジェクトã®ç¾åœ¨ã®ãƒ•ãƒ©ã‚°ï¼ˆæŒ‡å®šã•ã‚ŒãŸå ´åˆã€NewFlagsã‚’é©ç”¨ã—ãŸå¾Œï¼‰ã‚’è¿”ã—ã¾ã™ã€‚

    エラー処ç†

    @@ -83,16 +83,16 @@

    例

    arr1 := ComObjArray(0xC, 3)
     arr2 := ComObjArray(0xC, 1)
     arr2[0] := "original value"
    -arr1[0] := arr2         ; Assign implicit copy.
    -ComObjFlags(arr2, -1)   ; Remove F_OWNVALUE.
    -arr1[1] := arr2         ; Assign original array.
    -arr1[2] := arr2.Clone() ; Assign explicit copy.
    +arr1[0] := arr2         ; æš—é»™ã®ã‚³ãƒ”ーを割り当ã¦ã‚‹ã€‚
    +ComObjFlags(arr2, -1)   ; F_OWNVALUEを削除ã—ã¾ã™ã€‚
    +arr1[1] := arr2         ; å…ƒã®é…列を割り当ã¦ã‚‹ã€‚
    +arr1[2] := arr2.Clone() ; 明示的ãªã‚³ãƒ”ーを割り当ã¦ã‚‹ã€‚
     arr2[0] := "new value"
     for arr in arr1
         MsgBox arr[0]
     
     arr1 := ""
    -; Not valid since arr2 == arr1[1], which has been destroyed: 
    +; arr2 == arr1[1]ãŒç ´å£Šã•ã‚ŒãŸã®ã§ç„¡åŠ¹ã§ã™ã€‚
     ;  arr2[0] := "foo"
     
    diff --git a/target/docs/lib/ComObjFromPtr.htm b/target/docs/lib/ComObjFromPtr.htm index acfd0f020..5a85597bc 100644 --- a/target/docs/lib/ComObjFromPtr.htm +++ b/target/docs/lib/ComObjFromPtr.htm @@ -21,14 +21,14 @@

    パラメータ

    DispPtr
    -

    Type: Integer

    +

    型:整数

    IDispatch ã¾ãŸã¯æ´¾ç”Ÿã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹ã®éž NULL インターフェースãƒã‚¤ãƒ³ã‚¿ã§ã™ã€‚

    戻り値

    -

    Type: ComObject

    +

    型:ComObject

    ãƒãƒªã‚¢ãƒ³ãƒˆã‚¿ã‚¤ãƒ—ã®VT_DISPATCHã¨ä¸Žãˆã‚‰ã‚ŒãŸãƒã‚¤ãƒ³ã‚¿ã‚’å«ã‚€ãƒ©ãƒƒãƒ‘ーオブジェクトを返ã—ã¾ã™ã€‚

    COMオブジェクトをラッピングã™ã‚‹ã“ã¨ã§ã€ã‚¹ã‚¯ãƒªãƒ—トã¯ã‚ªãƒ–ジェクトã®æ§‹æ–‡ã‚’使用ã—ã¦ã€ã‚ˆã‚Šè‡ªç„¶ã«ã‚ªãƒ–ジェクトã¨å¯¾è©±ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã ã—ã€ComObjectã€ComObjActiveã€ComObjGetã€ãŠã‚ˆã³ã‚ªãƒ–ジェクトを返ã™COMメソッドã§ã¯ã€ãƒ©ãƒƒãƒ‘ーオブジェクトãŒè‡ªå‹•çš„ã«ä½œæˆã•ã‚Œã‚‹ãŸã‚ã€å¤§åŠã®ã‚¹ã‚¯ãƒªãƒ—トã§ã¯ã€ã“れを手動ã§è¡Œã†å¿…è¦ã¯ãªã„。

    diff --git a/target/docs/lib/ComObjGet.htm b/target/docs/lib/ComObjGet.htm index d3bd87c43..68c563b2d 100644 --- a/target/docs/lib/ComObjGet.htm +++ b/target/docs/lib/ComObjGet.htm @@ -19,14 +19,14 @@

    パラメータ

    åå‰
    -

    Type: String

    +

    型:文字列

    å–å¾—ã™ã‚‹ã‚ªãƒ–ジェクトã®è¡¨ç¤ºå。詳ã—ãã¯ã€MkParseDisplayName (Microsoft Docs)ã‚’ã”覧ãã ã•ã„。

    戻り値

    -

    Type: ComObject

    +

    型:ComObject

    ã“ã®é–¢æ•°ã¯ã€ãƒãƒªã‚¢ãƒ³ãƒˆã‚¿ã‚¤ãƒ—VT_DISPATCH(9)ã‚’æŒã¤æ–°ã—ã„COMラッパーオブジェクトを返ã—ã¾ã™ã€‚

    エラー処ç†

    diff --git a/target/docs/lib/ComObjQuery.htm b/target/docs/lib/ComObjQuery.htm index c2f0f8227..625d31f72 100644 --- a/target/docs/lib/ComObjQuery.htm +++ b/target/docs/lib/ComObjQuery.htm @@ -20,26 +20,26 @@

    パラメータ

    ComObj
    -

    Type: Object or Integer

    +

    型:オブジェクトã¾ãŸã¯æ•´æ•°

    COM ラッパーオブジェクトã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹ãƒã‚¤ãƒ³ã‚¿ã€ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹ãƒã‚¤ãƒ³ã‚¿ã‚’è¿”ã™PtrプロパティをæŒã¤ã‚ªãƒ–ジェクト。See ComValue for details.

    IID
    -

    Type: String

    +

    型:文字列

    インターフェース識別å­ï¼ˆGUID)。"{xxxxxxx-xxxx-xxxx-xxxx-xxxx}"ã®å½¢å¼ã‚’ã¨ã‚‹ã€‚

    SID
    -

    Type: String

    +

    型:文字列

    IIDã¨åŒå½¢å¼ã®ã‚µãƒ¼ãƒ“ス識別å­ã€‚

    戻り値

    -

    Type: Object

    +

    型:Object

    ã“ã®é–¢æ•°ã¯ã€IIDパラメータã«ä¾å­˜ã™ã‚‹ã‚¿ã‚¤ãƒ—ã®COMラッパーオブジェクトを返ã—ã¾ã™ã€‚

    A_WorkingDir

    スクリプトã®ã‚«ãƒ¬ãƒ³ãƒˆä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã€‚ルート・ディレクトリã§ãªã„é™ã‚Šã€æœ€å¾Œã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã¯å«ã¾ã‚Œãªã„。Two examples: C:\ and C:\My Documents.

    +

    スクリプトã®ã‚«ãƒ¬ãƒ³ãƒˆä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã€‚ルート・ディレクトリã§ãªã„é™ã‚Šã€æœ€å¾Œã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã¯å«ã¾ã‚Œãªã„。例を2ã¤æŒ™ã’る:C:\ and C:\My Documents.

    SetWorkingDir can also be used to change the working directory.

    スクリプトã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã€ã‚¹ã‚¯ãƒªãƒ—トã®èµ·å‹•æ–¹æ³•ã«é–¢ä¿‚ãªãã€A_ScriptDirãŒãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¨ãªã‚‹ã€‚

    A_LineNumber

    スクリプト(ã¾ãŸã¯ãã®#Include files)内ã§ç¾åœ¨å®Ÿè¡Œä¸­ã®è¡Œã®ç•ªå·ã€‚This line number will match the one shown by ListLines; it can be useful for error reporting such as this example: MsgBox "Could not write to log file (line number " A_LineNumber ")".

    +

    スクリプト(ã¾ãŸã¯ãã®#Include files)内ã§ç¾åœ¨å®Ÿè¡Œä¸­ã®è¡Œã®ç•ªå·ã€‚ã“ã®è¡Œç•ªå·ã¯ã€ListLinesãŒè¡¨ç¤ºã™ã‚‹è¡Œç•ªå·ã¨ä¸€è‡´ã™ã‚‹ã€‚ã“ã®ä¾‹ã®ã‚ˆã†ãªã‚¨ãƒ©ãƒ¼å ±å‘Šã«å½¹ç«‹ã¤ï¼šMsgBox "Could not write to log file (line number " A_LineNumber ")".

    コンパイルã•ã‚ŒãŸã‚¹ã‚¯ãƒªãƒ—トã¯ã€ã™ã¹ã¦ã®#Include filesãŒ1ã¤ã®å¤§ããªã‚¹ã‚¯ãƒªãƒ—トã«ãƒžãƒ¼ã‚¸ã•ã‚Œã‚‹ãŸã‚ã€è¡Œç•ªå·ãŒéžã‚³ãƒ³ãƒ‘イルモードã§å®Ÿè¡Œã—ãŸã¨ãã¨ç•°ãªã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã€‚

    A_ThisFuncThe name of the user-defined function that is currently executing (blank if none); for example: MyFunction. See also: Name property (Func)ç¾åœ¨å®Ÿè¡Œä¸­ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼å®šç¾©é–¢æ•°ã®åå‰ï¼ˆãªã„å ´åˆã¯ç©ºç™½ï¼‰ï¼šMyFunction. ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:åå‰ãƒ—ロパティ (Func)
    A_AhkVersion1.0.22ã®ã‚ˆã†ã«ã€ã‚¹ã‚¯ãƒªãƒ—トを実行ã—ã¦ã„ã‚‹AutoHotkeyã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚コンパイルã•ã‚ŒãŸã‚¹ã‚¯ãƒªãƒ—トã®å ´åˆã€ãã®ã‚¹ã‚¯ãƒªãƒ—トをコンパイルã™ã‚‹ãŸã‚ã«æœ€åˆã«ä½¿ç”¨ã•ã‚ŒãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒå ±å‘Šã•ã‚Œã‚‹ã€‚The formatting of the version number allows a script to check whether A_AhkVersion is greater than some minimum version number with > or >= as in this example: if (A_AhkVersion >= "1.0.25.07"). See also: #Requires and VerCompare1.0.22ã®ã‚ˆã†ã«ã€ã‚¹ã‚¯ãƒªãƒ—トを実行ã—ã¦ã„ã‚‹AutoHotkeyã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚コンパイルã•ã‚ŒãŸã‚¹ã‚¯ãƒªãƒ—トã®å ´åˆã€ãã®ã‚¹ã‚¯ãƒªãƒ—トをコンパイルã™ã‚‹ãŸã‚ã«æœ€åˆã«ä½¿ç”¨ã•ã‚ŒãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒå ±å‘Šã•ã‚Œã‚‹ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã®æ›¸å¼è¨­å®šã«ã‚ˆã‚Šã€ã‚¹ã‚¯ãƒªãƒ—トã¯A_AhkVersionãŒã“ã®ä¾‹ã®ã‚ˆã†ã«>ã¾ãŸã¯>=ã§æŒ‡å®šã•ã‚ŒãŸæœ€å°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚ˆã‚Šå¤§ãã„ã‹ã©ã†ã‹ã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹ã“ã¨ãŒã§ãる:if (A_AhkVersion >= "1.0.25.07"). ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:#Requires ãŠã‚ˆã³ VerCompare
    A_AhkPath -

    For non-compiled or embedded scripts: The full path and name of the EXE file that is actually running the current script. For example: C:\Program Files\AutoHotkey\AutoHotkey.exe

    +

    éžã‚³ãƒ³ãƒ‘イルã¾ãŸã¯åŸ‹ã‚è¾¼ã¿ã‚¹ã‚¯ãƒªãƒ—トã®å ´åˆï¼šç¾åœ¨ã®ã‚¹ã‚¯ãƒªãƒ—トを実際ã«å®Ÿè¡Œã—ã¦ã„ã‚‹EXEファイルã®ãƒ•ãƒ«ãƒ‘スã¨åå‰ã€‚事例:C:\Program Files\AutoHotkey\AutoHotkey.exe

    .binファイルã«åŸºã¥ã„ã¦ã‚³ãƒ³ãƒ‘イルã•ã‚ŒãŸã‚¹ã‚¯ãƒªãƒ—トã®å ´åˆã¯ã€ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã‹ã‚‰ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’読ã¿å–ã‚Šã€"\AutoHotkey.exe"を追加ã—ã¦å€¤ã‚’決定ã—ã¾ã™ã€‚AutoHotkeyãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ãªã„å ´åˆã€å€¤ã¯ç©ºç™½ã«ãªã‚Šã¾ã™ã€‚以下ã®ä¾‹ã¯ã“ã‚Œã«ç›¸å½“ã™ã‚‹ï¼š

    InstallDir := RegRead("HKLM\SOFTWARE\AutoHotkey", "InstallDir", "")
     AhkPath := InstallDir ? InstallDir "\AutoHotkey.exe" : ""
    @@ -491,15 +520,15 @@

    Date and Time

    A_YDayç¾åœ¨ã®æ›œæ—¥ï¼ˆ1~366)。例ãˆã°ã€009ã§ã¯ãªã9ãŒå–り出ã•ã‚Œã‚‹ã€‚To retrieve a zero-padded value, use the following: FormatTime(, "YDay0").ç¾åœ¨ã®æ›œæ—¥ï¼ˆ1~366)。例ãˆã°ã€009ã§ã¯ãªã9ãŒå–り出ã•ã‚Œã‚‹ã€‚ゼロパディングã•ã‚ŒãŸå€¤ã‚’å–り出ã™ã«ã¯ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ã™ã‚‹ï¼šFormatTime(, "YDay0").
    A_YWeekISO 8601ã«å¾“ã£ãŸç¾åœ¨ã®å¹´å·ã¨é€±ç•ªå·ï¼ˆä¾‹ï¼š200453)。年ã¨é€±ã‚’分ã‘ã‚‹ã«ã¯ã€Year :=SubStr(A_YWeek, 1, 4)ã€Week :=SubStr(A_YWeek, -2)を使ã†ã€‚Precise definition of A_YWeek: If the week containing January 1st has four or more days in the new year, it is considered week 1. ãれ以外ã¯å‰å¹´ã®æœ€çµ‚週ã¨ãªã‚Šã€æ¬¡é€±ã¯ç¬¬1週ã¨ãªã‚Šã¾ã™ã€‚ISO 8601ã«å¾“ã£ãŸç¾åœ¨ã®å¹´å·ã¨é€±ç•ªå·ï¼ˆä¾‹ï¼š200453)。年ã¨é€±ã‚’分ã‘ã‚‹ã«ã¯ã€Year :=SubStr(A_YWeek, 1, 4)ã€Week :=SubStr(A_YWeek, -2)を使ã†ã€‚A_YWeekã®æ­£ç¢ºãªå®šç¾©ï¼šæ–°å¹´1月1日をå«ã‚€é€±ãŒ4日以上ã‚ã‚‹å ´åˆã¯ã€ç¬¬1週ã¨ã—ã¾ã™ã€‚ãれ以外ã¯å‰å¹´ã®æœ€çµ‚週ã¨ãªã‚Šã€æ¬¡é€±ã¯ç¬¬1週ã¨ãªã‚Šã¾ã™ã€‚
    A_Hour24時間制ã®ç¾åœ¨ã®2æ¡ã®æ™‚(00~23)(例:17ã¯åˆå¾Œ5時)。To retrieve 12-hour time as well as an AM/PM indicator, follow this example: FormatTime(, "h:mm:ss tt")24時間制ã®ç¾åœ¨ã®2æ¡ã®æ™‚(00~23)(例:17ã¯åˆå¾Œ5時)。12時間表示ã¨AM/PM表示をåŒæ™‚ã«å–å¾—ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ï¼šFormatTime(, "h:mm:ss tt")
    A_Min
    A_MSecç¾åœ¨ã®3æ¡ã®ãƒŸãƒªç§’(000-999)。To remove the leading zeros, follow this example: Milliseconds := A_MSec + 0.ç¾åœ¨ã®3æ¡ã®ãƒŸãƒªç§’(000-999)。先頭ã®ã‚¼ãƒ­ã‚’å–り除ãã«ã¯ã€æ¬¡ã®ä¾‹ã«å¾“ã£ã¦ãã ã•ã„:Milliseconds := A_MSec + 0.
    A_Now é€ä¿¡å¾Œã«CapsLockã®çŠ¶æ…‹ã‚’復元ã™ã‚‹ã‹ã©ã†ã‹ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã§ãã¾ã™ã€‚設定å¯èƒ½ãªå€¤ã¯0(無効)ã¾ãŸã¯1(有効)。詳細ã¯SetStoreCapsLockModeã‚’å‚照。
    A_KeyDelay
    A_KeyDuration
    A_KeyDelay
    + A_KeyDuration
    キー入力ã®é…延時間ã¾ãŸã¯ç¶™ç¶šæ™‚間をミリ秒å˜ä½ã§å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ã€‚詳細ã¯SetKeyDelayã‚’å‚照。
    A_KeyDelayPlay
    A_KeyDurationPlay
    A_KeyDelayPlay
    + A_KeyDurationPlay
    SendPlayモードã§é€ä¿¡ã•ã‚Œã‚‹ã‚­ãƒ¼å…¥åŠ›ã®é…延時間ã¾ãŸã¯æŒç¶šæ™‚間をミリ秒å˜ä½ã§å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã§ãã¾ã™ã€‚詳細ã¯SetKeyDelayã‚’å‚照。
    Winã¾ãŸã¯Altキーアップイベントã®ãƒžã‚¹ã‚¯ã«ä½¿ç”¨ã•ã‚Œã‚‹ã‚­ãƒ¼ã‚’制御ã—ã¾ã™ã€‚詳細ã¯A_MenuMaskKeyã‚’å‚照。
    A_MouseDelay
    A_MouseDelayPlay
    A_MouseDelay
    + A_MouseDelayPlay
    マウスディレイをミリ秒å˜ä½ã§å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ã€‚A_MouseDelayã¯å¾“æ¥ã®SendEventモード用ã§ã€A_MouseDelayPlayã¯SendPlay用ã§ã™ã€‚詳細ã¯SetMouseDelayã‚’å‚照。
    デフォルトã®ãƒžã‚¦ã‚¹é€Ÿåº¦ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚0 (最も速ã„) ã‹ã‚‰ 100 (最もé…ã„) ã¾ã§ã®æ•´æ•°ã§ã™ã€‚詳細ã¯SetDefaultMouseSpeedã‚’å‚照。
    A_CoordModeToolTip
    A_CoordModePixel
    A_CoordModeMouse
    A_CoordModeCaret
    A_CoordModeMenu
    A_CoordModeToolTip
    + A_CoordModePixel
    + A_CoordModeMouse
    + A_CoordModeCaret
    + A_CoordModeMenu
    座標ã®ç›¸å¯¾çš„ãªé ˜åŸŸã‚’å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã§ãã¾ã™ã€‚Possible values are Screen, Window, and Client. 詳細ã¯CoordModeã‚’å‚照。
    A_AllowMainWindow

    スクリプトã®ãƒ¡ã‚¤ãƒ³ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’ トレイアイコンã‹ã‚‰é–‹ãã“ã¨ã‚’許å¯ã™ã‚‹ã‹ã©ã†ã‹ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã§ãã¾ã™ã€‚設定å¯èƒ½ãªå€¤ã¯0(ç¦æ­¢ï¼‰ã¨1(許å¯ï¼‰ã€‚

    スクリプトãŒã‚³ãƒ³ãƒ‘イルも 埋ã‚è¾¼ã¿ã‚‚ã•ã‚Œã¦ã„ãªã„å ´åˆã€ã“ã®å¤‰æ•°ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯1ã§ã™ã€‚ãã†ã§ãªã„å ´åˆã€ã“ã®å¤‰æ•°ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯0ã§ã™ãŒã€å€¤ã‚’代入ã™ã‚‹ã“ã¨ã§ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã§ãã¾ã™ã€‚1ã«è¨­å®šã™ã‚‹ã¨ã€ãƒˆãƒ¬ã‚¤ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã«ã€Œé–‹ãã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼é …ç›®ãŒå¾©æ´»ã—ã€ãƒ¡ã‚¤ãƒ³ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã€Œè¡¨ç¤ºã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã«ã‚る「最近実行ã—ãŸè¡Œã€ãªã©ã®é …ç›®ãŒæœ‰åŠ¹ã«ãªã‚Šã€ã‚¹ã‚¯ãƒªãƒ—トã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚„ãã®ä»–ã®æƒ…報を見るã“ã¨ãŒã§ãるよã†ã«ãªã‚‹ã€‚

    -

    The following functions are always able to show the main window and select the corresponding View options when they are encountered in the script at runtime: ListLines, ListVars, ListHotkeys, and KeyHistory.

    +

    以下ã®é–¢æ•°ã¯ã€ã‚¹ã‚¯ãƒªãƒ—トã®å®Ÿè¡Œæ™‚ã«ãƒ¡ã‚¤ãƒ³ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’表示ã—ã€å¯¾å¿œã™ã‚‹ãƒ“ューオプションをé¸æŠžã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼šListLines, ListVars, ListHotkeys, and KeyHistory.

    1ã«è¨­å®šã—ã¦ã‚‚ã€WinShowã§ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒè¡¨ç¤ºã•ã‚ŒãŸã‚Šã€ControlGetTextã‚„åŒæ§˜ã®ãƒ¡ã‚½ãƒƒãƒ‰ã§æ¤œæŸ»ã•ã‚ŒãŸã‚Šã™ã‚‹ã®ã‚’防ãã“ã¨ã¯ã§ãã¾ã›ã‚“ãŒã€ã‚¹ã‚¯ãƒªãƒ—トã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã‚„ãã®ä»–ã®æƒ…å ±ãŒãƒ¡ã‚¤ãƒ³ãƒ»ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦çµŒç”±ã§å…¬é–‹ã•ã‚Œã‚‹ã®ã‚’防ãã“ã¨ãŒã§ãã¾ã™ã€‚

    A_Temp

    一時ファイルをä¿å­˜ã™ã‚‹ãƒ•ã‚©ãƒ«ãƒ€ã®ãƒ•ãƒ«ãƒ‘スã¨åå‰ã€‚It is retrieved from one of the following locations (in order): 1) the environment variables TMP, TEMP, or USERPROFILE; 2) the Windows directory. 事例:

    +

    一時ファイルをä¿å­˜ã™ã‚‹ãƒ•ã‚©ãƒ«ãƒ€ã®ãƒ•ãƒ«ãƒ‘スã¨åå‰ã€‚ã“ã‚Œã¯ã€ä»¥ä¸‹ã®ã„ãšã‚Œã‹ã®å ´æ‰€ã‹ã‚‰å–å¾—ã•ã‚Œã‚‹ï¼ˆé †ç•ªã«ï¼‰ï¼š1)環境変数TMPã€TEMPã€ã¾ãŸã¯USERPROFILEã€2) Windowsディレクトリ。事例:

    C:\Users\<UserName>\AppData\Local\Temp
    A_WinDirWindowsã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€‚For example: C:\WindowsWindowsã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€‚事例:C:\Windows
    A_ProgramFiles

    A_ScreenWidth
    A_ScreenHeight

    A_ScreenWidth
    + A_ScreenHeight

    プライマリ・モニターã®å¹…ã¨é«˜ã•ã‚’ピクセルå˜ä½ã§æŒ‡å®šã™ã‚‹ï¼ˆä¾‹ï¼š1024ã¨768)。

    マルãƒãƒ¢ãƒ‹ã‚¿ãƒ¼ã‚·ã‚¹ãƒ†ãƒ ã®ä»–ã®ãƒ¢ãƒ‹ã‚¿ãƒ¼ã®å¯¸æ³•ã‚’調ã¹ã‚‹ã«ã¯ã€SysGetを使用ã™ã‚‹ã€‚

    デスクトップ全体ã®å¹…ã¨é«˜ã•ã‚’知るã«ã¯ï¼ˆè¤‡æ•°ã®ãƒ¢ãƒ‹ã‚¿ãƒ¼ã«ã¾ãŸãŒã£ã¦ã„ã¦ã‚‚)ã€æ¬¡ã®ä¾‹ã‚’使ã†ï¼š

    @@ -900,7 +937,7 @@

    Misc.

    A_Cursor

    ç¾åœ¨è¡¨ç¤ºã•ã‚Œã¦ã„るマウスカーソルã®ç¨®é¡žã€‚It will be one of the following words: AppStarting, Arrow, Cross, Help, IBeam, Icon, No, Size, SizeAll, SizeNESW, SizeNS, SizeNWSE, SizeWE, UpArrow, Wait, Unknown. サイズタイプã®ã‚«ãƒ¼ã‚½ãƒ«ã§ä½¿ã‚れる頭字語ã¯ã‚³ãƒ³ãƒ‘スã®æ–¹å‘ã§ã‚る。例ãˆã°ã€NESW = NorthEast+SouthWestã§ã‚る。手ã®å½¢ã‚’ã—ãŸã‚«ãƒ¼ã‚½ãƒ«ï¼ˆãƒã‚¤ãƒ³ãƒ†ã‚£ãƒ³ã‚°ã¨ã‚°ãƒ©ãƒ–)ã¯ã‚¢ãƒ³ãƒŽã‚¦ãƒ³ã«åˆ†é¡žã•ã‚Œã‚‹ã€‚

    ç¾åœ¨è¡¨ç¤ºã•ã‚Œã¦ã„るマウスカーソルã®ç¨®é¡žã€‚ãã‚Œã¯ä»¥ä¸‹ã®è¨€è‘‰ã®ã„ãšã‚Œã‹ã¨ãªã‚‹ï¼šAppStartingã€Arrowã€Crossã€Helpã€IBeamã€Iconã€Noã€Sizeã€SizeAllã€SizeNESWã€SizeNSã€SizeNWSEã€SizeWEã€UpArrowã€Waitã€Unknown。サイズタイプã®ã‚«ãƒ¼ã‚½ãƒ«ã§ä½¿ã‚れる頭字語ã¯ã‚³ãƒ³ãƒ‘スã®æ–¹å‘ã§ã‚る。例ãˆã°ã€NESW = NorthEast+SouthWestã§ã‚る。手ã®å½¢ã‚’ã—ãŸã‚«ãƒ¼ã‚½ãƒ«ï¼ˆãƒã‚¤ãƒ³ãƒ†ã‚£ãƒ³ã‚°ã¨ã‚°ãƒ©ãƒ–)ã¯ã‚¢ãƒ³ãƒŽã‚¦ãƒ³ã«åˆ†é¡žã•ã‚Œã‚‹ã€‚

    A_EventInfo
    @@ -73,11 +73,11 @@

    例

     obj := ComObject("Scripting.Dictionary")
     
    -MsgBox "Interface name: " ComObjType(obj, "name")
    +MsgBox "Interface name:" ComObjType(obj, "name")
     
     IID_IProvideClassInfo := "{B196B283-BAB4-101A-B69C-00AA00341D07}"
     
    -; Request the object's IProvideClassInfo interface.
    +;オブジェクト㮠IProvideClassInfo インタフェースをè¦æ±‚ã—ã¾ã™ã€‚
     try
         pci := ComObjQuery(obj, IID_IProvideClassInfo)
     catch
    @@ -86,24 +86,24 @@ 

    例

    return } -; Call GetClassInfo to retrieve a pointer to the ITypeInfo interface. +;GetClassInfo を呼ã³å‡ºã—ã€ITypeInfo インターフェースã¸ã®ãƒã‚¤ãƒ³ã‚¿ã‚’å–å¾—ã—ã¾ã™ã€‚ ComCall(3, pci, "ptr*", &ti := 0) -; Wrap ti to ensure automatic cleanup. +; 自動洗浄を確実ã«ã™ã‚‹ãŸã‚ã«ã€Wrap tiを使用ã—ã¾ã™ã€‚ ti := ComValue(13, ti) -; Call GetDocumentation to get the object's full type name. +;オブジェクトã®å®Œå…¨ãªåž‹åã‚’å¾—ã‚‹ãŸã‚ã«GetDocumentationを呼ã³å‡ºã™ã€‚ ComCall(12, ti, "int", -1, "ptr*", &pname := 0, "ptr", 0, "ptr", 0, "ptr", 0) -; Convert the BSTR pointer to a usable string. +; BSTRãƒã‚¤ãƒ³ã‚¿ã‚’使用å¯èƒ½ãªæ–‡å­—列ã«å¤‰æ›ã—ã¾ã™ã€‚ name := StrGet(pname, "UTF-16") -; Clean up. +;クリーンアップ DllCall("oleaut32\SysFreeString", "ptr", pname) pci := ti := "" -; Display the type name! -MsgBox "Class name: " name +; åž‹åを表示ã™ã‚‹! +MsgBox "Class name:" name
    @@ -127,21 +127,21 @@

    例

    , "Ptr", IID_IHTMLDocument2, "Ptr", 0 , "Ptr*", pdoc := ComValue(VT_UNKNOWN, 0)) - ; Query for the WebBrowserApp service. In this particular case, +; WebBrowserApp サービス㮠;クエリã§ã™ã€‚ã“ã®ç‰¹æ®Šãªã‚±ãƒ¼ã‚¹ã§ ; SIDã¨IIDã¯åŒã˜ã§ã™ãŒã€ã„ã¤ã‚‚ã“ã†ã¨ã¯é™ã‚Šã¾ã›ã‚“。 static IID_IWebBrowserApp := "{0002DF05-0000-0000-C000-000000000046}" static SID_SWebBrowserApp := IID_IWebBrowserApp pweb := ComObjQuery(pdoc, SID_SWebBrowserApp, IID_IWebBrowserApp) - ; WebBrowserオブジェクトをIDispatchã¨ã—ã¦è¿”ã—ã€ä½¿ã„å‹æ‰‹ã‚’良ãã—ã¾ã™ã€‚ - ; ã“ã‚Œã¯ã€IWebBrowserAppãŒIDispatchã‹ã‚‰æ´¾ç”Ÿã—ãŸã‚‚ã®ã§ã‚ã‚‹ãŸã‚ã§ã™ã€‚ - ; pwebã¯è‡ªå‹•çš„ã«ptrを解放ã™ã‚‹ã®ã§ã€ãã‚Œã«å¯¾æŠ—ã™ã‚‹ãŸã‚ã«AddRefã—ã¾ã™ã€‚ +; WebBrowserオブジェクトをIDispatchã¨ã—ã¦è¿”ã—ã€ä½¿ã„å‹æ‰‹ã‚’良ãã—ã¾ã™ã€‚ +; ã“ã‚Œã¯ã€IWebBrowserAppãŒIDispatchã‹ã‚‰æ´¾ç”Ÿã—ãŸã‚‚ã®ã§ã‚ã‚‹ãŸã‚ã§ã™ã€‚ +; pwebã¯è‡ªå‹•çš„ã«ptrを解放ã™ã‚‹ã®ã§ã€ãã‚Œã«å¯¾æŠ—ã™ã‚‹ãŸã‚ã«AddRefã—ã¾ã™ã€‚ ObjAddRef(pweb.ptr) static VT_DISPATCH := 9 return ComValue(VT_DISPATCH, pweb.ptr) } -GUID(sGUID) ; Converts a string to a binary GUID and returns it in a Buffer. +GUID(sGUID) ; 文字列をãƒã‚¤ãƒŠãƒªGUIDã«å¤‰æ›ã—ã€Bufferã§è¿”ã™ã€‚ { GUID := Buffer(16, 0) if DllCall("ole32\CLSIDFromString", "WStr", sGUID, "Ptr", GUID) < 0 diff --git a/target/docs/lib/ComObjType.htm b/target/docs/lib/ComObjType.htm index c41794696..8c489f84b 100644 --- a/target/docs/lib/ComObjType.htm +++ b/target/docs/lib/ComObjType.htm @@ -21,13 +21,13 @@

    パラメータ

    ComObj
    -

    Type: Object

    +

    型:Object

    COMオブジェクトã¾ãŸã¯åž‹ä»˜ã値をå«ã‚€ãƒ©ãƒƒãƒ‘ーオブジェクト。詳ã—ãã¯ComValueã‚’ã”覧ãã ã•ã„。

    InfoType
    -

    Type: String

    +

    型:文字列

    If omitted, an integer variant type code indicating the type of value contained by the COM wrapper object will be retrieved. Otherwise, specify one of the following strings indicating the type information to retrieve:

    Name: The name of the object's default interface.

    IID: The globally unique identifier (GUID) of the object's default interface.

    @@ -38,41 +38,41 @@

    パラメータ

    戻り値

    -

    Type: Integer or String

    +

    型:整数ã¾ãŸã¯æ–‡å­—列

    The return value depends on the value of InfoType. ã„ãšã‚Œã‹ã®ãƒ‘ラメータãŒç„¡åŠ¹ãªå ´åˆã€ã¾ãŸã¯è¦æ±‚ã•ã‚ŒãŸåž‹æƒ…報をå–å¾—ã§ããªã‹ã£ãŸå ´åˆã¯ã€ç©ºæ–‡å­—列ãŒè¿”ã•ã‚Œã¾ã™ã€‚

    ãƒãƒªã‚¢ãƒ³ãƒˆåž‹å®šæ•°

    COMã¯ã€åŸºæœ¬çš„ãªãƒ‡ãƒ¼ã‚¿åž‹ã‚’識別ã™ã‚‹ãŸã‚ã«ã€ä»¥ä¸‹ã®å€¤ã‚’使用ã—ã¾ã™ã€‚

    -VT_EMPTY     :=      0  ; No value
    +VT_EMPTY     :=      0  ; 値ãªã—
     VT_NULL      :=      1  ; SQL-style Null
    -VT_I2        :=      2  ; 16-bit signed int
    -VT_I4        :=      3  ; 32-bit signed int
    -VT_R4        :=      4  ; 32-bit floating-point number
    -VT_R8        :=      5  ; 64-bit floating-point number
    -VT_CY        :=      6  ; Currency
    -VT_DATE      :=      7  ; Date
    -VT_BSTR      :=      8  ; COM string (Unicode string with length prefix)
    -VT_DISPATCH  :=      9  ; COM object
    -VT_ERROR     :=    0xA  ; Error code (32-bit integer)
    -VT_BOOL      :=    0xB  ; Boolean True (-1) or False (0)
    -VT_VARIANT   :=    0xC  ; VARIANT (must be combined with VT_ARRAY or VT_BYREF)
    -VT_UNKNOWN   :=    0xD  ; IUnknown interface pointer
    -VT_DECIMAL   :=    0xE  ; (not supported)
    -VT_I1        :=   0x10  ; 8-bit signed int
    -VT_UI1       :=   0x11  ; 8-bit unsigned int
    -VT_UI2       :=   0x12  ; 16-bit unsigned int
    -VT_UI4       :=   0x13  ; 32-bit unsigned int
    -VT_I8        :=   0x14  ; 64-bit signed int
    -VT_UI8       :=   0x15  ; 64-bit unsigned int
    -VT_INT       :=   0x16  ; Signed machine int
    -VT_UINT      :=   0x17  ; Unsigned machine int
    -VT_RECORD    :=   0x24  ; User-defined type -- NOT SUPPORTED
    +VT_I2        :=      2  ; 16ビット符å·ä»˜ãæ•´æ•°
    +VT_I4        :=      3  ; 32ビット符å·ä»˜ãæ•´æ•°
    +VT_R4        :=      4  ; 32ビット浮動å°æ•°ç‚¹æ•°
    +VT_R8        :=      5  ; 64ビット浮動å°æ•°ç‚¹æ•°
    +VT_CY        :=      6  ; 通貨
    +VT_DATE      :=      7  ; 日付
    +VT_BSTR      :=      8  ; COM 文字列(Unicode 文字列ã«é•·ã•ã®æŽ¥é ­è¾žã‚’付ã‘ãŸã‚‚ã®ï¼‰ã€‚
    +VT_DISPATCH  :=      9  ; COM オブジェクト
    +VT_ERROR     :=    0xA  ; エラーコード(32ビット整数)
    +VT_BOOL      :=    0xB  ; 真(-1)ã¾ãŸã¯å½(0)ã®è«–ç†åž‹ã€‚
    +VT_VARIANT   :=    0xC  ; VARIANT(VT_ARRAYã¾ãŸã¯VT_BYREFã¨ã®çµ„ã¿åˆã‚ã›ãŒå¿…è¦)
    +VT_UNKNOWN   :=    0xD  ; IUnknown インターフェースãƒã‚¤ãƒ³ã‚¿
    +VT_DECIMAL   :=    0xE  ;(サãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“)
    +VT_I1        :=   0x10  ; 8ビット符å·ä»˜ãæ•´æ•°
    +VT_UI1       :=   0x11  ; 8ビット符å·ç„¡ã—æ•´æ•°
    +VT_UI2       :=   0x12  ; 16ビット符å·ç„¡ã—æ•´æ•°
    +VT_UI4       :=   0x13  ; 32ビット符å·ç„¡ã—æ•´æ•°
    +VT_I8        :=   0x14  ; 64ビット符å·ä»˜ãæ•´æ•°
    +VT_UI8       :=   0x15  ; 64ビット符å·ç„¡ã—æ•´æ•°
    +VT_INT       :=   0x16  ; 符å·ä»˜ãマシン整数
    +VT_UINT      :=   0x17  ; 符å·ãªã—マシン整数
    +VT_RECORD    :=   0x24  ; ユーザー定義型 -- NOT SUPPORTED
     VT_ARRAY     := 0x2000  ; SAFEARRAY
    -VT_BYREF     := 0x4000  ; Pointer to another type of value
    +VT_BYREF     := 0x4000  ; 別ã®ã‚¿ã‚¤ãƒ—ã®å€¤ã¸ã®ãƒã‚¤ãƒ³ã‚¿
     /*
      VT_ARRAYã¨VT_BYREFを別ã®å€¤ã¨çµåˆã™ã‚‹ï¼ˆãƒ“ットå˜ä½ã®OR使用)
    - to specify the exact type. For instance, 0x2003 identifies a SAFEARRAY
    + ã§ã€æ­£ç¢ºãªåž‹ã‚’指定ã—ã¾ã™ã€‚例ãˆã°ã€0x2003ã¯ã€SAFEARRAYを識別ã—ã¾ã™ã€‚
      㯠32 ビット符å·ä»˜ãæ•´æ•°ã€0x400C ã¯VARIANTã¸ã®ãƒã‚¤ãƒ³ã‚¿ã‚’示ã—ã¾ã™ã€‚
     */
     
    diff --git a/target/docs/lib/ComObjValue.htm b/target/docs/lib/ComObjValue.htm index a5c36f694..a0008daed 100644 --- a/target/docs/lib/ComObjValue.htm +++ b/target/docs/lib/ComObjValue.htm @@ -21,14 +21,14 @@

    パラメータ

    ComObj
    -

    Type: Object

    +

    型:Object

    COMオブジェクトã¾ãŸã¯åž‹ä»˜ã値をå«ã‚€ãƒ©ãƒƒãƒ‘ーオブジェクト。詳ã—ãã¯ComValueã‚’ã”覧ãã ã•ã„。

    戻り値

    -

    Type: Integer

    +

    型:整数

    ã“ã®é–¢æ•°ã¯ã€64ビット符å·ä»˜ãæ•´æ•°ã‚’è¿”ã—ã¾ã™ã€‚

    エラー処ç†

    diff --git a/target/docs/lib/ComObject.htm b/target/docs/lib/ComObject.htm index 95c536037..896ab21c8 100644 --- a/target/docs/lib/ComObject.htm +++ b/target/docs/lib/ComObject.htm @@ -21,20 +21,20 @@

    パラメータ

    CLSID
    -

    Type: String

    +

    型:文字列

    作æˆã™ã‚‹ COM オブジェクト㮠CLSID ã¾ãŸã¯äººé–“ãŒèª­ã‚ã‚‹ Prog ID。

    IID
    -

    Type: String

    +

    型:文字列

    If omitted, it defaults to "{00020400-0000-0000-C000-000000000046}" (IID_IDispatch). Otherwise, specify the identifier of the interface to return. In most cases this is omitted.

    戻り値

    -

    Type: Object

    +

    型:Object

    ã“ã®é–¢æ•°ã¯ã€IIDパラメータã«ä¾å­˜ã™ã‚‹ã‚¿ã‚¤ãƒ—ã®COMラッパーオブジェクトを返ã—ã¾ã™ã€‚

    IIDClassVariant Type説明
    @@ -59,11 +59,11 @@

    ComValue, ComObjGet, ComObjActive, ComObjConnect, ComObjArray, ComObjQuery, ComCall, CreateObject (Microsoft Docs)

    例

    -

    For a long list of examples, see the following forum topic: https://www.autohotkey.com/forum/topic61509.html.

    +

    é•·ã„例ã®ãƒªã‚¹ãƒˆã¯ã€æ¬¡ã®ãƒ•ã‚©ãƒ¼ãƒ©ãƒ ã®ãƒˆãƒ”ックをå‚ç…§ã—ã¦ãã ã•ã„。https://www.autohotkey.com/forum/topic61509.html.

    Internet Explorerã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’èµ·å‹•ã—ã€è¡¨ç¤ºã•ã›ã€Webサイトã¸ç§»å‹•ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    ie := ComObject("InternetExplorer.Application")
    -ie.Visible := true  ; This is known to work incorrectly on IE7.
    +ie.Visible := true  ; IE7ã§ã¯æ­£ã—ã動作ã—ãªã„ã“ã¨ãŒç¢ºèªã•ã‚Œã¦ã„ã¾ã™ã€‚
     ie.Navigate("https://www.autohotkey.com/")
     
    @@ -81,7 +81,7 @@

    例

    wszWallpaper := Buffer(cchWallpaper * 2) ComCall(GetWallpaper, AD, "ptr", wszWallpaper, "uint", cchWallpaper, "uint", AD_GETWP_LAST_APPLIED) Wallpaper := StrGet(wszWallpaper, "UTF-16") -MsgBox "Wallpaper: " Wallpaper +MsgBox "Wallpaper:" Wallpaper diff --git a/target/docs/lib/ComValue.htm b/target/docs/lib/ComValue.htm index acef1991d..7ea86a985 100644 --- a/target/docs/lib/ComValue.htm +++ b/target/docs/lib/ComValue.htm @@ -22,13 +22,13 @@

    パラメータ

    VarType
    -

    Type: Integer

    +

    型:整数

    値ã®ç¨®é¡žã‚’示ã™æ•´æ•°ã€‚タイプã®ä¸€è¦§ã¯ComObjTypeã‚’ã”覧ãã ã•ã„。

    値
    -

    Type: Any

    +

    型:任æ„

    ラップã™ã‚‹å€¤ã€‚

    ã“ã‚ŒãŒç´”粋ãªæ•´æ•°ã§ã€VarType㌠VT_R4, VT_R8, VT_DATE, VT_CY ã§ãªã„å ´åˆã€ãã®å€¤ãŒç›´æŽ¥ä½¿ã‚ã‚Œã¾ã™ã€‚特㫠VT_BSTR, VT_DISPATCH, VT_UNKNOWN ã¯ãƒã‚¤ãƒ³ã‚¿å€¤ã§åˆæœŸåŒ–ã§ãる。

    ãれ以外ã®å ´åˆã¯ã€é€šå¸¸ã®COMメソッド呼ã³å‡ºã—ã¨åŒã˜ãƒ«ãƒ¼ãƒ«ã§ã€ä¸€æ™‚çš„ãªVARIANTã«å€¤ãŒã‚³ãƒ”ーã•ã‚Œã¾ã™ã€‚ソースãƒãƒªã‚¢ãƒ³ãƒˆã‚¿ã‚¤ãƒ—ãŒVarTypeã¨ç­‰ã—ããªã„å ´åˆã€wFlagsã®å€¤0ã‚’æŒã¤VariantChangeTypeを呼ã³å‡ºã™ã“ã¨ã§å¤‰æ›ãŒè©¦ã¿ã‚‰ã‚Œã¾ã™ã€‚変æ›ã«å¤±æ•—ã—ãŸå ´åˆã¯ã€ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    @@ -36,14 +36,14 @@

    パラメータ

    Flags
    -

    Type: Integer

    +

    型:整数

    ラッパーオブジェクトã®å‹•ä½œã«å½±éŸ¿ã‚’与ãˆã‚‹ãƒ•ãƒ©ã‚°ã€‚詳細ã¯ComObjFlagsã‚’å‚ç…§ã—ã¦ãã ã•ã„。

    戻り値

    -

    Type: Object

    +

    型:Object

    This function returns a wrapper object containing a variant type and value or pointer, specifically ComValue, ComValueRef, ComObjArray or ComObject.

    ã“ã®ã‚ªãƒ–ジェクトã¯è¤‡æ•°ã®ç”¨é€”:

      @@ -61,12 +61,12 @@

      ByRef

      ã‚‚ã—ã€ãƒ©ãƒƒãƒ‘ーオブジェクト㮠VarTypeã¯VT_BYREF(0x4000)フラグをå«ã‚€ã®ã§ã€ç©ºã‚«ãƒƒã‚³[]ã§å‚照値ã®èª­ã¿æ›¸ããŒå¯èƒ½ã§ã™ã€‚

      å‚照を作æˆã™ã‚‹å ´åˆã€Valueã«ã¯ã€æŒ‡å®šã•ã‚ŒãŸåž‹ã®å€¤ã‚’æ ¼ç´ã™ã‚‹ã®ã«å分ãªå®¹é‡ã‚’æŒã¤å¤‰æ•°ã¾ãŸã¯ãƒãƒƒãƒ•ã‚¡ã®ãƒ¡ãƒ¢ãƒªã‚¢ãƒ‰ãƒ¬ã‚¹ãŒå¿…è¦ã§ã™ã€‚例ãˆã°ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ã™ã‚Œã°ã€VBScriptã®é–¢æ•°ãŒæ›¸ã込むã“ã¨ãŒã§ãる変数を作æˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

      vbuf := Buffer(24, 0)
      -vref := ComValue(0x400C, vbuf.ptr)  ; 0x400C is a combination of VT_BYREF and VT_VARIANT.
      +vref := ComValue(0x400C, vbuf.ptr)  ; 0x400C ã¯ã€VT_BYREF 㨠VT_VARIANT ã®çµ„ã¿åˆã‚ã›ã§ã™ã€‚
       
       vref[] := "in value"
      -sc.Run("Example", vref)  ; sc should be initialized as in the example below.
      +sc.Run("Example", vref)  ; scã¯ã€ä»¥ä¸‹ã®ä¾‹ã®ã‚ˆã†ã«åˆæœŸåŒ–ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
       MsgBox vref[]
      -

      ãªãŠã€vref[]ã‚„COMメソッドã§æ–°ã—ã„値を代入ã™ã‚‹ã¨ã€ä»¥å‰ã®å€¤ã¯ã™ã¹ã¦è§£æ”¾ã•ã‚Œã¾ã™ãŒã€æœ€çµ‚çš„ãªå€¤ã¯è‡ªå‹•çš„ã«è§£æ”¾ã•ã‚Œã‚‹ã‚ã‘ã§ã¯ã‚ã‚Šã¾ã›ã‚“。値を解放ã™ã‚‹ã«ã¯ã€ãã®å€¤ãŒã©ã®ã‚¿ã‚¤ãƒ—ã§ã‚ã‚‹ã‹ã‚’知る必è¦ãŒã‚ã‚Šã¾ã™ã€‚Because it is VT_VARIANT in this case, it can be freed by calling VariantClear with DllCall or by using a simpler method: assign an integer, such as vref[] := 0.

      +

      ãªãŠã€vref[]ã‚„COMメソッドã§æ–°ã—ã„値を代入ã™ã‚‹ã¨ã€ä»¥å‰ã®å€¤ã¯ã™ã¹ã¦è§£æ”¾ã•ã‚Œã¾ã™ãŒã€æœ€çµ‚çš„ãªå€¤ã¯è‡ªå‹•çš„ã«è§£æ”¾ã•ã‚Œã‚‹ã‚ã‘ã§ã¯ã‚ã‚Šã¾ã›ã‚“。値を解放ã™ã‚‹ã«ã¯ã€ãã®å€¤ãŒã©ã®ã‚¿ã‚¤ãƒ—ã§ã‚ã‚‹ã‹ã‚’知る必è¦ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®å ´åˆVT_VARIANTãªã®ã§ã€DllCall㧠VariantClearを呼ã³å‡ºã™ã‹ã€ã‚‚ã£ã¨ç°¡å˜ãªæ–¹æ³•ã§è§£æ”¾ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚vref[] := 0ã®ã‚ˆã†ã«æ•´æ•°ã‚’代入ã—ã¾ã™ã€‚

      上記ã®ã‚ˆã†ã«ãƒ¡ã‚½ãƒƒãƒ‰ãŒVT_BYREFã¨VT_VARIANTã®çµ„ã¿åˆã‚ã›ã‚’å—ã‘付ã‘ã‚‹å ´åˆã€VarRefを代ã‚ã‚Šã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚事例:

      some_var := "in value"
       sc.Run("Example", &some_var)
      @@ -87,7 +87,7 @@ 

      例

      COM関数ã«VARIANT ByRefを渡ã—ã¾ã™ã€‚

      -; Preamble - ScriptControl requires a 32-bit version of AutoHotkey.
      +; å‰æ–‡ - ScriptControlã¯AutoHotkeyã®32ビット版を必è¦ã¨ã—ã¾ã™ã€‚
       code := "
       (
       Sub Example(Var)
      @@ -98,39 +98,39 @@ 

      例

      sc := ComObject("ScriptControl"), sc.Language := "VBScript", sc.AddCode(code) -; Example: Pass a VARIANT ByRef to a COM method. +; 例:COMメソッドã«VARIANT ByRefを渡ã™ã€‚ var := ComVar() var[] := "in value" sc.Run("Example", var.ref) MsgBox var[] -; The same thing again, but more direct: -variant_buf := Buffer(24, 0) ; Make a buffer big enough for a VARIANT. -var := ComValue(0x400C, variant_buf.ptr) ; Make a reference to a VARIANT. +; åŒã˜ã“ã¨ã‚’ã‚‚ã†ä¸€åº¦ã€ã‚ˆã‚Šãƒ€ã‚¤ãƒ¬ã‚¯ãƒˆã«ã€‚ +variant_buf := Buffer(24, 0) ; VARIANTã®ãŸã‚ã«å分ãªå¤§ãã•ã®ãƒãƒƒãƒ•ã‚¡ã‚’作æˆã—ã¾ã™ã€‚ +var := ComValue(0x400C, variant_buf.ptr) ; VARIANTã¸ã®å‚照を行ã†ã€‚ var[] := "in value" -sc.Run("Example", var) ; Pass the VT_BYREF ComValue itself, no [] or .ref. +sc.Run("Example", var) ; VT_BYREF ComValueãã®ã‚‚ã®ã‚’渡ã™ã€‚[] ã‚„ .ref ã¯ä½¿ã‚ãªã„。 MsgBox var[] -; If a VARIANT contains a string or object, it must be explicitly freed -; by calling VariantClear or assigning a pure numeric value: +; VARIANTãŒæ–‡å­—列やオブジェクトをå«ã‚€å ´åˆã¯ã€æ˜Žç¤ºçš„ã«è§£æ”¾ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ +; VariantClearを呼ã³å‡ºã™ã‹ã€ç´”粋ãªæ•°å€¤ã‚’代入ã™ã‚‹ã“ã¨ã§å¯¾å¿œã—ã¾ã™ã€‚ var[] := 0 -; The simplest way when the method accepts VT_BYREF|VT_VARIANT: -var := "in value" +; メソッドãŒVT_BYREF|VT_VARIANTã‚’å—ã‘入れる場åˆã€æœ€ã‚‚ç°¡å˜ãªæ–¹æ³•ã§ã™ã€‚ + var[] := "in value" sc.Run("Example", &var) MsgBox var -; ComVar: An object which can be used to pass a value ByRef. +; ComVar:ByRef: 値を渡ã™ãŸã‚ã«ä½¿ç”¨ã§ãるオブジェクト。 ; this[]ã¯å€¤ã‚’å–å¾—ã—ã¾ã™ã€‚ ; this[] := Val ãŒå€¤ã‚’設定ã—ã¾ã™ã€‚ -; this.ref retrieves a ByRef object for passing to a COM method. +; this.ref 㯠COM メソッドã«æ¸¡ã™ãŸã‚ã® ByRef オブジェクトをå–å¾—ã—ã¾ã™ã€‚ class ComVar { __new(vType := 0xC) { - ; Allocate memory for a VARIANT to hold our value. VARIANT is used even + ; VARIANTã®ãƒ¡ãƒ¢ãƒªã‚’確ä¿ã—ã€å€¤ã‚’ä¿æŒã—ã¾ã™ã€‚VARIANTã¯ã€æ¬¡ã®ã‚ˆã†ãªå ´åˆã§ã‚‚使用ã•ã‚Œã¾ã™ã€‚ ; VariantClearã‚’__deleteã§ä½¿ç”¨ã§ãるよã†ã«ã€vType != VT_VARIANTã®ã¨ã ;。 this.var := Buffer(24, 0) ; 変数 ByRef ã®å—ã‘渡ã—ã«ä½¿ç”¨ã§ãるオブジェクトを作æˆã—ã¾ã™ã€‚ - this.ref := ComValue(0x4000|vType, this.var.ptr + (vType=0xC ?0 : 8)) + this.ref := ComValue(0x4000|vType, this.var.ptr + (vType=0xC ? 0 : 8)) ; VariantClear ã®ãƒãƒªã‚¢ãƒ³ãƒˆã‚¿ã‚¤ãƒ—ã‚’æ ¼ç´ã—ã¾ã™ï¼ˆVT_VARIANT ã§ãªã„å ´åˆï¼‰ã€‚ if Type != 0xC NumPut "ushort", vType, this.var diff --git a/target/docs/lib/Continue.htm b/target/docs/lib/Continue.htm index 937f7b43b..25a50682c 100644 --- a/target/docs/lib/Continue.htm +++ b/target/docs/lib/Continue.htm @@ -19,7 +19,7 @@

      パラメータ

      LoopLabel

      çœç•¥æ™‚ã¾ãŸã¯1ã®å ´åˆã€ã“ã®æ–‡ãŒå›²ã¾ã‚Œã¦ã„る最も内å´ã®ãƒ«ãƒ¼ãƒ—ã«é©ç”¨ã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ãƒ©ãƒ™ãƒ«åã¾ãŸã¯æ•°å€¤ã®ãƒã‚¹ãƒˆãƒ¬ãƒ™ãƒ«ã®ã„ãšã‚Œã‹ã«ã‚ˆã£ã¦ã“ã®ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã‚’ã©ã®ãƒ«ãƒ¼ãƒ—ã«é©ç”¨ã™ã‚‹ã‹ã‚’指定ã—ã¾ã™ã€‚ ラベルを指定ã™ã‚‹å ´åˆã¯ã€ãƒ«ãƒ¼ãƒ—ステートメントを直接指定ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

      -

      LoopLabelã¯å®šæ•°å€¤ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„。変数やå¼ã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ãªã„。ãŸã ã—ã€æ‹¬å¼§ã§å›²ã¾ã‚ŒãŸå˜ä¸€ã®ãƒªãƒ†ãƒ©ãƒ«æ•°å€¤ã¾ãŸã¯å¼•ç”¨æ–‡å­—列ã¯ä¾‹å¤–ã§ã™ã€‚For example: continue("outer")

      +

      LoopLabelã¯å®šæ•°å€¤ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„。変数やå¼ã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ãªã„。ãŸã ã—ã€æ‹¬å¼§ã§å›²ã¾ã‚ŒãŸå˜ä¸€ã®ãƒªãƒ†ãƒ©ãƒ«æ•°å€¤ã¾ãŸã¯å¼•ç”¨æ–‡å­—列ã¯ä¾‹å¤–ã§ã™ã€‚事例:continue("outer")

      diff --git a/target/docs/lib/Control.htm b/target/docs/lib/Control.htm index c82a6f550..f7ca9f287 100644 --- a/target/docs/lib/Control.htm +++ b/target/docs/lib/Control.htm @@ -166,18 +166,18 @@

      Control Functions

      制御パラメータ

      個々ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’æ“作ã™ã‚‹æ©Ÿèƒ½ã«ã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¨ã„ã†ãƒ‘ラメータãŒã‚ã‚Šã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’識別ã™ã‚‹ãŸã‚ã®ã„ãã¤ã‹ã®ç•°ãªã‚‹æ–¹æ³•ã‚’サãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚Controlパラメータã«ã¯ã€ä»¥ä¸‹ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ã€‚

      -

      ClassNN (String): The ClassNN (classname and instance number) of the control, which can be determined via Window Spy. 例ãˆã°ã€ã€ŒEdit1ã€ã¯ã‚¯ãƒ©ã‚¹å「Editã€ã‚’æŒã¤æœ€åˆã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã§ã™ã€‚

      -

      Text (String): The control's text. マッãƒãƒ³ã‚°å‹•ä½œã¯ã€SetTitleMatchModeã«ã‚ˆã£ã¦æ±ºå®šã•ã‚Œã¾ã™ã€‚

      -

      HWND (Integer): The control's HWND, which is typically retrieved via ControlGetHwnd, MouseGetPos, or DllCall. ã¾ãŸã€DetectHiddenWindowsãŒOffã®å ´åˆã§ã‚‚ã€éžè¡¨ç¤ºã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«å¯¾ã—ã¦æ©Ÿèƒ½ã—ã¾ã™ã€‚ãれ以é™ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒ‘ラメータã¯ç„¡è¦–ã•ã‚Œã¾ã™ã€‚

      +

      ClassNN (String):コントロールã®ClassNN(クラスåã¨ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ç•ªå·ï¼‰ã¯ã€Window Spyã§ç¢ºèªã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚例ãˆã°ã€ã€ŒEdit1ã€ã¯ã‚¯ãƒ©ã‚¹å「Editã€ã‚’æŒã¤æœ€åˆã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã§ã™ã€‚

      +

      Text (String):コントロールã®ãƒ†ã‚­ã‚¹ãƒˆã§ã™ã€‚マッãƒãƒ³ã‚°å‹•ä½œã¯ã€SetTitleMatchModeã«ã‚ˆã£ã¦æ±ºå®šã•ã‚Œã¾ã™ã€‚

      +

      HWND (Integer):コントロールã®HWND。通常ã€ControlGetHwndã€MouseGetPosã€ã¾ãŸã¯DllCallã«ã‚ˆã£ã¦å–å¾—ã•ã‚Œã¾ã™ã€‚ã¾ãŸã€DetectHiddenWindowsãŒOffã®å ´åˆã§ã‚‚ã€éžè¡¨ç¤ºã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«å¯¾ã—ã¦æ©Ÿèƒ½ã—ã¾ã™ã€‚ãれ以é™ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒ‘ラメータã¯ç„¡è¦–ã•ã‚Œã¾ã™ã€‚

      Object: An object of any type with a Hwnd property, such as a GuiControl. オブジェクトã«HwndプロパティãŒãªã„å ´åˆã¯PropertyErrorãŒã€ç´”粋ãªæ•´æ•°ã‚’è¿”ã•ãªã„å ´åˆã¯TypeErrorãŒæŠ•ã’られる。ãれ以é™ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒ‘ラメータã¯ç„¡è¦–ã•ã‚Œã¾ã™ã€‚

      Omitted: A few functions are able to operate on either a control or a top-level window. Controlパラメータをçœç•¥ã™ã‚‹ã¨ã€ã“ã®é–¢æ•°ã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ï¼ˆControlパラメータã§æŒ‡å®šã—㟠WinTitle)ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®1ã¤ã§ã¯ãªãã€ãã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®1ã¤ã§ã™ã€‚例ãˆã°ã€ControlSendã¯ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’直接ウィンドウã«é€ä¿¡ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

      エラー処ç†

      通常ã€ä»¥ä¸‹ã®ã‚ˆã†ãªã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚

        -
      • TargetError: The target window or control could not be found.
      • -
      • Error or OSError: There was a problem carring out the function's purpose, such as retrieving a setting or applying a change.
      • -
      • ValueError or TypeError: Invalid parameters were detected.
      • +
      • TargetError:対象ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¾ãŸã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚
      • +
      • Error ã¾ãŸã¯ OSError:設定値ã®å–得や変更ã®é©ç”¨ãªã©ã€æ©Ÿèƒ½ã®ç›®çš„ã‚’é‚è¡Œã™ã‚‹ä¸Šã§å•é¡ŒãŒã‚ã£ãŸã€‚
      • +
      • ValueError ã¾ãŸã¯ TypeError:無効ãªãƒ‘ラメータãŒæ¤œå‡ºã•ã‚Œã¾ã—ãŸã€‚

      備考

      diff --git a/target/docs/lib/ControlAddItem.htm b/target/docs/lib/ControlAddItem.htm index dd0da2a85..92a3142d3 100644 --- a/target/docs/lib/ControlAddItem.htm +++ b/target/docs/lib/ControlAddItem.htm @@ -21,17 +21,17 @@

      パラメータ

      String
      -

      Type: String

      +

      型:文字列

      追加ã™ã‚‹æ–‡å­—列ã§ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

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

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€æ–°ã—ã„é …ç›®ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã‚’è¿”ã—ã¾ã™ã€‚1ãŒæœ€åˆã®é …ç›®ã€2ãŒ2番目ã®é …ç›®ã€ã¨ã„ã£ãŸå…·åˆã§ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlChooseIndex.htm b/target/docs/lib/ControlChooseIndex.htm index 426e57a2f..175a3912e 100644 --- a/target/docs/lib/ControlChooseIndex.htm +++ b/target/docs/lib/ControlChooseIndex.htm @@ -21,17 +21,17 @@

      パラメータ

      N
      -

      Type: Integer

      +

      型:整数

      é …ç›®ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã§ã™ã€‚1ã¯æœ€åˆã®é …ç›®ã€2ã¯2番目ã®é …ç›®ã€ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ListBoxã‚„ComboBoxã®å…¨é …目をéžé¸æŠžã«ã™ã‚‹å ´åˆã¯ã€0を指定ã—ã¾ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

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

      エラー処ç†

      備考

      マルãƒã‚»ãƒ¬ã‚¯ãƒˆãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®ã™ã¹ã¦ã®é …目をé¸æŠžã™ã‚‹å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚

      -
      PostMessage(0x0185, 1, -1, "ListBox1", WinTitle)  ; Select all listbox items. 0x0185 is LB_SETSEL.
      +
      PostMessage(0x0185, 1, -1, "ListBox1", WinTitle)  ; リストボックスã®å…¨é …目をé¸æŠžã—ã¾ã™ã€‚0x0185ã¯LB_SETSELã§ã™ã€‚

      GuiControl.Choose()ã¨ã¯ç•°ãªã‚Šã€ã“ã®é–¢æ•°ã¯Changeイベントã¾ãŸã¯DoubleClickイベントを発生ã•ã›ã¾ã™ã€‚

      信頼性å‘上ã®ãŸã‚ã€ã“ã®é–¢æ•°ã‚’実行ã™ã‚‹ãŸã³ã«è‡ªå‹•çš„ã«é…延ãŒç™ºç”Ÿã—ã¾ã™ã€‚ã“ã®é…延ã¯ã€SetControlDelayã¾ãŸã¯A_ControlDelayã«å€¤ã‚’割り当ã¦ã‚‹ã“ã¨ã§å¤‰æ›´å¯èƒ½ã§ã™ã€‚詳ã—ãã¯ã€SetControlDelayã®å‚™è€ƒã‚’ã”覧ãã ã•ã„。

      diff --git a/target/docs/lib/ControlChooseString.htm b/target/docs/lib/ControlChooseString.htm index ffcb6fe06..35c4a5851 100644 --- a/target/docs/lib/ControlChooseString.htm +++ b/target/docs/lib/ControlChooseString.htm @@ -21,17 +21,17 @@

      パラメータ

      String
      -

      Type: String

      +

      型:文字列

      é¸ã¶ã¹ã文字列。検索ã§ã¯ã€å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。例ãˆã°ã€ListBox/ComboBoxã«ã€ŒUNIX Textã€ã¨ã„ã†é …ç›®ãŒã‚ã‚‹å ´åˆã€ã€Œunixã€ã¨ã„ã†å˜èªžï¼ˆå°æ–‡å­—)を指定ã™ã‚Œã°é¸æŠžã•ã‚Œã¾ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

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

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€é¸ã°ã‚ŒãŸé …ç›®ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã‚’è¿”ã—ã¾ã™ã€‚1 ã¯æœ€åˆã®é …ç›®ã€2 㯠2 番目ã®é …ç›®ã€ã¨ã„ã£ãŸå…·åˆã§ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlClick.htm b/target/docs/lib/ControlClick.htm index ed90e0e10..34f193bdf 100644 --- a/target/docs/lib/ControlClick.htm +++ b/target/docs/lib/ControlClick.htm @@ -20,17 +20,17 @@

      パラメータ

      Control-or-Pos
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      If omitted, the target window itself will be clicked. Otherwise, use one of the following modes.

      -

      Mode 1 (Position): Specify the X and Y coordinates relative to the upper left corner of the target window's client area. X座標ã¯Y座標ã®å‰ã«ã‚ã‚Šã€ãã®é–“ã«å°‘ãªãã¨ã‚‚1ã¤ã®ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ãŒå¿…è¦ã§ã™ã€‚For example: "X55 Y33". 指定ã•ã‚ŒãŸåº§æ¨™ã«ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒã‚ã‚‹å ´åˆã€ãã®æ­£ç¢ºãªåº§æ¨™ã§ã‚¯ãƒªãƒƒã‚¯ã‚¤ãƒ™ãƒ³ãƒˆã‚’é€ä¿¡ã—ã¾ã™ã€‚コントロールãŒãªã„å ´åˆã¯ã€å¯¾è±¡ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦è‡ªä½“ã«ã‚¤ãƒ™ãƒ³ãƒˆãŒé€ã‚‰ã‚Œã¾ã™ï¼ˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®æ€§è³ªã«ã‚ˆã£ã¦ã¯ã€ä½•ã®åŠ¹æžœã‚‚ãªã„å ´åˆã‚‚ã‚ã‚Šã¾ã™ï¼‰ã€‚

      +

      Mode 1 (Position): Specify the X and Y coordinates relative to the upper left corner of the target window's client area. X座標ã¯Y座標ã®å‰ã«ã‚ã‚Šã€ãã®é–“ã«å°‘ãªãã¨ã‚‚1ã¤ã®ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ãŒå¿…è¦ã§ã™ã€‚事例:"X55 Y33". 指定ã•ã‚ŒãŸåº§æ¨™ã«ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒã‚ã‚‹å ´åˆã€ãã®æ­£ç¢ºãªåº§æ¨™ã§ã‚¯ãƒªãƒƒã‚¯ã‚¤ãƒ™ãƒ³ãƒˆã‚’é€ä¿¡ã—ã¾ã™ã€‚コントロールãŒãªã„å ´åˆã¯ã€å¯¾è±¡ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦è‡ªä½“ã«ã‚¤ãƒ™ãƒ³ãƒˆãŒé€ã‚‰ã‚Œã¾ã™ï¼ˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®æ€§è³ªã«ã‚ˆã£ã¦ã¯ã€ä½•ã®åŠ¹æžœã‚‚ãªã„å ´åˆã‚‚ã‚ã‚Šã¾ã™ï¼‰ã€‚

      Note: In mode 1, the X and Y option letters of the Options parameter are ignored.

      Mode 2 (Control): Specify the control's ClassNN, text or HWND, or an object with a Hwnd property. For details, see The Control Parameter.

      -

      デフォルトã§ã¯ã€ãƒ¢ãƒ¼ãƒ‰2ãŒãƒ¢ãƒ¼ãƒ‰1より優先ã•ã‚Œã¾ã™ã€‚For example, in the unlikely event that there is a control whose text or ClassNN has the format "Xnnn Ynnn", it would be acted upon by mode 2. To override this and use mode 1 unconditionally, specify the word Pos in Options as in the following example: ControlClick "x255 y152", WinTitle,,,, "Pos".

      +

      デフォルトã§ã¯ã€ãƒ¢ãƒ¼ãƒ‰2ãŒãƒ¢ãƒ¼ãƒ‰1より優先ã•ã‚Œã¾ã™ã€‚For example, in the unlikely event that there is a control whose text or ClassNN has the format "Xnnn Ynnn", it would be acted upon by mode 2. ã“れを上書ãã—ã¦ç„¡æ¡ä»¶ã«ãƒ¢ãƒ¼ãƒ‰1を使用ã™ã‚‹ã«ã¯ã€æ¬¡ã®ä¾‹ã®ã‚ˆã†ã«Optionsã«Posã¨ã„ã†èªžã‚’指定ã—ã¾ã™ã€‚ControlClick "x255 y152", WinTitle,,,, "Pos".

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -38,7 +38,7 @@

      パラメータ

      WhichButton
      -

      Type: String

      +

      型:文字列

      If blank or omitted, it defaults to Left (the left mouse button). Otherwise, specify the button to click or the rotate/push direction of the mouse wheel.

      Button: Left, Right, Middle (or just the first letter of each of these); or X1 (fourth button) or X2 (fifth button).

      Mouse wheel: Specify WheelUp or WU to turn the wheel upward (away from you); specify WheelDown or WD to turn the wheel downward (toward you). ホイールを左ã«æŠ¼ã™å ´åˆã¯WheelLeft(ã¾ãŸã¯WL)ã€å³ã«æŠ¼ã™å ´åˆã¯WheelRight(ã¾ãŸã¯WR)をãã‚Œãžã‚ŒæŒ‡å®šã—ã¾ã™ã€‚ClickCountã¯ã€ãƒ›ã‚¤ãƒ¼ãƒ«ã‚’回ã™ãƒŽãƒƒãƒã®æ•°ã§ã™ã€‚

      @@ -46,20 +46,20 @@

      パラメータ

      ClickCount
      -

      Type: Integer

      +

      型:整数

      çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€åˆæœŸå€¤ã¯ 1 ã§ã™ã€‚Otherwise, specify the number of times to click the mouse button or turn the mouse wheel.

      Options
      -

      Type: String

      -

      If blank or omitted, each click consists of a down-event followed by an up-event, and occurs at the center of the control when mode 2 is in effect. Otherwise, specify a series of one or more of the following options. For example: "d x50 y25".

      +

      型:文字列

      +

      If blank or omitted, each click consists of a down-event followed by an up-event, and occurs at the center of the control when mode 2 is in effect. Otherwise, specify a series of one or more of the following options. 事例:"d x50 y25".

      NA: May improve reliability. 以下ã®ä¿¡é ¼æ€§ã‚’ã”覧ãã ã•ã„。

      D:マウスボタンを押ã—ãªãŒã‚‰é›¢ã•ãªã„(ダウンイベントを発生ã•ã›ã¾ã™ï¼‰ã€‚If both the D and U options are absent, a complete click (down and up) will be sent.

      U:マウスボタンを離ã™ï¼ˆã¤ã¾ã‚Šã‚¢ãƒƒãƒ—イベントを発生ã•ã›ã¾ã™ï¼‰ã€‚This option should not be present if the D option is already present (and vice versa).

      Pos: Specify the word Pos anywhere in Options to unconditionally use the X/Y positioning mode as described in the Control-or-Pos parameter above.

      -

      Xn: Specify for n the X position to click at, relative to the control's upper left corner. 未指定ã®å ´åˆã€ã‚¯ãƒªãƒƒã‚¯ã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®æ°´å¹³æ–¹å‘ã®ä¸­å¿ƒã§è¡Œã‚ã‚Œã¾ã™ã€‚

      -

      Yn: Specify for n the Y position to click at, relative to the control's upper left corner. 未指定ã®å ´åˆã€ã‚¯ãƒªãƒƒã‚¯ã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®åž‚ç›´æ–¹å‘ã®ä¸­å¿ƒã§è¡Œã‚ã‚Œã¾ã™ã€‚

      +

      Xn:Specify for n the X position to click at, relative to the control's upper left corner. 未指定ã®å ´åˆã€ã‚¯ãƒªãƒƒã‚¯ã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®æ°´å¹³æ–¹å‘ã®ä¸­å¿ƒã§è¡Œã‚ã‚Œã¾ã™ã€‚

      +

      Yn:Specify for n the Y position to click at, relative to the control's upper left corner. 未指定ã®å ´åˆã€ã‚¯ãƒªãƒƒã‚¯ã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®åž‚ç›´æ–¹å‘ã®ä¸­å¿ƒã§è¡Œã‚ã‚Œã¾ã™ã€‚

      Use decimal (not hexadecimal) numbers for the X and Y options.

      @@ -68,10 +68,10 @@

      パラメータ

      エラー処ç†

      以下ã®å ´åˆã¯ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

        -
      • TargetError: The target window could not be found.
      • -
      • TargetError: The target control could not be found and Control-or-Pos does not specify a valid position.
      • -
      • OSError (very rare): the X or Y position is omitted and the control's position could not be determined.
      • -
      • ValueError or TypeError: Invalid parameters were detected.
      • +
      • TargetError:対象ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚
      • +
      • TargetError:対象コントロールãŒè¦‹ã¤ã‹ã‚‰ãšã€Control-or-Posã§æœ‰åŠ¹ãªä½ç½®ãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„。
      • +
      • OSError (very rare):ã®å ´åˆã€X ã¾ãŸã¯ Y ã®ä½ç½®ãŒçœç•¥ã•ã‚Œã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ä½ç½®ã‚’決定ã™ã‚‹ã“ã¨ãŒã§ããªã‹ã£ãŸã€‚
      • +
      • ValueError ã¾ãŸã¯ TypeError:無効ãªãƒ‘ラメータãŒæ¤œå‡ºã•ã‚Œã¾ã—ãŸã€‚

      Reliability

      @@ -101,7 +101,7 @@

      例

      NAモードã§ã¯ã€æŒ‡å®šã—ãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‹ã‚‰ã®ç›¸å¯¾åº§æ¨™ã§ã‚¯ãƒªãƒƒã‚¯ã—ã¾ã™ã€‚

      -
      SetControlDelay -1  ; May improve reliability and reduce side effects.
      +
      SetControlDelay -1  ; 信頼性をå‘上ã•ã›ã€å‰¯ä½œç”¨ã‚’低減ã•ã›ã‚‹ã“ã¨ãŒã§ãる。
       ControlClick "Toolbar321", "Some Window Title",,,, "NA x192 y10"
      diff --git a/target/docs/lib/ControlDeleteItem.htm b/target/docs/lib/ControlDeleteItem.htm index 196fc3350..6e4da9eec 100644 --- a/target/docs/lib/ControlDeleteItem.htm +++ b/target/docs/lib/ControlDeleteItem.htm @@ -21,17 +21,17 @@

      パラメータ

      N
      -

      Type: Integer

      +

      型:整数

      é …ç›®ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã§ã€1ãŒæœ€åˆã®é …ç›®ã€2ãŒ2番目ã®é …ç›®ã€ãªã©ã§ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/ControlFindItem.htm b/target/docs/lib/ControlFindItem.htm index 4dd497389..47114b089 100644 --- a/target/docs/lib/ControlFindItem.htm +++ b/target/docs/lib/ControlFindItem.htm @@ -21,17 +21,17 @@

      パラメータ

      String
      -

      Type: String

      +

      型:文字列

      見ã¤ã‘ã‚‹ãŸã‚ã®æ–‡å­—列ã§ã™ã€‚大文字ã¨å°æ–‡å­—を区別ã—ã¦æ¤œç´¢ã—ã¾ã™ã€‚ControlChooseStringã¨ã¯ç•°ãªã‚Šã€ã‚¨ãƒ³ãƒˆãƒªãƒ¼ã®å…ˆé ­éƒ¨åˆ†ã ã‘ã§ãªãã€ãƒ†ã‚­ã‚¹ãƒˆå…¨ä½“ãŒä¸€è‡´ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

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

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€Stringã«å®Œå…¨ã«ä¸€è‡´ã™ã‚‹ListBoxã¾ãŸã¯ComboBoxã®ã‚¨ãƒ³ãƒˆãƒªç•ªå·ã‚’è¿”ã—ã¾ã™ã€‚コントロールã®æœ€åˆã®ã‚¨ãƒ³ãƒˆãƒªãƒ¼ã¯1ã€2番目ã®ã‚¨ãƒ³ãƒˆãƒªãƒ¼ã¯2ã€ãƒ»ãƒ»ãƒ»ã¨ãªã‚Šã¾ã™ã€‚一致ã—ãªã„å ´åˆã¯ã€ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlFocus.htm b/target/docs/lib/ControlFocus.htm index 30b9b1726..6680fcfb8 100644 --- a/target/docs/lib/ControlFocus.htm +++ b/target/docs/lib/ControlFocus.htm @@ -20,12 +20,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -46,7 +46,7 @@

      備考

    1. エディットコントロールをフォーカスã—ã¦ã‚‚ã€è‡ªå‹•çš„ã«ãã®ãƒ†ã‚­ã‚¹ãƒˆãŒé¸æŠžã•ã‚Œã‚‹ã‚ã‘ã§ã¯ã‚ã‚Šã¾ã›ã‚“。代ã‚ã‚Šã«ã€æŒ¿å…¥ç‚¹ï¼ˆã‚­ãƒ£ãƒ¬ãƒƒãƒˆï¼‰ã¯ã€é€šå¸¸ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒæœ€å¾Œã«ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã‚’æŒã£ãŸã¨ãã®ä½ç½®ã«é…ç½®ã•ã‚Œã¾ã™ã€‚
    2. WM_NEXTDLGCTLメッセージã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’フォーカスã—ã€ã“れらã®è¿½åŠ åŠ¹æžœã‚’é©ç”¨ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚事例:

      -
      WinExist("A") ; Set the Last Found Window to the active window
      +
      WinExist("A") ; Last Found Windowをアクティブウィンドウã«è¨­å®šã—ã¾ã™ã€‚
       hWndControl := ControlGetHwnd("Button1")  ; Get HWND of first Button
       SendMessage 0x0028, hWndControl, True  ; 0x0028 is WM_NEXTDLGCTL
      diff --git a/target/docs/lib/ControlGetChecked.htm b/target/docs/lib/ControlGetChecked.htm index d9360806f..485a8f783 100644 --- a/target/docs/lib/ControlGetChecked.htm +++ b/target/docs/lib/ControlGetChecked.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer (boolean)

      +

      型:整数(ブーリアン)

      説明: ãƒã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ã‚„ラジオボタンãŒãƒã‚§ãƒƒã‚¯ã•ã‚Œã¦ã„ã‚‹å ´åˆã¯1(真)をã€ãƒã‚§ãƒƒã‚¯ã•ã‚Œã¦ã„ãªã„å ´åˆã¯0(å½ï¼‰ã‚’è¿”ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlGetChoice.htm b/target/docs/lib/ControlGetChoice.htm index 49919fca4..95312df4c 100644 --- a/target/docs/lib/ControlGetChoice.htm +++ b/target/docs/lib/ControlGetChoice.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: String

      +

      型:文字列

      説明: ListBoxã¾ãŸã¯ComboBoxã§ç¾åœ¨é¸æŠžã•ã‚Œã¦ã„ã‚‹é …ç›®ã®åå‰ã‚’è¿”ã—ã¾ã™ã€‚

      エラー処ç†

      @@ -43,9 +43,9 @@

      エラー処ç†

      備考

      é¸æŠžã•ã‚ŒãŸé …ç›®ã®ä½ç½®ã‚’å–å¾—ã™ã‚‹ä»£ã‚ã‚Šã«ã€æ¬¡ã®ä¾‹ã«å¾“ã„ã¾ã™ï¼ˆæœ€åˆã®2è¡Œã®ã†ã¡1è¡Œã ã‘を使用ã—ã¾ã™ï¼‰ã€‚

      -
      ChoicePos := SendMessage(0x0188, 0, 0, "ListBox1", WinTitle)  ; 0x0188 is LB_GETCURSEL (for a ListBox).
      -ChoicePos := SendMessage(0x0147, 0, 0, "ComboBox1", WinTitle)  ; 0x0147 is CB_GETCURSEL (for a DropDownList or ComboBox).
      -ChoicePos += 1  ; Convert from 0-based to 1-based, i.e. so that the first item is known as 1, not 0.
      +
      ChoicePos := SendMessage(0x0188, 0, 0, "ListBox1", WinTitle)  ; 0x0188 ã¯ã€LB_GETCURSEL(リストボックスã®å ´åˆï¼‰ã§ã™ã€‚
      +ChoicePos := SendMessage(0x0147, 0, 0, "ComboBox1", WinTitle)  ; 0x0147 ã¯ã€CB_GETCURSEL(DropDownList ã¾ãŸã¯ ComboBox ã®å ´åˆï¼‰ã§ã™ã€‚
      +ChoicePos += 1  ; 0ベースã‹ã‚‰1ベースã¸ã€ã¤ã¾ã‚Šæœ€åˆã®é …ç›®ãŒ0ã§ã¯ãªã1ã¨ã‚ã‹ã‚‹ã‚ˆã†ã«å¤‰æ›ã—ã¾ã™ã€‚
       ; é¸æŠžã•ã‚Œã¦ã„ã‚‹é …ç›®ãŒãªã„å ´åˆã€ChoicePosã¯0ã«ãªã‚‹ã‚ˆã†ã«ã—ã¾ã—ãŸã€‚
      diff --git a/target/docs/lib/ControlGetClassNN.htm b/target/docs/lib/ControlGetClassNN.htm index f6af9fb71..c993a2c49 100644 --- a/target/docs/lib/ControlGetClassNN.htm +++ b/target/docs/lib/ControlGetClassNN.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: String

      +

      型:文字列

      説明: 指定ã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã® ClassNN(クラスåã¨ã‚·ãƒ¼ã‚±ãƒ³ã‚¹ç•ªå·ï¼‰ã‚’è¿”ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlGetEnabled.htm b/target/docs/lib/ControlGetEnabled.htm index c8872a635..0c76e9157 100644 --- a/target/docs/lib/ControlGetEnabled.htm +++ b/target/docs/lib/ControlGetEnabled.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer (boolean)

      +

      型:整数(ブーリアン)

      指定ã•ã‚ŒãŸåˆ¶å¾¡ãŒæœ‰åŠ¹ãªå ´åˆã¯1(真)をã€ç„¡åŠ¹ãªå ´åˆã¯0(å½ï¼‰ã‚’è¿”ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlGetFocus.htm b/target/docs/lib/ControlGetFocus.htm index 80afef538..597f18194 100644 --- a/target/docs/lib/ControlGetFocus.htm +++ b/target/docs/lib/ControlGetFocus.htm @@ -20,7 +20,7 @@

      パラメータ

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -29,7 +29,7 @@

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      説明: フォーカスã•ã‚Œã¦ã„るコントロールã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒãƒ³ãƒ‰ãƒ«ï¼ˆHWND)を返ã—ã¾ã™ã€‚

      対象ウィンドウã®ã©ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«ã‚‚フォーカスãŒãªã„å ´åˆã€æˆ»ã‚Šå€¤ã¯ 0 ã¨ãªã‚‹ã€‚

      @@ -49,7 +49,7 @@

      例

       FocusedHwnd := ControlGetFocus("A")
       FocusedClassNN := ControlGetClassNN(FocusedHwnd)
      -MsgBox 'Control with focus = {Hwnd: ' FocusedHwnd ', ClassNN: "' FocusedClassNN '"}'
      +MsgBox 'Control with focus = {Hwnd:' FocusedHwnd ', ClassNN:"' FocusedClassNN '"}'
      diff --git a/target/docs/lib/ControlGetHwnd.htm b/target/docs/lib/ControlGetHwnd.htm index db5ce8710..4ec640774 100644 --- a/target/docs/lib/ControlGetHwnd.htm +++ b/target/docs/lib/ControlGetHwnd.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      説明: 指定ã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒãƒ³ãƒ‰ãƒ«(HWND)ã‚’è¿”ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlGetIndex.htm b/target/docs/lib/ControlGetIndex.htm index 4bfd30a49..18bcc2d38 100644 --- a/target/docs/lib/ControlGetIndex.htm +++ b/target/docs/lib/ControlGetIndex.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€ç¾åœ¨é¸æŠžã•ã‚Œã¦ã„ã‚‹é …ç›®ã¾ãŸã¯ã‚¿ãƒ–ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã‚’è¿”ã™ã€‚最åˆã®ã‚¨ãƒ³ãƒˆãƒªã‚„タブã¯1ã€2番目ã¯2ã€ã¨ã„ã£ãŸå…·åˆã§ã™ã€‚エントリã¾ãŸã¯ã‚¿ãƒ–ãŒé¸æŠžã•ã‚Œã¦ã„ãªã„å ´åˆã€æˆ»ã‚Šå€¤ã¯ 0 ã§ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlGetItems.htm b/target/docs/lib/ControlGetItems.htm index a351f10fe..a18963ef8 100644 --- a/target/docs/lib/ControlGetItems.htm +++ b/target/docs/lib/ControlGetItems.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Array

      +

      型:é…列

      ã“ã®é–¢æ•°ã¯ã€å„é …ç›®ã¾ãŸã¯è¡Œã®ãƒ†ã‚­ã‚¹ãƒˆã‚’å«ã‚€é…列を返ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlGetPos.htm b/target/docs/lib/ControlGetPos.htm index e72bb9ca5..2debe31ed 100644 --- a/target/docs/lib/ControlGetPos.htm +++ b/target/docs/lib/ControlGetPos.htm @@ -20,25 +20,25 @@

      パラメータ

      &OutX, &OutY
      -

      Type: VarRef

      +

      型:VarRef

      çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。ãã†ã§ãªã„ã¨ãã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å·¦ä¸Šéš…ã®X座標ã¨Y座標をピクセルå˜ä½ã§æ ¼ç´ã™ã‚‹å‡ºåŠ›å¤‰æ•°ã¸ã®å‚照を指定ã—ã¾ã™ã€‚ã“ã®åº§æ¨™ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆé ˜åŸŸã®å·¦ä¸Šéš…を基準ã«ã—ã¦ã„ã‚‹ãŸã‚ã€ControlMove関数ã§ä½¿ç”¨ã•ã‚Œã‚‹åº§æ¨™ã¨åŒã˜ã§ã™ã€‚

      &OutWidth, &OutHeight
      -

      Type: VarRef

      +

      型:VarRef

      çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。ãã†ã§ãªã„ã¨ãã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å¹…ã¨é«˜ã•ã‚’ピクセルå˜ä½ã§æ ¼ç´ã™ã‚‹å‡ºåŠ›å¤‰æ•°ã¸ã®å‚照を指定ã—ã¾ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/ControlGetStyle.htm b/target/docs/lib/ControlGetStyle.htm index 76ec2e5c1..656e98dce 100644 --- a/target/docs/lib/ControlGetStyle.htm +++ b/target/docs/lib/ControlGetStyle.htm @@ -22,12 +22,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -35,7 +35,7 @@

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“れらã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ã‚¹ã‚¿ã‚¤ãƒ«ã¾ãŸã¯æ‹¡å¼µã‚¹ã‚¿ã‚¤ãƒ«ã‚’è¿”ã—ã¾ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlGetText.htm b/target/docs/lib/ControlGetText.htm index 588f12213..99b931f95 100644 --- a/target/docs/lib/ControlGetText.htm +++ b/target/docs/lib/ControlGetText.htm @@ -20,13 +20,13 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -35,7 +35,7 @@

      パラメータ

      戻り値

      -

      Type: String

      +

      型:文字列

      説明: 指定ã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’è¿”ã—ã¾ã™ã€‚

      エラー処ç†

      @@ -60,7 +60,7 @@

      例

      メインウィンドウã®ã‚¨ãƒ‡ã‚£ãƒƒãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‹ã‚‰ç¾åœ¨ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’å–å¾—ã—ã€å ±å‘Šã—ã¾ã™ã€‚

      ListVars
       WinWaitActive "ahk_class AutoHotkey"
      -MsgBox ControlGetText("Edit1") ; Use the window found above.
      +MsgBox ControlGetText("Edit1") ; 上ã®è¡Œã§è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’使用ã—ã¾ã™ã€‚.
      diff --git a/target/docs/lib/ControlGetVisible.htm b/target/docs/lib/ControlGetVisible.htm index 25ff1efd2..355259401 100644 --- a/target/docs/lib/ControlGetVisible.htm +++ b/target/docs/lib/ControlGetVisible.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer (boolean)

      +

      型:整数(ブーリアン)

      説明: 指定ã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒè¡¨ç¤ºã•ã‚Œã¦ã„ã‚‹å ´åˆã¯ 1(真)ã€éžè¡¨ç¤ºã®å ´åˆã¯ 0(å½ï¼‰ã‚’è¿”ã—ã¾ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/ControlHide.htm b/target/docs/lib/ControlHide.htm index d748d79cb..d23f5b58c 100644 --- a/target/docs/lib/ControlHide.htm +++ b/target/docs/lib/ControlHide.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/ControlHideDropDown.htm b/target/docs/lib/ControlHideDropDown.htm index 6867d1b47..2057d3f87 100644 --- a/target/docs/lib/ControlHideDropDown.htm +++ b/target/docs/lib/ControlHideDropDown.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/ControlMove.htm b/target/docs/lib/ControlMove.htm index 0a4ecb5e5..c249494e5 100644 --- a/target/docs/lib/ControlMove.htm +++ b/target/docs/lib/ControlMove.htm @@ -20,25 +20,25 @@

      パラメータ

      X, Y
      -

      Type: Integer

      +

      型:整数

      If either is omitted, the control's position in that dimension will not be changed. Otherwise, specify the X and Y coordinates (in pixels) of the upper left corner of the control's new location. The coordinates are relative to the upper-left corner of the target window's client area; ControlGetPos can be used to determine them.

      å¹…ã€é«˜ã•
      -

      Type: Integer

      +

      型:整数

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

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -69,7 +69,7 @@

      例

      ; ãれ以外ã®å ´åˆã¯ã€"last found "ウィンドウを設定ã—ã¾ã™ã€‚ SetTimer , 0 WinActivate - ControlMove 10,, 200,, "OK" ; Move the OK button to the left and increase its width. + ControlMove 10,, 200,, "OK" ; OKボタンを左å´ã«ç§»å‹•ã—ã€å¹…を広ã’る。 } diff --git a/target/docs/lib/ControlSend.htm b/target/docs/lib/ControlSend.htm index 8ad6f1bf4..f01f56e66 100644 --- a/target/docs/lib/ControlSend.htm +++ b/target/docs/lib/ControlSend.htm @@ -14,27 +14,27 @@

      ControlSend / ControlSendText

      キーストロークやテキストをシミュレーションã—ã¦ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚„コントロールã«é€ä¿¡ã—ã¾ã™ã€‚

      -
      ControlSend Keys , Control, WinTitle, WinText, ExcludeTitle, ExcludeText
      +
      ControlSendKeys, Control , WinTitle , WinText , ExcludeTitle , ExcludeText
       ControlSendText Keys , Control, WinTitle, WinText, ExcludeTitle, ExcludeText

      パラメータ

      Keys
      -

      Type: String

      +

      型:文字列

      é€ä¿¡ã™ã‚‹ã‚­ãƒ¼ã®ä¸¦ã³ï¼ˆè©³ã—ãã¯é€ä¿¡æ©Ÿèƒ½ã‚’ã”覧ãã ã•ã„)。文字ã®é€ä¿¡é€Ÿåº¦ã¯SetKeyDelayã§æ±ºå®šã•ã‚Œã¾ã™ã€‚

      Send機能ã¨ã¯ç•°ãªã‚Šã€ControlSendã§ã¯ãƒžã‚¦ã‚¹ã‚¯ãƒªãƒƒã‚¯ã‚’é€ä¿¡ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。ãã®éš›ã¯ControlClickを使用ã—ã¦ãã ã•ã„。

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      If omitted, the keystrokes will be sent directly to the target window instead of one of its controls (see Automating Winamp for an example). Otherwise, specify the control's ClassNN, text or HWND, or an object with a Hwnd property. For details, see The Control Parameter.

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -68,22 +68,22 @@

      例

      メモ帳を最å°åŒ–ã—ã¦é–‹ãã€ãƒ†ã‚­ã‚¹ãƒˆã‚’é€ä¿¡ã—ã¾ã™ã€‚ã“ã®ä¾‹ã¯ã€Windows 11以é™ã§ã¯ã€ã‚¯ãƒ©ã‚·ãƒƒã‚¯ç‰ˆã®ãƒ¡ãƒ¢å¸³ã‚’å¿…è¦ã¨ã™ã‚‹ãŸã‚ã€å¤±æ•—ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚

      Run "Notepad",, "Min", &PID  ; Run Notepad minimized.
      -WinWait "ahk_pid " PID  ; Wait for it to appear.
      -; Send the text to the inactive Notepad edit control.
      -; The third parameter is omitted so the last found window is used.
      +WinWait "ahk_pid " PID  ; 表示ã•ã‚Œã‚‹ã®ã‚’å¾…ã¡ã¾ã™ã€‚
      +; éžã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªãƒ¡ãƒ¢å¸³ã‚¨ãƒ‡ã‚£ãƒƒãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«ãƒ†ã‚­ã‚¹ãƒˆã‚’é€ä¿¡ã—ã¾ã™ã€‚
      +; 第3パラメータãŒçœç•¥ã•ã‚Œã¦ã„ã‚‹ãŸã‚ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚
       ControlSend "This is a line of text in the notepad window.{Enter}", "Edit1"
       ControlSendText "Notice that {Enter} is not sent as an Enter keystroke with ControlSendText.", "Edit1"
       
       Msgbox "Press OK to activate the window to see the result."
      -WinActivate "ahk_pid " PID  ; Show the result.
      +WinActivate "ahk_pid " PID ; çµæžœã‚’表示ã—ã¾ã™ã€‚

      コマンドプロンプトを開ãã€ãƒ†ã‚­ã‚¹ãƒˆã‚’é€ä¿¡ã—ã¾ã™ã€‚ã“ã®ä¾‹ã¯ã€Windows 11以é™ã§ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ—ロンプトã®ã‚¯ãƒ©ã‚·ãƒƒã‚¯ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’å¿…è¦ã¨ã™ã‚‹ãŸã‚ã€å¤±æ•—ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚

      SetTitleMatchMode 2
      -Run A_ComSpec,,, &PID  ; Run command prompt.
      -WinWait "ahk_pid " PID  ; Wait for it to appear.
      -ControlSend "ipconfig{Enter}",, "cmd.exe"  ; Send directly to the command prompt window.
      +Run A_ComSpec,,, &PID ; コマンドプロンプトを実行ã—ã¾ã™ã€‚ +WinWait "ahk_pid " PID ; 表示ã•ã‚Œã‚‹ã®ã‚’å¾…ã¡ã¾ã™ã€‚ +ControlSend "ipconfig{Enter}",, "cmd.exe" ; コマンドプロンプトã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã«ç›´æŽ¥é€ä¿¡ã—ã¾ã™ã€‚

      エディットコントロールをæŒã¤GUIを作æˆã—ã€ãƒ†ã‚­ã‚¹ãƒˆã‚’é€ä¿¡ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/ControlSetChecked.htm b/target/docs/lib/ControlSetChecked.htm index a589aeb22..d1adebbcc 100644 --- a/target/docs/lib/ControlSetChecked.htm +++ b/target/docs/lib/ControlSetChecked.htm @@ -22,7 +22,7 @@

      パラメータ

      NewSetting
      -

      Type: Integer

      +

      型:整数

      以下ã®ã„ãšã‚Œã‹ã®å€¤ï¼š

      • 1ã¾ãŸã¯Trueã§è¨­å®šã‚’オンã«ã—ã¾ã™ã€‚
      • @@ -32,12 +32,12 @@

        パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/ControlSetEnabled.htm b/target/docs/lib/ControlSetEnabled.htm index a94d5b9a3..7f923b89d 100644 --- a/target/docs/lib/ControlSetEnabled.htm +++ b/target/docs/lib/ControlSetEnabled.htm @@ -22,7 +22,7 @@

      パラメータ

      NewSetting
      -

      Type: Integer

      +

      型:整数

      以下ã®ã„ãšã‚Œã‹ã®å€¤ï¼š

      • 1ã¾ãŸã¯Trueã§è¨­å®šã‚’オンã«ã—ã¾ã™ã€‚
      • @@ -32,12 +32,12 @@

        パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/ControlSetStyle.htm b/target/docs/lib/ControlSetStyle.htm index 58645cb1e..dccb4d212 100644 --- a/target/docs/lib/ControlSetStyle.htm +++ b/target/docs/lib/ControlSetStyle.htm @@ -22,7 +22,7 @@

      パラメータ

      値
      -

      Type: Integer or String

      +

      型:整数ã¾ãŸã¯æ–‡å­—列

      æ­£ã®æ•´æ•°ã‚’渡ã™ã¨ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¹ã‚¿ã‚¤ãƒ«ã‚’完全ã«ä¸Šæ›¸ãã™ã‚‹ã€ã¤ã¾ã‚Šã€Valueã«è¨­å®šã—ã¾ã™ã€‚

      スタイルã®è¿½åŠ ã€å‰Šé™¤ã€åˆ‡ã‚Šæ›¿ãˆã‚’ç°¡å˜ã«è¡Œã†ã«ã¯ã€ãƒ—ラス記å·ï¼ˆ+)ã€ãƒžã‚¤ãƒŠã‚¹è¨˜å·ï¼ˆ-)ã€ã‚­ãƒ£ãƒ¬ãƒƒãƒˆï¼ˆ^)をãã‚Œãžã‚Œå…ˆé ­ã«æŒã¤æ•°å€¤åˆ—を渡ã—ã¾ã™ã€‚æ–°ã—ã„スタイル値ã¯æ¬¡ã®ã‚ˆã†ã«è¨ˆç®—ã•ã‚Œã¾ã™ï¼ˆCurrentStyle㯠ControlGetStyle/ControlGetExStyleã¾ãŸã¯WinGetStyle/WinGetExStyleã§å–å¾—ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼‰ã€‚

    IIDClassVariant Type説明
    @@ -52,16 +52,16 @@

    パラメータ

    ValueãŒè² ã®æ•´æ•°ã®å ´åˆã€å¯¾å¿œã™ã‚‹æ•°å€¤æ–‡å­—列ã¨åŒã˜ã‚ˆã†ã«æ‰±ã‚ã‚Œã¾ã™ã€‚

    -

    + ã¾ãŸã¯ - プレフィックスを文字ã©ãŠã‚Šå¼ã§ä½¿ç”¨ã™ã‚‹ã«ã¯ã€ãƒ—レフィックスã¾ãŸã¯å€¤ã‚’引用符ã§å›²ã‚€å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚For example: ControlSetStyle("+0x80") or ControlSetStyle("^" StylesToToggle). ã¨ã„ã†è¡¨ç¾ãŒã‚ã‚‹ã‹ã‚‰ã§ã™ã€‚ +123ã¯123(接頭辞ãªã—)を生æˆã—ã€^123ã¯ã‚·ãƒ³ã‚¿ãƒƒã‚¯ã‚¹ã‚¨ãƒ©ãƒ¼ã¨ãªã‚Šã¾ã™ã€‚

    +

    + ã¾ãŸã¯ - プレフィックスを文字ã©ãŠã‚Šå¼ã§ä½¿ç”¨ã™ã‚‹ã«ã¯ã€ãƒ—レフィックスã¾ãŸã¯å€¤ã‚’引用符ã§å›²ã‚€å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚事例:ControlSetStyle("+0x80") or ControlSetStyle("^" StylesToToggle). ã¨ã„ã†è¡¨ç¾ãŒã‚ã‚‹ã‹ã‚‰ã§ã™ã€‚ +123ã¯123(接頭辞ãªã—)を生æˆã—ã€^123ã¯ã‚·ãƒ³ã‚¿ãƒƒã‚¯ã‚¹ã‚¨ãƒ©ãƒ¼ã¨ãªã‚Šã¾ã™ã€‚

    Control
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

    WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

    ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

    ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

    diff --git a/target/docs/lib/ControlSetText.htm b/target/docs/lib/ControlSetText.htm index c3a5c22bc..9f8e75cc1 100644 --- a/target/docs/lib/ControlSetText.htm +++ b/target/docs/lib/ControlSetText.htm @@ -20,19 +20,19 @@

    パラメータ

    NewText
    -

    Type: String

    +

    型:文字列

    空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’空白ã«ã—ã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€new textãŒã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«è¨­å®šã•ã‚Œã¾ã™ã€‚

    Control
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

    WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

    ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

    ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

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

    例

    メインウィンドウã®ã‚¨ãƒ‡ã‚£ãƒƒãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’変更ã—ã¾ã™ã€‚

    ListVars
     WinWaitActive "ahk_class AutoHotkey"
    -ControlSetText "New Text Here", "Edit1" ; Use the window found above.
    +ControlSetText "New Text Here", "Edit1" ; 上記ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’使用ã—ã¾ã™ã€‚
    diff --git a/target/docs/lib/ControlShow.htm b/target/docs/lib/ControlShow.htm index 217bd1423..f9d8737f8 100644 --- a/target/docs/lib/ControlShow.htm +++ b/target/docs/lib/ControlShow.htm @@ -21,12 +21,12 @@

    パラメータ

    Control
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

    WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

    ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

    ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

    diff --git a/target/docs/lib/ControlShowDropDown.htm b/target/docs/lib/ControlShowDropDown.htm index 9fdd53bc4..e18138160 100644 --- a/target/docs/lib/ControlShowDropDown.htm +++ b/target/docs/lib/ControlShowDropDown.htm @@ -21,12 +21,12 @@

    パラメータ

    Control
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

    WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

    ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

    ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

    @@ -46,13 +46,13 @@

    例

    ファイルåを指定ã—ã¦å®Ÿè¡Œã€ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’é–‹ãã€ãã®ãƒ‰ãƒ­ãƒƒãƒ—ダウンリストを2秒間表示ã—ãŸå¾Œã€ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’é–‰ã˜ã¾ã™ã€‚

    -
    Send "#r"  ; Open the Run dialog.
    -WinWaitActive "ahk_class #32770"  ; Wait for the dialog to appear.
    -ControlShowDropDown "ComboBox1"  ; Show the drop-down list. The second parameter is omitted so that the last found window is used.
    +
    Send "#r"  ; 「ファイルåを指定ã—ã¦å®Ÿè¡Œã€ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’é–‹ã。
    +WinWaitActive "ahk_class #32770"  ; ダイアログãŒè¡¨ç¤ºã•ã‚Œã‚‹ã®ã‚’å¾…ã¡ã¾ã™ã€‚
    +ControlShowDropDown "ComboBox1"  ; ドロップダウンリストを表示ã—ã¾ã™ã€‚第2パラメータã¯çœç•¥ã•ã‚Œã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚
     Sleep 2000
    -ControlHideDropDown "ComboBox1"  ; Hide the drop-down list.
    +ControlHideDropDown "ComboBox1"  ; ドロップダウンリストをéžè¡¨ç¤ºã«ã—ã¾ã™ã€‚
     Sleep 1000
    -Send "{Esc}"  ; Close the Run dialog.
    +Send "{Esc}" ; 「ファイルåを指定ã—ã¦å®Ÿè¡Œã€ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’é–‰ã˜ã¾ã™ã€‚
    diff --git a/target/docs/lib/CoordMode.htm b/target/docs/lib/CoordMode.htm index ff0bd9626..35365bf62 100644 --- a/target/docs/lib/CoordMode.htm +++ b/target/docs/lib/CoordMode.htm @@ -20,7 +20,7 @@

    パラメータ

    TargetType
    -

    Type: String

    +

    型:文字列

    Specify one of the following words to indicate the type of target to affect:

    ToolTip: Affects ToolTip.

    Pixel: Affects PixelGetColor, PixelSearch, and ImageSearch.

    @@ -31,7 +31,7 @@

    パラメータ

    RelativeTo
    -

    Type: String

    +

    型:文字列

    If omitted, it defaults to Screen. Otherwise, specify one of the following words to indicate the area to which TargetType should be relative:

    Screen: Coordinates are relative to the desktop (entire screen).

    Window: Coordinates are relative to the active window.

    @@ -41,7 +41,7 @@

    パラメータ

    戻り値

    -

    Type: String

    +

    型:文字列

    This function returns the previous setting; either Screen, Window or Client.

    備考

    diff --git a/target/docs/lib/Critical.htm b/target/docs/lib/Critical.htm index 7f3b066ee..bcb20bca3 100644 --- a/target/docs/lib/Critical.htm +++ b/target/docs/lib/Critical.htm @@ -21,7 +21,7 @@

    パラメータ

    OnOffNumeric
    -

    Type: String or Integer

    +

    型:文字列ã¾ãŸã¯æ•´æ•°

    If blank or omitted, it defaults to On. ãれ以外ã®å ´åˆã¯ã€ä»¥ä¸‹ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ã€‚

    On: The current thread is made critical, meaning that it cannot be interrupted by another thread.

    Off: The current thread immediately becomes interruptible, regardless of the settings of Thread Interrupt. 詳ã—ãã¯ã‚¯ãƒªãƒ†ã‚£ã‚«ãƒ«ã‚ªãƒ•ã‚’ã”覧ãã ã•ã„。

    @@ -30,7 +30,7 @@

    パラメータ

    戻り値

    -

    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.

    クリティカルスレッドã®æŒ™å‹•

    @@ -64,13 +64,13 @@

    例

    ホットキーを押ã™ã¨ã€ãƒ„ールãƒãƒƒãƒ—ã‚’3秒間表示ã—ã¾ã™ã€‚Criticalã®ãŸã‚ã€ã“ã®é–“ã«èµ·å‹•ã—ãŸæ–°ã—ã„スレッド(例:ホットキーをもã†ä¸€åº¦æŠ¼ã™ï¼‰ã¯ã€ãƒ„ールãƒãƒƒãƒ—ãŒæ¶ˆãˆã‚‹ã¾ã§å»¶æœŸã•ã‚Œã¾ã™ã€‚

    -
    #space::  ; Win+Space hotkey.
    +
    #space::  ; Win+Space ホットキー。
     {
         Critical
         ToolTip "No new threads will launch until after this ToolTip disappears."
         Sleep 3000
         ToolTip  ;ãƒãƒƒãƒ—を切る。
    -    return ; Returning from a hotkey function ends the thread. Any underlying thread to be resumed is noncritical by definition.
    +    return ; ホットキー機能ã‹ã‚‰æˆ»ã‚‹ã¨ã€ãã®ã‚¹ãƒ¬ãƒƒãƒ‰ãŒçµ‚了ã—ã¾ã™ã€‚å†é–‹ã•ã‚Œã‚‹åŸºç¤Žã¨ãªã‚‹ã‚¹ãƒ¬ãƒƒãƒ‰ã¯ã€å®šç¾©ä¸Šã€éžã‚¯ãƒªãƒ†ã‚£ã‚«ãƒ«ãªã‚‚ã®ã§ã™ã€‚
     }
    diff --git a/target/docs/lib/DateAdd.htm b/target/docs/lib/DateAdd.htm index 5a242022d..d4e0d2d8b 100644 --- a/target/docs/lib/DateAdd.htm +++ b/target/docs/lib/DateAdd.htm @@ -21,25 +21,25 @@

    パラメータ

    DateTime
    -

    Type: String

    +

    型:文字列

    YYYYMMDDHH24MISSå½¢å¼ã®æ—¥ä»˜-時間スタンプã§ã™ã€‚

    Time
    -

    Type: Integer or Float

    +

    型:整数ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°

    加算ã™ã‚‹æ™‚é–“ã‚’ã€æ•´æ•°ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°ã§æŒ‡å®šã—ã¾ã™ã€‚è² ã®æ•°ã‚’指定ã—ã¦ã€å¼•ãç®—ã‚’è¡Œã†ã€‚

    TimeUnits
    -

    Type: String

    -

    Timeパラメータã®æ„味。TimeUnits may be one of the following strings (or just the first letter): Seconds, Minutes, Hours or Days.

    +

    型:文字列

    +

    Timeパラメータã®æ„味。TimeUnitsã¯ã€ä»¥ä¸‹ã®æ–‡å­—列ã®ã„ãšã‚Œã‹ï¼ˆã¾ãŸã¯æœ€åˆã®æ–‡å­—ã®ã¿ï¼‰ã‚’指定ã—ã¾ã™ã€‚Seconds, Minutes, Hours ã¾ãŸã¯ Days.

    戻り値

    -

    Type: String

    +

    型:文字列

    ã“ã®é–¢æ•°ã¯ã€YYYYMMDDHH24MISSå½¢å¼ã®æ•°å­—列を返ã—ã¾ã™ã€‚ã“ã®æ–‡å­—列ã¯æ•°å€¤ã¨ã—ã¦æ‰±ãˆã¾ã›ã‚“。ã¤ã¾ã‚Šè¨ˆç®—ã—ãŸã‚Šã€æ•°ã¨ã—ã¦æ¯”較ã¯ã§ãã¾ã›ã‚“。

    備考

    diff --git a/target/docs/lib/DateDiff.htm b/target/docs/lib/DateDiff.htm index 30342eb5c..67d19034e 100644 --- a/target/docs/lib/DateDiff.htm +++ b/target/docs/lib/DateDiff.htm @@ -21,21 +21,21 @@

    パラメータ

    DateTime1, DateTime2
    -

    Type: String

    +

    型:文字列

    YYYYMMDDHH24MISSå½¢å¼ã®æ—¥ä»˜ãƒ»æ™‚間スタンプã§ã™ã€‚

    If either is an empty string, the current local date and time (A_Now) is used.

    TimeUnits
    -

    Type: String

    -

    差を測るå˜ä½ã€‚TimeUnits may be one of the following strings (or just the first letter): Seconds, Minutes, Hours or Days.

    +

    型:文字列

    +

    差を測るå˜ä½ã€‚TimeUnitsã¯ã€ä»¥ä¸‹ã®æ–‡å­—列ã®ã„ãšã‚Œã‹ï¼ˆã¾ãŸã¯æœ€åˆã®æ–‡å­—ã®ã¿ï¼‰ã‚’指定ã—ã¾ã™ï¼šSeconds, Minutes, Hours ã¾ãŸã¯ Days.

    戻り値

    -

    Type: Integer

    +

    型:整数

    説明: 2ã¤ã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã®å·®ã‚’TimeUnitsã§æŒ‡å®šã•ã‚ŒãŸå˜ä½ã§è¿”ã™ã€‚If DateTime1 is earlier than DateTime2, a negative number is returned.

    The result is always rounded down to the nearest integer. 例ãˆã°ã€2ã¤ã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã®å®Ÿéš›ã®å·®ãŒ1.999æ—¥ã§ã‚ã‚Œã°ã€1æ—¥ã¨ã—ã¦å ±å‘Šã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚If higher precision is needed, specify Seconds for TimeUnits and divide the result by 60.0, 3600.0, or 86400.0.

    @@ -52,7 +52,7 @@

    例

    2ã¤ã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã®é–“ã®æ—¥æ•°ã‚’計算ã—ã€çµæžœã‚’報告ã—ã¾ã™ã€‚

    var1 := "20050126"
     var2 := "20040126"
    -MsgBox DateDiff(var1, var2, "days")  ; The answer will be 366 since 2004 is a leap year.
    +MsgBox DateDiff(var1, var2, "days")  ; 2004å¹´ã¯ã†ã‚‹ã†å¹´ãªã®ã§ã€ç­”ãˆã¯366ã¨ãªã‚Šã¾ã™ã€‚
     
    diff --git a/target/docs/lib/DetectHiddenText.htm b/target/docs/lib/DetectHiddenText.htm index 8a4eb612b..6fa0ac278 100644 --- a/target/docs/lib/DetectHiddenText.htm +++ b/target/docs/lib/DetectHiddenText.htm @@ -20,7 +20,7 @@

    パラメータ

    Mode
    -

    Type: Boolean

    +

    型:論ç†å€¤

    If true, hidden text is detected.

    If false, hidden text is not detected.

    @@ -28,7 +28,7 @@

    パラメータ

    戻り値

    -

    Type: Integer (boolean)

    +

    型:整数(ブーリアン)

    This function returns the previous setting; either 0 (false) or 1 (true).

    備考

    diff --git a/target/docs/lib/DetectHiddenWindows.htm b/target/docs/lib/DetectHiddenWindows.htm index 24b48c2d8..80df84ecd 100644 --- a/target/docs/lib/DetectHiddenWindows.htm +++ b/target/docs/lib/DetectHiddenWindows.htm @@ -20,7 +20,7 @@

    パラメータ

    Mode
    -

    Type: Boolean

    +

    型:論ç†å€¤

    If true, hidden windows are detected.

    If false, hidden windows are not detected, except by the WinShow function.

    @@ -28,7 +28,7 @@

    パラメータ

    戻り値

    -

    Type: Integer (boolean)

    +

    型:整数(ブーリアン)

    This function returns the previous setting; either 0 (false) or 1 (true).

    備考

    diff --git a/target/docs/lib/DirCopy.htm b/target/docs/lib/DirCopy.htm index df67d3e38..72ed35fb7 100644 --- a/target/docs/lib/DirCopy.htm +++ b/target/docs/lib/DirCopy.htm @@ -21,20 +21,20 @@

    パラメータ

    Source
    -

    Type: String

    -

    ソースディレクトリã®åå‰ï¼ˆæœ«å°¾ã«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚For example: C:\My Folder

    +

    型:文字列

    +

    ソースディレクトリã®åå‰ï¼ˆæœ«å°¾ã«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚事例:C:\My Folder

    If supported by the OS, Source can also be the path of an archive file, in which case its contents will be copied to the destination directory. ZIP files are always supported. TAR files require at least Windows 10 (1803) build 17063. RAR, 7z, gz and others require at least Windows 11 23H2 (which uses libarchive, where all supported formats are listed).

    Dest
    -

    Type: String

    -

    絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã‚‹å®›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå(末尾ã«ãƒã‚¹ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。For example: C:\Copy of My Folder

    +

    型:文字列

    +

    絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã‚‹å®›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå(末尾ã«ãƒã‚¹ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。事例:C:\Copy of My Folder

    Overwrite
    -

    Type: Integer

    +

    型:整数

    çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ 0 ã§ã™ã€‚Otherwise, specify one of the following numbers to indicate whether to overwrite files if they already exist:

    0: Do not overwrite existing files. DestãŒã™ã§ã«ãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¨ã—ã¦å­˜åœ¨ã™ã‚‹å ´åˆã€æ“作ã¯å¤±æ•—ã—ã€ä½•ã®åŠ¹æžœã‚‚ã‚ã‚Šã¾ã›ã‚“。

    1: Overwrite existing files. ãŸã ã—ã€Dest内ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚„サブフォルダã§ã€Sourceã«å¯¾å¿œã™ã‚‹ã‚‚ã®ãŒãªã„ã‚‚ã®ã¯å‰Šé™¤ã•ã‚Œã¾ã›ã‚“。

    @@ -64,15 +64,15 @@

    例

    SourceFolder := DirSelect(, 3, "Select the folder to copy")
     if SourceFolder = ""
         return
    -; Otherwise, continue.
    +; ãれ以外ã®å ´åˆã¯ã€ç¶šè¡Œã—ã¾ã™ã€‚
     TargetFolder := DirSelect(, 3, "Select the folder IN WHICH to create the duplicate folder.")
     if TargetFolder = ""
         return
    -; Otherwise, continue.
    +; ãれ以外ã®å ´åˆã¯ã€ç¶šè¡Œã—ã¾ã™ã€‚
     Result := MsgBox("A copy of the folder '" SourceFolder "' will be put into '" TargetFolder "'. Continue?",, 4)
     if Result = "No"
         return
    -SplitPath SourceFolder, &SourceFolderName  ; Extract only the folder name from its full path.
    +SplitPath SourceFolder, &SourceFolderName  ; フルパスã‹ã‚‰ãƒ•ã‚©ãƒ«ãƒ€åã®ã¿ã‚’抽出ã—ã¾ã™ã€‚
     try
         DirCopy SourceFolder, TargetFolder "\" SourceFolderName
     catch
    diff --git a/target/docs/lib/DirCreate.htm b/target/docs/lib/DirCreate.htm
    index e1e505bf1..2ff7993c9 100644
    --- a/target/docs/lib/DirCreate.htm
    +++ b/target/docs/lib/DirCreate.htm
    @@ -21,7 +21,7 @@ 

    パラメータ

    DirName
    -

    Type: String

    +

    型:文字列

    作æˆã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®åå‰ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚

    diff --git a/target/docs/lib/DirDelete.htm b/target/docs/lib/DirDelete.htm index 6b5419229..8d86274b0 100644 --- a/target/docs/lib/DirDelete.htm +++ b/target/docs/lib/DirDelete.htm @@ -21,13 +21,13 @@

    パラメータ

    DirName
    -

    Type: String

    +

    型:文字列

    削除ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®åå‰ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚

    Recurse
    -

    Type: Boolean

    +

    型:論ç†å€¤

    çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯falseã§ã™ã€‚

    false ã®å ´åˆã€DirName ã«å«ã¾ã‚Œã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã‚µãƒ–フォルダã¯å‰Šé™¤ã•ã‚Œã¾ã›ã‚“。ã“ã®å ´åˆã€DirNameãŒç©ºã§ãªã„å ´åˆã¯ä½•ã‚‚ã›ãšã€ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

    trueã®å ´åˆã€Windowsã®"rmdir /S"コマンドã®ã‚ˆã†ã«ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã‚µãƒ–フォルダã¯å‰Šé™¤ã•ã‚Œã¾ã™ã€‚

    diff --git a/target/docs/lib/DirExist.htm b/target/docs/lib/DirExist.htm index 93fea2d57..cd96cc13a 100644 --- a/target/docs/lib/DirExist.htm +++ b/target/docs/lib/DirExist.htm @@ -21,14 +21,14 @@

    パラメータ

    FilePattern
    -

    Type: String

    +

    型:文字列

    ãƒã‚§ãƒƒã‚¯ã™ã‚‹ãƒ‘スã€ãƒ•ã‚©ãƒ«ãƒ€åã€ã¾ãŸã¯ãƒ•ã‚¡ã‚¤ãƒ«ãƒ‘ターンを指定ã—ã¾ã™ã€‚FilePatternã¯ã€çµ¶å¯¾ãƒ‘スãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚

    戻り値

    -

    Type: String

    +

    型:文字列

    ã“ã®é–¢æ•°ã¯ã€æœ€åˆã«ãƒžãƒƒãƒã—ãŸãƒ•ã‚©ãƒ«ãƒ€ã®å±žæ€§ã‚’è¿”ã—ã¾ã™ã€‚ã“ã®æ–‡å­—列ã¯RASHDOCã®ã‚µãƒ–セットã§ã€å„文字ã¯æ¬¡ã®ã‚ˆã†ãªæ„味をæŒã£ã¦ã„ã¾ã™ï¼š

    • R = READONLY
    • diff --git a/target/docs/lib/DirMove.htm b/target/docs/lib/DirMove.htm index 81535044f..b2047d445 100644 --- a/target/docs/lib/DirMove.htm +++ b/target/docs/lib/DirMove.htm @@ -21,20 +21,20 @@

      パラメータ

      Source
      -

      Type: String

      -

      ソースディレクトリã®åå‰ï¼ˆæœ«å°¾ã«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚For example: C:\My Folder

      +

      型:文字列

      +

      ソースディレクトリã®åå‰ï¼ˆæœ«å°¾ã«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚事例:C:\My Folder

      Dest
      -

      Type: String

      -

      絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®æ–°ã—ã„パスã¨åå‰ï¼ˆæœ«å°¾ã«ãƒã‚¹ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。For example: D:\My Folder.

      +

      型:文字列

      +

      絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®æ–°ã—ã„パスã¨åå‰ï¼ˆæœ«å°¾ã«ãƒã‚¹ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãªã„)。事例:D:\My Folder.

      Note: Dest is the actual path and name that the directory will have after it is moved; it is not the directory into which Source is moved (except for the known limitation mentioned below).

      OverwriteOrRename
      -

      Type: String

      +

      型:文字列

      çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ 0 ã§ã™ã€‚Otherwise, specify one of the following values to indicate whether to overwrite or rename existing files:

      0: Do not overwrite existing files. DestãŒã™ã§ã«ãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¨ã—ã¦å­˜åœ¨ã™ã‚‹å ´åˆã€æ“作ã¯å¤±æ•—ã—ã¾ã™ã€‚

      1: Overwrite existing files. ãŸã ã—ã€Dest内ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚„サブフォルダã§ã€Sourceã«å¯¾å¿œã™ã‚‹ã‚‚ã®ãŒãªã„ã‚‚ã®ã¯å‰Šé™¤ã•ã‚Œã¾ã›ã‚“。既知ã®åˆ¶é™äº‹é …: DestãŒã™ã§ã«ãƒ•ã‚©ãƒ«ãƒ€ã¨ã—ã¦å­˜åœ¨ã—ã€ãã‚ŒãŒSourceã¨åŒã˜ãƒœãƒªãƒ¥ãƒ¼ãƒ ã«ã‚ã‚‹å ´åˆã€Sourceã¯ä¸Šæ›¸ãã•ã‚Œã‚‹ã®ã§ã¯ãªãã€ãã®ä¸­ã«ç§»å‹•ã•ã‚Œã¾ã™ã€‚ã“れを回é¿ã™ã‚‹ãŸã‚ã«ã¯ã€æ¬¡ã®ã‚ªãƒ—ションをã”覧ãã ã•ã„。

      diff --git a/target/docs/lib/DirSelect.htm b/target/docs/lib/DirSelect.htm index 3d4584b4f..1902f8d98 100644 --- a/target/docs/lib/DirSelect.htm +++ b/target/docs/lib/DirSelect.htm @@ -21,7 +21,7 @@

      パラメータ

      StartingFolder
      -

      Type: String

      +

      型:文字列

      If blank or omitted, the dialog's initial selection will be the user's My Documents folder or possibly This PC (formerly My Computer or Computer). A CLSID folder such as "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" (i.e. This PC) may be specified start navigation at a specific special folder.

      ãれ以外ã®å ´åˆã€ã“ã®ãƒ‘ラメータã®æœ€ã‚‚一般的ãªä½¿ç”¨æ³•ã¯ã€ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã®ç›´å¾Œã«ã€æœ€åˆã«é¸æŠžã•ã‚Œã‚‹ãƒ‰ãƒ©ã‚¤ãƒ–ã¾ãŸã¯ãƒ•ã‚©ãƒ«ãƒ€ã®çµ¶å¯¾ãƒ‘スãŒç¶šãã“ã¨ã§ã™ã€‚例ãˆã°ã€"*C:\"ã¨ã™ã‚‹ã¨ã€æœ€åˆã¯CドライブãŒé¸æŠžã•ã‚Œã¾ã™ã€‚åŒæ§˜ã«ã€"*C:Â¥My Folder"ã¯ã€ãã®ç‰¹å®šã®ãƒ•ã‚©ãƒ«ãƒ€ã‚’åˆæœŸé¸æŠžã—ã¾ã™ã€‚

      アスタリスクã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒé–‹å§‹ãƒ•ã‚©ãƒ«ãƒ€ã‹ã‚‰ä¸Šã¸ï¼ˆãƒ«ãƒ¼ãƒˆã«è¿‘ã„æ–¹ã¸ï¼‰ç§»å‹•ã™ã‚‹ã“ã¨ã‚’許å¯ã•ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’示ã—ã¾ã™ã€‚アスタリスクãŒãªã„å ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯StartingFolder内ã®ãƒ•ã‚©ãƒ«ãƒ€ï¼ˆã¾ãŸã¯StartingFolder自体)をé¸æŠžã™ã‚‹ã‚ˆã†å¼·åˆ¶ã•ã‚Œã¾ã™ã€‚アスタリスクをçœç•¥ã—ãŸå ´åˆã®åˆ©ç‚¹ã¨ã—ã¦ã€StartingFolderãŒæœ€åˆã«ãƒ„リー状ã«å±•é–‹ã•ã‚ŒãŸçŠ¶æ…‹ã§è¡¨ç¤ºã•ã‚Œã‚‹ãŸã‚ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒæœ€åˆã®ãƒ—ラス記å·ã‚’クリックã™ã‚‹æ‰‹é–“ãŒçœã‘ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã€‚

      @@ -30,7 +30,7 @@

      パラメータ

      Options
      -

      Type: Integer

      +

      型:整数

      çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€åˆæœŸå€¤ã¯ 1 ã§ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã®ç•ªå·ã‚’指定ã—ã¦ãã ã•ã„:

      0: The options below are all disabled.

      1: A button is provided that allows the user to create new folders.

      @@ -41,14 +41,14 @@

      パラメータ

      Prompt
      -

      Type: String

      +

      型:文字列

      If blank or omitted, it defaults to "Select Folder - " A_ScriptName (i.e. the name of the current script). Otherwise, specify the text displayed in the window to instruct the user what to do.

      戻り値

      -

      Type: String

      +

      型:文字列

      ã“ã®é–¢æ•°ã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒé¸æŠžã—ãŸãƒ•ã‚©ãƒ«ãƒ€ã®ãƒ•ãƒ«ãƒ‘スã¨åå‰ã‚’è¿”ã—ã¾ã™ã€‚ユーザーãŒãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’キャンセルã—ãŸå ´åˆï¼ˆãƒ•ã‚©ãƒ«ãƒ€ã®é¸æŠžã‚’希望ã—ãªã„å ´åˆï¼‰ã«ã¯ã€ç©ºæ–‡å­—列ãŒè¿”ã•ã‚Œã¾ã™ã€‚ユーザーãŒãƒ«ãƒ¼ãƒˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªï¼ˆC:\)をé¸æŠžã—ãŸå ´åˆã€æˆ»ã‚Šå€¤ã«ã¯æœ«å°¾ã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ãŒå«ã¾ã‚Œã¾ã™ã€‚好ã¾ã—ããªã„å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ã«å–り除ã„ã¦ãã ã•ã„:

      Folder := RegExReplace(DirSelect(), "\\$")  ; ã‚‚ã—ã‚ã‚Œã°ï¼Œæœ«å°¾ã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’削除ã—ã¾ã™ã€‚

      ã¾ãŸã€ã‚·ã‚¹ãƒ†ãƒ ãŒãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã®è¡¨ç¤ºã‚’æ‹’å¦ã—ãŸå ´åˆã¯ç©ºæ–‡å­—列ãŒè¿”ã•ã‚Œã¾ã™ãŒã€ã“ã‚Œã¯éžå¸¸ã«ã¾ã‚Œãªã“ã¨ã§ã™ã€‚

      diff --git a/target/docs/lib/DllCall.htm b/target/docs/lib/DllCall.htm index 4ad06f5ac..670b05c4b 100644 --- a/target/docs/lib/DllCall.htm +++ b/target/docs/lib/DllCall.htm @@ -20,8 +20,8 @@

      パラメータ

      [DllFile\]Function
      -

      Type: String or Integer

      -

      DLLã¾ãŸã¯EXEã®ãƒ•ã‚¡ã‚¤ãƒ«åã®å¾Œã«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ã€é–¢æ•°åを指定ã—ã¾ã™ã€‚For example: "MyDLL\MyFunction" (the file extension ".dll" is the default when omitted). 絶対パスãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€DllFileã¯ã‚·ã‚¹ãƒ†ãƒ ã®PATHã¾ãŸã¯A_WorkingDirã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚ãªãŠã€DllCallã¯ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’å«ã‚€ãƒ‘スを想定ã—ã¦ã„ã¾ã™(\)。フォワードスラッシュ(/)ã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“。

      +

      型:文字列ã¾ãŸã¯æ•´æ•°

      +

      DLLã¾ãŸã¯EXEã®ãƒ•ã‚¡ã‚¤ãƒ«åã®å¾Œã«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ã€é–¢æ•°åを指定ã—ã¾ã™ã€‚事例:"MyDLL\MyFunction"(ファイル拡張å­".dll "ã¯çœç•¥æ™‚ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ã™ï¼‰ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€DllFileã¯ã‚·ã‚¹ãƒ†ãƒ ã®PATHã¾ãŸã¯A_WorkingDirã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚ãªãŠã€DllCallã¯ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’å«ã‚€ãƒ‘スを想定ã—ã¦ã„ã¾ã™(\)。フォワードスラッシュ(/)ã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“。

      User32.dllã€Kernel32.dllã€ComCtl32.dllã€Gdi32.dllã«å­˜åœ¨ã™ã‚‹é–¢æ•°ã‚’呼ã³å‡ºã™å ´åˆã€DllFileã‚’çœç•¥ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚例ãˆã°ã€"User32IsWindowVisible"ã¯"IsWindowVisible"ã¨åŒã˜çµæžœã‚’å¾—ã‚‹ã“ã¨ãŒã§ãる。

      指定ã•ã‚ŒãŸåå‰ã®é–¢æ•°ãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã¯ã€è‡ªå‹•çš„ã« "W"(ユニコード)ã®æŽ¥å°¾è¾žãŒä»˜åŠ ã•ã‚Œã¾ã™ã€‚例ãˆã°ã€"MessageBox"ã¯"MessageBoxW"ã¨åŒã˜ã§ã™ã€‚

      DLLã‚’ç¹°ã‚Šè¿”ã—呼ã³å‡ºã™å ´åˆã€ã‚らã‹ã˜ã‚ロードã—ã¦ãŠãã“ã¨ã§ãƒ‘フォーマンスを飛èºçš„ã«å‘上ã•ã›ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

      @@ -31,23 +31,23 @@

      パラメータ

      Type1, Arg1
      -

      Type: String

      +

      型:文字列

      ã“れらã®ãƒšã‚¢ã¯ãã‚Œãžã‚Œã€é–¢æ•°ã«æ¸¡ã•ã‚Œã‚‹1ã¤ã®ãƒ‘ラメータを表ã—ã¦ã„ã¾ã™ã€‚組数ã¯ç„¡åˆ¶é™ã§ã™ã€‚タイプã«ã¤ã„ã¦ã¯ã€ä»¥ä¸‹ã®ã‚¿ã‚¤ãƒ—表をã”覧ãã ã•ã„。Argã®å ´åˆã€é–¢æ•°ã«æ¸¡ã™å€¤ã‚’指定ã—ã¾ã™ã€‚

      Cdecl ReturnType
      -

      Type: String

      +

      型:文字列

      ã»ã¨ã‚“ã©ã®é–¢æ•°ã¯ã€ŒCã€å‘¼ã³å‡ºã—è¦ç´„ã§ã¯ãªãã€æ¨™æº–呼ã³å‡ºã—è¦ç´„を使用ã—ã¦ã„ã‚‹ãŸã‚ã€Cdeclã¨ã„ã†è¨€è‘‰ã¯é€šå¸¸çœç•¥ã•ã‚Œã¾ã™ï¼ˆwsprintfã®ã‚ˆã†ã«æ§˜ã€…ãªæ•°ã®å¼•æ•°ã‚’å—ã‘付ã‘る関数ã¯ä¾‹å¤–ã§ã™ï¼‰ã€‚ãªãŠã€ã‚ªãƒ–ジェクト指å‘ã®C++関数ã®å¤šãã¯thiscallã®è¦ç´„を使用ã—ã¦ã„ã¾ã™ãŒã€ã“ã‚Œã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“。

      -

      存在ã™ã‚‹å ´åˆã€Cdeclã¨ã„ã†å˜èªžã¯ã€ï¼ˆã‚‚ã—ã‚ã‚Œã°ï¼‰æˆ»ã‚Šå€¤ã®åž‹ã®å‰ã«è¨˜è¼‰ã•ã‚Œã‚‹ã¹ãã§ã™ã€‚å˜èªžã¨å˜èªžã®é–“ã¯ã€ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ã§åŒºåˆ‡ã‚‹ã€‚For example: "Cdecl Str".

      +

      存在ã™ã‚‹å ´åˆã€Cdeclã¨ã„ã†å˜èªžã¯ã€ï¼ˆã‚‚ã—ã‚ã‚Œã°ï¼‰æˆ»ã‚Šå€¤ã®åž‹ã®å‰ã«è¨˜è¼‰ã•ã‚Œã‚‹ã¹ãã§ã™ã€‚å˜èªžã¨å˜èªžã®é–“ã¯ã€ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ã§åŒºåˆ‡ã‚‹ã€‚事例:"Cdecl Str".

      64ビットコードã«ã¯å€‹åˆ¥ã® "C" 呼ã³å‡ºã—è¦ç´„ãŒå­˜åœ¨ã—ãªã„ãŸã‚ã€Cdeclを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ãŒã€AutoHotkeyã®64ビットビルドã«ã¯ä½•ã®åŠ¹æžœã‚‚ã‚ã‚Šã¾ã›ã‚“。

      -

      ReturnType: If the function returns a 32-bit signed integer (Int), BOOL, or nothing at all, ReturnType may be omitted. ãれ以外ã®å ´åˆã¯ã€ä»¥ä¸‹ã®åž‹å¼è¡¨ã‹ã‚‰ã„ãšã‚Œã‹ã®å¼•æ•°åž‹ã‚’指定ã—ã¾ã™ã€‚接尾辞ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã«ã‚‚対応ã—ã¦ã„ã¾ã™ã€‚

      +

      ReturnType:関数ãŒ32ビット符å·ä»˜ã整数(Int)ã€BOOLã€ã¾ãŸã¯ä½•ã‚‚è¿”ã•ãªã„å ´åˆã¯ã€ReturnTypeã‚’çœç•¥ã™ã‚‹ã“ã¨ãŒã§ãる。ãれ以外ã®å ´åˆã¯ã€ä»¥ä¸‹ã®åž‹å¼è¡¨ã‹ã‚‰ã„ãšã‚Œã‹ã®å¼•æ•°åž‹ã‚’指定ã—ã¾ã™ã€‚接尾辞ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã«ã‚‚対応ã—ã¦ã„ã¾ã™ã€‚

      戻り値

      -

      Type: String or Integer

      +

      型:文字列ã¾ãŸã¯æ•´æ•°

      DllCallã¯ã€FunctionãŒè¿”ã™å®Ÿéš›ã®å€¤ã‚’è¿”ã—ã¾ã™ã€‚FunctionãŒå€¤ã‚’è¿”ã•ãªã„åž‹ã®å ´åˆã€çµæžœã¯æŒ‡å®šã•ã‚ŒãŸæˆ»ã‚Šå€¤ã®åž‹ï¼ˆãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ã¯æ•´æ•°ï¼‰ã®æœªå®šç¾©å€¤ã§ã™ã€‚

      引数ã®ç¨®é¡žã¨æˆ»ã‚Šå€¤

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

      引数ã®ç¨®é¡žã¨æˆ»ã‚Šå€¤

      Str -

      Blue"ãªã©ã®æ–‡å­—列やMyVarã€ã‚ã‚‹ã„ã¯&MyVarãªã©ã®VarRefを指定ã—ã¾ã™ã€‚呼ã³å‡ºã•ã‚ŒãŸé–¢æ•°ãŒæ–‡å­—列を変更ã—ã€å¼•æ•°ãŒè£¸ã®å¤‰æ•°ã¾ãŸã¯ VarRef ã§ã‚ã‚‹å ´åˆã€ãã®å†…容ãŒæ›´æ–°ã•ã‚Œã¾ã™ã€‚For example, the following call would convert the contents of MyVar to uppercase: DllCall("CharUpper", "Str", MyVar).

      +

      Blue"ãªã©ã®æ–‡å­—列やMyVarã€ã‚ã‚‹ã„ã¯&MyVarãªã©ã®VarRefを指定ã—ã¾ã™ã€‚呼ã³å‡ºã•ã‚ŒãŸé–¢æ•°ãŒæ–‡å­—列を変更ã—ã€å¼•æ•°ãŒè£¸ã®å¤‰æ•°ã¾ãŸã¯ VarRef ã§ã‚ã‚‹å ´åˆã€ãã®å†…容ãŒæ›´æ–°ã•ã‚Œã¾ã™ã€‚例ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«å‘¼ã³å‡ºã™ã¨ã€MyVarã®ä¸­èº«ã‚’大文字ã«å¤‰æ›ã—ã¾ã™ï¼šDllCall("CharUpper", "Str", MyVar).

      関数ãŒãƒ‘ラメータã®å…¥åŠ›å€¤ã‚ˆã‚Šã‚‚é•·ã„文字列をä¿å­˜ã™ã‚‹ã‚ˆã†ã«è¨­è¨ˆã•ã‚Œã¦ã„ã‚‹å ´åˆï¼ˆã¾ãŸã¯ãƒ‘ラメータãŒå‡ºåŠ›ã®ã¿ã®å ´åˆï¼‰ã€æŽ¨å¥¨ã•ã‚Œã‚‹æ–¹æ³•ã¯ã€wsprintfã®ä¾‹ã®ã‚ˆã†ã«ã€Bufferを作æˆã—ã€Ptr型を使ã£ã¦ãれを渡ã—ã€é–¢æ•°ãŒæˆ»ã£ãŸå¾Œã«StrGetを使ã£ã¦æ–‡å­—列をå–å¾—ã™ã‚‹æ–¹æ³•ã§ã™ã€‚

      ãã†ã§ãªã„å ´åˆã¯ã€é–¢æ•°ã‚’呼ã³å‡ºã™å‰ã«ã€å¤‰æ•°ãŒå分ãªå¤§ãã•ã§ã‚ã‚‹ã“ã¨ã‚’確èªã—ã¾ã™ã€‚This can be achieved by calling VarSetStrCapacity(&MyVar, 123), where 123 is the number of 16-bit units (loosely referred to as characters) that MyVar must be able to hold. 戻り時ã«å¤‰æ•°ãŒãƒŒãƒ«çµ‚端ã§ãªã„å ´åˆã¯ã€ãƒãƒƒãƒ•ã‚¡ã‚ªãƒ¼ãƒãƒ¼ãƒ©ãƒ³ã«ã‚ˆã‚Šãƒ¡ãƒ¢ãƒªãŒç ´å£Šã•ã‚ŒãŸå¯èƒ½æ€§ãŒé«˜ã„ã®ã§ã€ã‚¨ãƒ©ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’表示ã—ã¦ãƒ—ログラムを終了ã—ã¾ã™ã€‚ã“ã‚Œã¯é€šå¸¸ã€å¤‰æ•°ã®å®¹é‡ãŒä¸è¶³ã—ã¦ã„ã‚‹ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚

      Str引数ã¯ã€æ•°å€¤ï¼ˆi+1ãªã©ï¼‰ã«è©•ä¾¡ã•ã‚Œã‚‹å¼ã§ã‚ã£ã¦ã¯ãªã‚‰ãªã„。もã—ãã†ã§ã‚ã‚Œã°ã€é–¢æ•°ã¯å‘¼ã³å‡ºã•ã‚Œãšã€TypeErrorãŒæŠ•ã’られる。

      @@ -74,9 +74,9 @@

      引数ã®ç¨®é¡žã¨æˆ»ã‚Šå€¤

      AStr

      AStr を指定ã™ã‚‹ã¨ã€å…¥åŠ›å€¤ãŒè‡ªå‹•çš„ã« ANSI ã«å¤‰æ›ã•ã‚Œã¾ã™ã€‚ã“ã®å¤‰æ›ã«ä½¿ç”¨ã•ã‚Œã‚‹ä¸€æ™‚メモリã¯ã€å¤‰æ›ã•ã‚ŒãŸå…¥åŠ›æ–‡å­—列分ã®å¤§ãã•ã—ã‹ãªã„ãŸã‚ã€é–¢æ•°ã«ã‚ˆã£ã¦æ›¸ãè¾¼ã¾ã‚ŒãŸå€¤ã¯ç ´æ£„ã•ã‚Œã¾ã™ã€‚出力パラメータã¨ã—ã¦ANSI文字列をå—ã‘å–ã‚‹ã«ã¯ã€æ¬¡ã®ä¾‹ã«å¾“ã„ã¾ã™ï¼š

      -
      buf := Buffer(length)  ; Allocate temporary buffer.
      -DllCall("Function", "ptr", buf)  ; Pass buffer to function.
      -str := StrGet(buf, "cp0")  ; Retrieve ANSI string from buffer.
      +
      buf := Buffer(length)  ; 一時的ãªãƒãƒƒãƒ•ã‚¡ã‚’確ä¿ã—ã¾ã™ã€‚
      +DllCall("Function", "ptr", buf)  ; ãƒãƒƒãƒ•ã‚¡ã‚’関数ã«æ¸¡ã™ã€‚
      +str := StrGet(buf, "cp0")  ; ãƒãƒƒãƒ•ã‚¡ã‹ã‚‰ANSI文字列をå–å¾—ã—ã¾ã™ã€‚
       

      ã¾ã‚Œã«ä½¿ã‚れるAStr*arg型もサãƒãƒ¼ãƒˆã•ã‚Œã¦ãŠã‚Šã€æ–°ã—ã„文字列ãŒANSIã‹ã‚‰ãƒã‚¤ãƒ†ã‚£ãƒ–フォーマットã§ã‚ã‚‹UTF-16ã«å¤‰æ›ã•ã‚Œã‚‹ä»¥å¤–ã¯Str*åž‹ã¨åŒæ§˜ã®å‹•ä½œã‚’ã—ã¾ã™ã€‚

      åŒç­‰ã®Win32åž‹ãªã©ã«ã¤ã„ã¦ã¯ã€ã€Œãƒã‚¤ãƒŠãƒªäº’æ›æ€§ã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„。

      @@ -120,7 +120,7 @@

      引数ã®ç¨®é¡žã¨æˆ»ã‚Šå€¤

      * or P
      (suffix) -

      上記ã®åž‹ã®ã„ãšã‚Œã‹ã«ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ï¼ˆã‚ªãƒ—ションã§ãã®å‰ã«ã‚¹ãƒšãƒ¼ã‚¹ï¼‰ã‚’付ã‘ã‚‹ã¨ã€å€¤ãã®ã‚‚ã®ã§ã¯ãªãã€å¼•æ•°ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ãŒæ¸¡ã•ã‚Œã¾ã™ï¼ˆå‘¼ã³å‡ºã•ã‚ŒãŸé–¢æ•°ã¯ã€ãれをå—ã‘入れるよã†ã«è¨­è¨ˆã•ã‚Œã¦ã„ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“)。ã“ã®ã‚ˆã†ãªå¼•æ•°ã®å€¤ã¯é–¢æ•°ã«ã‚ˆã£ã¦å¤‰æ›´ã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€å¼•æ•°ã¨ã—ã¦VarRefを渡ã™ã¨ã€é–¢æ•°ãŒæˆ»ã£ãŸå¾Œã«ãã®å¤‰æ•°ã®å†…容ãŒæ›´æ–°ã•ã‚Œã¾ã™ã€‚For example, the following call would pass the contents of MyVar to MyFunction by address, but would also update MyVar to reflect any changes made to it by MyFunction: DllCall("MyDll\MyFunction", "Int*", &MyVar).

      +

      上記ã®åž‹ã®ã„ãšã‚Œã‹ã«ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ï¼ˆã‚ªãƒ—ションã§ãã®å‰ã«ã‚¹ãƒšãƒ¼ã‚¹ï¼‰ã‚’付ã‘ã‚‹ã¨ã€å€¤ãã®ã‚‚ã®ã§ã¯ãªãã€å¼•æ•°ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ãŒæ¸¡ã•ã‚Œã¾ã™ï¼ˆå‘¼ã³å‡ºã•ã‚ŒãŸé–¢æ•°ã¯ã€ãれをå—ã‘入れるよã†ã«è¨­è¨ˆã•ã‚Œã¦ã„ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“)。ã“ã®ã‚ˆã†ãªå¼•æ•°ã®å€¤ã¯é–¢æ•°ã«ã‚ˆã£ã¦å¤‰æ›´ã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€å¼•æ•°ã¨ã—ã¦VarRefを渡ã™ã¨ã€é–¢æ•°ãŒæˆ»ã£ãŸå¾Œã«ãã®å¤‰æ•°ã®å†…容ãŒæ›´æ–°ã•ã‚Œã¾ã™ã€‚例ãˆã°ã€æ¬¡ã®å‘¼ã³å‡ºã—ã§ã¯ã€MyVarã®å†…容をアドレスã§MyFunctionã«æ¸¡ã—ã¾ã™ãŒã€MyFunctionã«ã‚ˆã‚‹å¤‰æ›´ã‚’å映ã—ã¦MyVarã‚‚æ›´æ–°ã•ã‚Œã¾ã™ï¼šDllCall("MyDll\MyFunction", "Int*", &MyVar).

      一般ã«ã€é–¢æ•°ãŒ "LP "ã§å§‹ã¾ã‚‹å¼•æ•°åž‹ã‚„戻り値をæŒã¤å ´åˆã€ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚最も一般的ãªä¾‹ã¯LPDWORDã§ã€ã“ã‚Œã¯DWORDã¸ã®ãƒã‚¤ãƒ³ã‚¿ã§ã™ã€‚DWORDã¯ç¬¦å·ãªã—32ビット整数ãªã®ã§ã€LPDWORDを表ã™ã«ã¯ "UInt*"ã¾ãŸã¯ "UIntP "を使用ã—ã¾ã™ã€‚LPTSTRã®ã‚ˆã†ãªæ–‡å­—列型ã€LPRECTã®ã‚ˆã†ãªæ§‹é€ ä½“ã¸ã®ãƒã‚¤ãƒ³ã‚¿ã€é…列ã«ã¯ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã‚’使ã†ã¹ãã§ã¯ã‚ã‚Šã¾ã›ã‚“。ã“れらã«ã¯ã€æ–‡å­—列ã€ã‚¢ãƒ‰ãƒ¬ã‚¹ã€Bufferã®ã©ã‚Œã‚’渡ã™ã‹ã«ã‚ˆã£ã¦ã€"Str"ã¾ãŸã¯"Ptr"を使ã†ã¹ãã§ã™ã€‚

      Note: "Char*" is not the same as "Str" because "Char*" passes the address of an 8-bit number, whereas "Str" passes the address of a series of characters, which may be either 16-bit (Unicode) or 8-bit (for "AStr"), depending on the version of AutoHotkey. åŒæ§˜ã«ã€"UInt*"ã¯32ビット数値ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’渡ã™ã®ã§ã€é–¢æ•°ãŒå€¤ã®é…列や32ビットより大ããªæ§‹é€ ä½“を期待ã™ã‚‹å ´åˆã¯ä½¿ç”¨ã—ãªã„ã§ãã ã•ã„。

      AutoHotkeyã®å¤‰æ•°ã«ã¯å›ºå®šåž‹ãŒãªã„ãŸã‚ã€é–¢æ•°ã«æ¸¡ã•ã‚Œã‚‹ã‚¢ãƒ‰ãƒ¬ã‚¹ã¯ã€å‘¼ã³å‡ºã—å…ƒã®å¤‰æ•°ã§ã¯ãªãã€ä¸€æ™‚メモリを指ã—ã¦ã„ã¾ã™ã€‚

      @@ -145,14 +145,14 @@

      引数ã®ç¨®é¡žã¨æˆ»ã‚Šå€¤

      エラー

      DllCallã¯ã€ä»¥ä¸‹ã®ã„ãšã‚Œã‹ã®æ¡ä»¶ä¸‹ã§Errorを投ã’る:

        -
      • OSError: The HRESULT return type was used and the function returned an error value (as defined by the FAILED macro). Exception.Extraã«ã¯ã€16進数ã®ã‚¨ãƒ©ãƒ¼ã‚³ãƒ¼ãƒ‰ãŒå«ã¾ã‚Œã¾ã™ã€‚
      • -
      • TypeError: The [DllFile\]Function parameter is a floating point number. 文字列ã¾ãŸã¯æ­£ã®æ•´æ•°ãŒå¿…è¦ã§ã™ã€‚
      • -
      • ValueError: The return type or one of the specified arg types is invalid.
      • -
      • TypeError: An argument was passed a value of an unexpected type. 例ãˆã°ã€æ–‡å­—列(str)引数ã«æ•°å€¤ã¨ã—ã¦è©•ä¾¡ã•ã‚Œã‚‹å¼ãŒæ¸¡ã•ã‚ŒãŸã€æ•°å€¤å¼•æ•°ã«æ•°å€¤ä»¥å¤–ã®æ–‡å­—列ãŒæ¸¡ã•ã‚ŒãŸã€Ptråž‹ã§ãªã„引数ã«ã‚ªãƒ–ジェクトãŒæ¸¡ã•ã‚ŒãŸã€ãªã©ã§ã™ã€‚
      • -
      • Error: The specified DllFile could not be accessed or loaded. DllFileã«æ˜Žç¤ºçš„ãªãƒ‘スãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€ãã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã‚·ã‚¹ãƒ†ãƒ ã®PATHã¾ãŸã¯A_WorkingDirã«å­˜åœ¨ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®ã‚¨ãƒ©ãƒ¼ã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãƒ•ã‚¡ã‚¤ãƒ«ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹æ¨©é™ãŒãªã„å ´åˆã€ã¾ãŸã¯AutoHotkeyãŒ32ビットã§DLLãŒ64ビットã®å ´åˆã€ã¾ãŸã¯ãã®é€†ã®å ´åˆã«ã‚‚発生ã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚
      • -
      • Error: The specified function could not be found inside the DLL.
      • -
      • Error: The function was called but it aborted with a fatal exception. Exception.Extraã¯ä¾‹å¤–コードをå«ã‚€ã€‚例ãˆã°ã€0xC0000005㯠"アクセスé•å"ã‚’æ„味ã—ã¾ã™ã€‚ã“ã®ã‚ˆã†ãªå ´åˆã€ã‚¹ãƒ¬ãƒƒãƒ‰ã¯ï¼ˆtryãŒä½¿ç”¨ã•ã‚Œã¦ã„ãªã„å ´åˆï¼‰ä¸­æ­¢ã•ã‚Œã¾ã™ãŒã€ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯å¤‰æ•°ã¯ã¾ã æ›´æ–°ã•ã‚Œã¾ã™ã€‚致命的ãªä¾‹å¤–ã®ä¾‹ã¨ã—ã¦ã¯ã€NULL(0)ã®ã‚ˆã†ãªç„¡åŠ¹ãªãƒã‚¤ãƒ³ã‚¿ã‚’å†å‚ç…§ã™ã‚‹ã“ã¨ãŒæŒ™ã’られã¾ã™ã€‚Cdecl関数ã¯ã€æ¬¡ã®æ®µè½ã§èª¬æ˜Žã™ã‚‹ã‚ˆã†ãªã‚¨ãƒ©ãƒ¼ã‚’発生ã•ã›ã‚‹ã“ã¨ã¯ãªã„ã®ã§ã€å¼•æ•°ãŒå°‘ãªã™ãŽã‚‹å ´åˆã«ä¾‹å¤–を発生ã•ã›ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚
      • -
      • Error: The function was called but was passed too many or too few arguments. Exception.Extraã«ã¯ã€å¼•æ•°ãƒªã‚¹ãƒˆãŒä¸æ­£ç¢ºã§ã‚ã£ãŸãƒã‚¤ãƒˆæ•°ãŒæ ¼ç´ã•ã‚Œã¾ã™ã€‚æ­£ã®å€¤ã®å ´åˆã€å¼•æ•°ãŒå¤šã™ãŽã‚‹ï¼ˆã¾ãŸã¯å¼•æ•°ãŒå¤§ãã™ãŽã‚‹ï¼‰ã‹ã€CDeclãŒå¿…è¦ãªå‘¼ã³å‡ºã—ã§ã™ã€‚è² ã®å€¤ã§ã‚ã‚Œã°ã€æ¸¡ã•ã‚ŒãŸå¼•æ•°ãŒå°‘ãªã™ãŽã‚‹ã€‚ã“ã®ã‚ˆã†ãªçŠ¶æ³ã¯ã€æ©Ÿèƒ½ã®ç¢ºå®Ÿãªå‹•ä½œã®ãŸã‚ã«ä¿®æ­£ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®ã‚¨ãƒ©ãƒ¼ã®å­˜åœ¨ã¯ã€ä¾‹å¤–ãŒç™ºç”Ÿã—ãŸã“ã¨ã‚’示ã™å ´åˆã‚‚ã‚ã‚Šã¾ã™ã€‚ãªãŠã€x64ã®å‘¼ã³å‡ºã—è¦ç´„ã«ã‚ˆã‚Šã€64ビットビルドã§ã¯ã“ã®ã‚¨ãƒ©ãƒ¼ã¯ç™ºç”Ÿã—ãªã„。
      • +
      • OSError:HRESULT戻り値ãŒä½¿ç”¨ã•ã‚Œã€é–¢æ•°ãŒã‚¨ãƒ©ãƒ¼å€¤ï¼ˆFAILED マクロã§å®šç¾©ï¼‰ã‚’è¿”ã—ã¾ã—ãŸã€‚Exception.Extraã«ã¯ã€16進数ã®ã‚¨ãƒ©ãƒ¼ã‚³ãƒ¼ãƒ‰ãŒå«ã¾ã‚Œã¾ã™ã€‚
      • +
      • TypeError:[DllFile\]Functionパラメータã¯ã€æµ®å‹•å°æ•°ç‚¹æ•°ã§ã™ã€‚文字列ã¾ãŸã¯æ­£ã®æ•´æ•°ãŒå¿…è¦ã§ã™ã€‚
      • +
      • ValueError:戻り値ã®åž‹ã€ã¾ãŸã¯æŒ‡å®šã•ã‚ŒãŸargã®åž‹ã®ã„ãšã‚Œã‹ãŒç„¡åŠ¹ã§ã™ã€‚
      • +
      • TypeError:引数ã«äºˆæœŸã›ã¬åž‹ã®å€¤ãŒæ¸¡ã•ã‚ŒãŸã€‚例ãˆã°ã€æ–‡å­—列(str)引数ã«æ•°å€¤ã¨ã—ã¦è©•ä¾¡ã•ã‚Œã‚‹å¼ãŒæ¸¡ã•ã‚ŒãŸã€æ•°å€¤å¼•æ•°ã«æ•°å€¤ä»¥å¤–ã®æ–‡å­—列ãŒæ¸¡ã•ã‚ŒãŸã€Ptråž‹ã§ãªã„引数ã«ã‚ªãƒ–ジェクトãŒæ¸¡ã•ã‚ŒãŸã€ãªã©ã§ã™ã€‚
      • +
      • Error:指定ã•ã‚ŒãŸDllFileã¯ã€ã‚¢ã‚¯ã‚»ã‚¹ã¾ãŸã¯ãƒ­ãƒ¼ãƒ‰ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚DllFileã«æ˜Žç¤ºçš„ãªãƒ‘スãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€ãã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã‚·ã‚¹ãƒ†ãƒ ã®PATHã¾ãŸã¯A_WorkingDirã«å­˜åœ¨ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®ã‚¨ãƒ©ãƒ¼ã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãƒ•ã‚¡ã‚¤ãƒ«ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹æ¨©é™ãŒãªã„å ´åˆã€ã¾ãŸã¯AutoHotkeyãŒ32ビットã§DLLãŒ64ビットã®å ´åˆã€ã¾ãŸã¯ãã®é€†ã®å ´åˆã«ã‚‚発生ã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚
      • +
      • Error:指定ã•ã‚ŒãŸé–¢æ•°ã¯DLL内ã«è¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚
      • +
      • Error:関数ã¯å‘¼ã³å‡ºã•ã‚Œã¾ã—ãŸãŒã€è‡´å‘½çš„ãªä¾‹å¤–ãŒç™ºç”Ÿã—ã¦ç•°å¸¸çµ‚了ã—ã¾ã—ãŸã€‚Exception.Extraã¯ä¾‹å¤–コードをå«ã‚€ã€‚例ãˆã°ã€0xC0000005㯠"アクセスé•å"ã‚’æ„味ã—ã¾ã™ã€‚ã“ã®ã‚ˆã†ãªå ´åˆã€ã‚¹ãƒ¬ãƒƒãƒ‰ã¯ï¼ˆtryãŒä½¿ç”¨ã•ã‚Œã¦ã„ãªã„å ´åˆï¼‰ä¸­æ­¢ã•ã‚Œã¾ã™ãŒã€ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯å¤‰æ•°ã¯ã¾ã æ›´æ–°ã•ã‚Œã¾ã™ã€‚致命的ãªä¾‹å¤–ã®ä¾‹ã¨ã—ã¦ã¯ã€NULL(0)ã®ã‚ˆã†ãªç„¡åŠ¹ãªãƒã‚¤ãƒ³ã‚¿ã‚’å†å‚ç…§ã™ã‚‹ã“ã¨ãŒæŒ™ã’られã¾ã™ã€‚Cdecl関数ã¯ã€æ¬¡ã®æ®µè½ã§èª¬æ˜Žã™ã‚‹ã‚ˆã†ãªã‚¨ãƒ©ãƒ¼ã‚’発生ã•ã›ã‚‹ã“ã¨ã¯ãªã„ã®ã§ã€å¼•æ•°ãŒå°‘ãªã™ãŽã‚‹å ´åˆã«ä¾‹å¤–を発生ã•ã›ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚
      • +
      • Error:関数を呼ã³å‡ºã—ãŸãŒã€æ¸¡ã•ã‚ŒãŸå¼•æ•°ãŒå¤šã™ãŽãŸã‚Šå°‘ãªã™ãŽãŸã‚Šã—ãŸã€‚Exception.Extraã«ã¯ã€å¼•æ•°ãƒªã‚¹ãƒˆãŒä¸æ­£ç¢ºã§ã‚ã£ãŸãƒã‚¤ãƒˆæ•°ãŒæ ¼ç´ã•ã‚Œã¾ã™ã€‚æ­£ã®å€¤ã®å ´åˆã€å¼•æ•°ãŒå¤šã™ãŽã‚‹ï¼ˆã¾ãŸã¯å¼•æ•°ãŒå¤§ãã™ãŽã‚‹ï¼‰ã‹ã€CDeclãŒå¿…è¦ãªå‘¼ã³å‡ºã—ã§ã™ã€‚è² ã®å€¤ã§ã‚ã‚Œã°ã€æ¸¡ã•ã‚ŒãŸå¼•æ•°ãŒå°‘ãªã™ãŽã‚‹ã€‚ã“ã®ã‚ˆã†ãªçŠ¶æ³ã¯ã€æ©Ÿèƒ½ã®ç¢ºå®Ÿãªå‹•ä½œã®ãŸã‚ã«ä¿®æ­£ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®ã‚¨ãƒ©ãƒ¼ã®å­˜åœ¨ã¯ã€ä¾‹å¤–ãŒç™ºç”Ÿã—ãŸã“ã¨ã‚’示ã™å ´åˆã‚‚ã‚ã‚Šã¾ã™ã€‚ãªãŠã€x64ã®å‘¼ã³å‡ºã—è¦ç´„ã«ã‚ˆã‚Šã€64ビットビルドã§ã¯ã“ã®ã‚¨ãƒ©ãƒ¼ã¯ç™ºç”Ÿã—ãªã„。

      ãƒã‚¤ãƒ†ã‚£ãƒ–ã®ä¾‹å¤–ã¨A_LastError

      @@ -161,17 +161,17 @@

      ãƒã‚¤ãƒ†ã‚£ãƒ–ã®ä¾‹å¤–ã¨A_LastError

      パフォーマンス

      DLLã‚’ç¹°ã‚Šè¿”ã—呼ã³å‡ºã™å ´åˆã€æ˜Žç¤ºçš„ã«ãƒ­ãƒ¼ãƒ‰ã™ã‚‹ã“ã¨ã§ãƒ‘フォーマンスを飛èºçš„ã«å‘上ã•ã›ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼ˆUser32ãªã©ã®æ¨™æº–çš„ãªDLLã¯å¸¸ã«å¸¸é§ã—ã¦ã„ã‚‹ãŸã‚å¿…è¦ã‚ã‚Šã¾ã›ã‚“)。ã“ã®æ–¹æ³•ã«ã‚ˆã£ã¦ã€DllCallãŒå†…部ã§LoadLibraryã¨FreeLibraryを毎回呼ã³å‡ºã™å¿…è¦ã‚’回é¿ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚事例:

      -
      hModule := DllCall("LoadLibrary", "Str", "MyFunctions.dll", "Ptr")  ; Avoids the need for DllCall in the loop to load the library.
      +
      hModule := DllCall("LoadLibrary", "Str", "MyFunctions.dll", "Ptr")  ; ループ内ã§DllCallã—ã¦ãƒ©ã‚¤ãƒ–ラリを読ã¿è¾¼ã‚€å¿…è¦ã‚’回é¿ã€‚
       Loop Files, "C:\My Documents\*.*", "R"
           result := DllCall("MyFunctions\BackupFile", "Str", A_LoopFilePath)
      -DllCall("FreeLibrary", "Ptr", hModule)  ; To conserve memory, the DLL may be unloaded after using it.
      +DllCall("FreeLibrary", "Ptr", hModule) ; メモリ節約ã®ãŸã‚ã€ä½¿ç”¨å¾Œã¯DLLをアンロードã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚

      ; 関数ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’ã‚らã‹ã˜ã‚調ã¹ã¦ãŠãã“ã¨ã§ã€ã•ã‚‰ã«é«˜é€Ÿãªãƒ‘フォーマンスを実ç¾ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚事例:

      -
      ; In the following example, if the DLL isn't yet loaded, use LoadLibrary in place of GetModuleHandle.
      +
      ; 次ã®ä¾‹ã§ã¯ã€DLLãŒã¾ã ãƒ­ãƒ¼ãƒ‰ã•ã‚Œã¦ã„ãªã„å ´åˆã€GetModuleHandleã®ä»£ã‚ã‚Šã«LoadLibraryを使用ã—ã¦ãã ã•ã„。
       MulDivProc := DllCall("GetProcAddress", "Ptr", DllCall("GetModuleHandle", "Str", "kernel32", "Ptr"), "AStr", "MulDiv", "Ptr")
       Loop 500
           DllCall(MulDivProc, "Int", 3, "Int", 4, "Int", 3)

      DllCallã®ç¬¬1パラメータãŒ"MulDiv"ãªã©ã®ãƒªãƒ†ãƒ©ãƒ«æ–‡å­—列ã§ã€ãã®é–¢æ•°ã‚’å«ã‚€DLLãŒã‚¹ã‚¯ãƒªãƒ—トã®é–‹å§‹å‰ã«é€šå¸¸ãƒ­ãƒ¼ãƒ‰ã•ã‚Œã¦ã„ã‚‹ã‹ã€#DllLoadã§æ­£å¸¸ã«ãƒ­ãƒ¼ãƒ‰ã•ã‚Œã¦ã„ã‚Œã°ã€æ–‡å­—列ã¯è‡ªå‹•çš„ã«é–¢æ•°ã‚¢ãƒ‰ãƒ¬ã‚¹ã«è§£æ±ºã•ã‚Œã¾ã™ã€‚ã“ã®ãƒ“ルトイン最é©åŒ–ã¯ã€ä¸Šã«ç¤ºã—ãŸä¾‹ã‚ˆã‚Šã‚‚効果的ã§ã™ã€‚

      -

      最後ã«ã€æ–‡å­—列ã®é•·ã•ã‚’変ãˆãªã„関数ã«æ–‡å­—列変数を渡ã™å ´åˆã€å¤‰æ•°ã‚’"str"ã¨ã—ã¦ã§ã¯ãªãã€ã‚¢ãƒ‰ãƒ¬ã‚¹ã§æ¸¡ã™ï¼ˆä¾‹ï¼šStrPtr(MyVar))ã“ã¨ã§ãƒ‘フォーマンスãŒå‘上ã—ã¾ã™ï¼ˆç‰¹ã«æ–‡å­—列ãŒéžå¸¸ã«é•·ã„å ´åˆï¼‰ã€‚The following example converts a string to uppercase: DllCall("CharUpper", "Ptr", StrPtr(MyVar), "Ptr").

      +

      最後ã«ã€æ–‡å­—列ã®é•·ã•ã‚’変ãˆãªã„関数ã«æ–‡å­—列変数を渡ã™å ´åˆã€å¤‰æ•°ã‚’"str"ã¨ã—ã¦ã§ã¯ãªãã€ã‚¢ãƒ‰ãƒ¬ã‚¹ã§æ¸¡ã™ï¼ˆä¾‹ï¼šStrPtr(MyVar))ã“ã¨ã§ãƒ‘フォーマンスãŒå‘上ã—ã¾ã™ï¼ˆç‰¹ã«æ–‡å­—列ãŒéžå¸¸ã«é•·ã„å ´åˆï¼‰ã€‚次ã®ä¾‹ã¯ã€æ–‡å­—列を大文字ã«å¤‰æ›ã™ã‚‹ã‚‚ã®ã§ã™ï¼šDllCall("CharUpper", "Ptr", StrPtr(MyVar), "Ptr").

      構造体・é…列

      構造体ã¨ã¯ã€ãƒ¡ãƒ¢ãƒªä¸Šã«éš£æŽ¥ã—ã¦æ ¼ç´ã•ã‚ŒãŸãƒ¡ãƒ³ãƒãƒ¼ï¼ˆãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ï¼‰ã®é›†åˆä½“ã§ã™ã€‚ã»ã¨ã‚“ã©ã®ãƒ¡ãƒ³ãƒãƒ¼ãŒæ•´æ•°ã«ãªã‚‹å‚¾å‘ãŒã‚ã‚Šã¾ã™ã€‚

      @@ -183,7 +183,7 @@

      構造体・é…列

      実際ã®ä½¿ç”¨æ–¹æ³•ã«ã¤ã„ã¦ã¯ã€ã€Œæ§‹é€ ä¾‹ã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„。

      既知ã®åˆ¶é™äº‹é …

      -

      変数ã®æ–‡å­—列アドレス(StrPtr(MyVar)ãªã©ï¼‰ãŒé–¢æ•°ã«æ¸¡ã•ã‚Œã€ãã®é–¢æ•°ãŒå¤‰æ•°ã®å†…容ã®é•·ã•ã‚’変更ã—ãŸå ´åˆã€ãã®å¤‰æ•°ã®ãã®å¾Œã®ä½¿ç”¨ãŒæ­£ã—ã動作ã—ãªã„ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚To fix this, do one of the following: 1) Pass MyVar as a "Str" argument rather than as a Ptr/address; 2) Call VarSetStrCapacity(&MyVar, -1) to update the variable's internally-stored length after calling DllCall.

      +

      変数ã®æ–‡å­—列アドレス(StrPtr(MyVar)ãªã©ï¼‰ãŒé–¢æ•°ã«æ¸¡ã•ã‚Œã€ãã®é–¢æ•°ãŒå¤‰æ•°ã®å†…容ã®é•·ã•ã‚’変更ã—ãŸå ´åˆã€ãã®å¤‰æ•°ã®ãã®å¾Œã®ä½¿ç”¨ãŒæ­£ã—ã動作ã—ãªã„ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®å•é¡Œã‚’解決ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã‚’è¡Œã£ã¦ãã ã•ã„:1) Pass MyVar as a "Str" argument rather than as a Ptr/address; 2) Call VarSetStrCapacity(&MyVar, -1) to update the variable's internally-stored length after calling DllCall.

      関数ã«ã‚ˆã£ã¦å¤‰æ•°ã«æ ¼ç´ã•ã‚ŒãŸ2進数ã®ã‚¼ãƒ­ã¯ã€ã‚¿ãƒ¼ãƒŸãƒãƒ¼ã‚¿ãƒ¼ã¨ã—ã¦æ©Ÿèƒ½ã—ã€ã»ã¨ã‚“ã©ã®çµ„ã¿è¾¼ã¿é–¢æ•°ã«ã‚ˆã£ã¦ã‚¼ãƒ­ã®å³å´ã®ã™ã¹ã¦ã®ãƒ‡ãƒ¼ã‚¿ãŒã‚¢ã‚¯ã‚»ã‚¹ã¾ãŸã¯å¤‰æ›´ã•ã‚Œã‚‹ã®ã‚’防ãã“ã¨ãŒã§ãã¾ã™ã€‚ã—ã‹ã—ã€ã“ã®ã‚ˆã†ãªãƒ‡ãƒ¼ã‚¿ã¯ã€StrPtrã§æ–‡å­—列ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’å–å¾—ã—ã€NumPutã€NumGetã€StrGetã€StrPutã€DllCall自身ãªã©ä»–ã®é–¢æ•°ã«æ¸¡ã™ã“ã¨ã§æ“作ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

      渡ã•ã‚ŒãŸæ–‡å­—列ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’è¿”ã™é–¢æ•°ãŒã€æœŸå¾…ã¨ã¯ç•°ãªã‚‹ãƒ¡ãƒ¢ãƒªãƒ¼ã‚¢ãƒ‰ãƒ¬ã‚¹ã«åŒä¸€ã®æ–‡å­—列を返ã™ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚例ãˆã°ã€ãƒ—ログラミング言語ã§CharLower(CharUpper(MyVar))を呼ã³å‡ºã™ã¨ã€MyVarã®å†…容ãŒå°æ–‡å­—ã«å¤‰æ›ã•ã‚Œã¾ã™ã€‚ã—ã‹ã—ã€DllCallã§åŒã˜ã“ã¨ã‚’ã™ã‚‹ã¨ã€CharLowerãŒMyVarã¨åŒã˜å†…容ã®åˆ¥ã®/一時的ãªæ–‡å­—列をæ“作ã—ãŸãŸã‚ã€æ¬¡ã®å‘¼ã³å‡ºã—ã®å¾Œã€MyVarã¯å¤§æ–‡å­—ã«ãªã‚Šã¾ã™ï¼š

      MyVar := "ABC"
      @@ -217,17 +217,17 @@ 

      例

      API関数 "IsWindowVisible"を呼ã³å‡ºã—ã€ãƒ¡ãƒ¢å¸³ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒè¡¨ç¤ºã•ã‚Œã¦ã„ã‚‹ã‹ã©ã†ã‹ã‚’調ã¹ã‚‹ã€‚

      DetectHiddenWindows True
      -if not DllCall("IsWindowVisible", "Ptr", WinExist("Untitled - Notepad"))  ; WinExist returns an HWND.
      +if not DllCall("IsWindowVisible", "Ptr", WinExist("Untitled - Notepad"))  ; WinExistã¯HWNDã‚’è¿”ã™ã€‚
           MsgBox "The window is not visible."

      APIã®wsprintf()を呼ã³å‡ºã—ã€æ•°å­—432ã«å…ˆé ­ã®ã‚¼ãƒ­ã‚’パッドã—ã¦10文字幅(0000000432)ã«ã—ã¾ã™ã€‚

      -
      ZeroPaddedNumber := Buffer(20)  ; Ensure the buffer is large enough to accept the new string.
      -DllCall("wsprintf", "Ptr", ZeroPaddedNumber, "Str", "%010d", "Int", 432, "Cdecl")  ; Requires the Cdecl calling convention.
      +
      ZeroPaddedNumber := Buffer(20)  ; ãƒãƒƒãƒ•ã‚¡ãŒæ–°ã—ã„文字列をå—ã‘入れるã®ã«å分ãªå¤§ãã•ã§ã‚ã‚‹ã“ã¨ã‚’確èªã—ã¾ã™ã€‚
      +DllCall("wsprintf", "Ptr", ZeroPaddedNumber, "Str", "%010d", "Int", 432, "Cdecl")  ; Cdecl ã®å‘¼ã³å‡ºã—è¦ç´„ã‚’å¿…è¦ã¨ã—ã¾ã™ã€‚
       MsgBox StrGet(ZeroPaddedNumber)
       
      -; Alternatively, use the Format function in conjunction with the zero flag:
      +; ã¾ãŸã¯ã€Format関数ã¨ã‚¼ãƒ­ãƒ•ãƒ©ã‚°ã‚’組ã¿åˆã‚ã›ã¦ä½¿ç”¨ã—ã¾ã™ï¼š
       MsgBox Format("{:010}", 432)
       
      @@ -252,7 +252,7 @@

      例

      static SPI_SETMOUSESPEED := 0x71 static OrigMouseSpeed := 0 - switch ThisHotkey +switch ThisHotkey { case "F1": ; ç¾åœ¨ã®é€Ÿåº¦ã‚’å–å¾—ã—ã€å¾Œã§å¾©å…ƒã§ãるよã†ã«ã™ã‚‹ï¼š @@ -261,8 +261,8 @@

      例

      DllCall("SystemParametersInfo", "UInt", SPI_SETMOUSESPEED, "UInt", 0, "Ptr", 3, "UInt", 0) KeyWait "F1" ; キーボードã®ã‚ªãƒ¼ãƒˆãƒªãƒ”ートãŒDllCallã‚’ç¹°ã‚Šè¿”ã—実行ã™ã‚‹ã®ã‚’防ãã“ã¨ãŒã§ãã¾ã™ã€‚ - case "F1 up": - DllCall("SystemParametersInfo", "UInt", SPI_SETMOUSESPEED, "UInt", 0, "Ptr", OrigMouseSpeed, "UInt", 0) ; å…ƒã®é€Ÿåº¦ã«æˆ»ã™ã€‚ +case "F1 up": +DllCall("SystemParametersInfo", "UInt", SPI_SETMOUSESPEED, "UInt", 0, "Ptr", OrigMouseSpeed, "UInt", 0) ; å…ƒã®é€Ÿåº¦ã«æˆ»ã™ã€‚ } }
      @@ -278,7 +278,7 @@

      例

      if !FocusedHwnd ; フォーカスã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒãªã„。 return ; 縦ã¾ãŸã¯æ¨ªã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ãƒãƒ¼ã®ä½ç½®ã‚’ツールãƒãƒƒãƒ—ã«è¡¨ç¤ºã™ã‚‹ï¼š - ToolTip DllCall("GetScrollPos", "Ptr", FocusedHwnd, "Int", 1) ; Last parameter is 1 for SB_VERT, 0 for SB_HORZ. + ToolTip DllCall("GetScrollPos", "Ptr", FocusedHwnd, "Int", 1) ; SB_VERTã®å ´åˆã¯1ã€SB_HORZã®å ´åˆã¯0ã«ãªã‚Šã¾ã™ã€‚ }
      @@ -288,23 +288,23 @@

      例

      FileName := FileSelect("S16",, "Create a new file:") if FileName = "" return -GENERIC_WRITE := 0x40000000 ; Open the file for writing rather than reading. -CREATE_ALWAYS := 2 ; Create new file (overwriting any existing file). +GENERIC_WRITE := 0x40000000 ; 読ã¿å‡ºã—ã§ã¯ãªãã€æ›¸ãè¾¼ã¿ã®ãŸã‚ã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é–‹ã。 +CREATE_ALWAYS := 2 ; æ–°è¦ãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã—ã¾ã™ï¼ˆæ—¢å­˜ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’上書ãã—ã¾ã™ï¼‰ã€‚ hFile := DllCall("CreateFile", "Str", FileName, "UInt", GENERIC_WRITE, "UInt", 0, "Ptr", 0, "UInt", CREATE_ALWAYS, "UInt", 0, "Ptr", 0, "Ptr") if !hFile { MsgBox "Can't open '" FileName "' for writing." return } -TestString := "This is a test string.`r`n" ; When writing a file this way, use `r`n rather than `n to start a new line. +TestString := "This is a test string.`r`n" ; ã“ã®æ–¹æ³•ã§ãƒ•ã‚¡ã‚¤ãƒ«ã‚’書ãå ´åˆã€æ”¹è¡Œã«ã¯ `n ã§ã¯ãªã `r`n を使用ã—ã¾ã™ã€‚ StrSize := StrLen(TestString) * 2 DllCall("WriteFile", "Ptr", hFile, "Str", TestString, "UInt", StrSize, "UIntP", &BytesActuallyWritten := 0, "Ptr", 0) -DllCall("CloseHandle", "Ptr", hFile) ; Close the file. +DllCall("CloseHandle", "Ptr", hFile) ; ファイルを閉ã˜ã‚‹ã€‚ -; Now that the file was written, read its contents back into memory. -GENERIC_READ := 0x80000000 ; Open the file for reading rather than writing. -OPEN_EXISTING := 3 ; This mode indicates that the file to be opened must already exist. -FILE_SHARE_READ := 0x1 ; This and the next are whether other processes can open the file while we have it open. +; ファイルãŒæ›¸ãè¾¼ã¾ã‚ŒãŸã®ã§ã€ãã®å†…容をメモリã«èª­ã¿è¿”ã—ã¦ãã ã•ã„。 +GENERIC_READ := 0x80000000 ; 書ãè¾¼ã¿ã§ã¯ãªãã€èª­ã¿è¾¼ã¿ã®ãŸã‚ã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é–‹ã。 +OPEN_EXISTING := 3 ; ã“ã®ãƒ¢ãƒ¼ãƒ‰ã¯ã€ã‚ªãƒ¼ãƒ—ンã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ—¢ã«å­˜åœ¨ã™ã‚‹ã“ã¨ã‚’示ã—ã¾ã™ã€‚ +FILE_SHARE_READ := 0x1 ; ã“ã¡ã‚‰ãŒãƒ•ã‚¡ã‚¤ãƒ«ã‚’é–‹ã„ã¦ã„ã‚‹é–“ã«ã€ä»–ã®ãƒ—ロセスãŒãƒ•ã‚¡ã‚¤ãƒ«ã‚’é–‹ãã“ã¨ãŒã§ãã‚‹ã‹ã©ã†ã‹ã§ã™ã€‚ FILE_SHARE_WRITE := 0x2 hFile := DllCall("CreateFile", "Str", FileName, "UInt", GENERIC_READ, "UInt", FILE_SHARE_READ|FILE_SHARE_WRITE, "Ptr", 0, "UInt", OPEN_EXISTING, "UInt", 0, "Ptr", 0) if !hFile @@ -312,18 +312,18 @@

      例

      MsgBox "Can't open '" FileName "' for reading." return } -; Allocate a block of memory for the string to read: +; 文字列を読ã¿è¾¼ã‚€ãŸã‚ã®ãƒ¡ãƒ¢ãƒªãƒ–ロックを確ä¿ã™ã‚‹ï¼š Buf := Buffer(StrSize) DllCall("ReadFile", "Ptr", hFile, "Ptr", Buf, "UInt", Buf.Size, "UIntP", &BytesActuallyRead := 0, "Ptr", 0) -DllCall("CloseHandle", "Ptr", hFile) ; Close the file. -MsgBox "The following string was read from the file: " StrGet(Buf)
      +DllCall("CloseHandle", "Ptr", hFile) ; ファイルを閉ã˜ã‚‹ã€‚ +MsgBox "The following string was read from the file:" StrGet(Buf)

    Win+Cを押ã—ãŸã¨ãã«ã€ãƒžã‚¦ã‚¹ã‚«ãƒ¼ã‚½ãƒ«ã‚’éš ã™ã€‚後ã§ã‚«ãƒ¼ã‚½ãƒ«ã‚’表示ã•ã›ã‚‹ã«ã¯ã€ã“ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’ã‚‚ã†ä¸€åº¦æŠ¼ã—ã¦ãã ã•ã„。

    -
    OnExit (*) => SystemCursor("Show")  ; Ensure the cursor is made visible when the script exits.
    +
    OnExit (*) => SystemCursor("Show")  ; スクリプト終了時ã«ã‚«ãƒ¼ã‚½ãƒ«ãŒè¡¨ç¤ºã•ã‚Œã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚
     
    -#c::SystemCursor("Toggle")  ; Win+C hotkey to toggle the cursor on and off.
    +#c::SystemCursor("Toggle")  ; Win+Cホットキーã§ã‚«ãƒ¼ã‚½ãƒ«ã®ON/OFFを切り替ãˆã‚‰ã‚Œã¾ã™ã€‚
     
     SystemCursor(cmd)  ; cmd = "Show|Hide|Toggle|Reload"
     {
    @@ -341,20 +341,20 @@ 

    例

    , "Int", 32, "Int", 32 , "Ptr", Buffer(32*4, 0xFF) , "Ptr", Buffer(32*4, 0)) - c[id] := {default: h_default, blank: h_blank} + c[id] := {default:h_default, blank:h_blank} } } switch cmd { - case "Show": visible := true - case "Hide": visible := false - case "Toggle": visible := !visible - default: return + case "Show":visible := true + case "Hide":visible := false + case "Toggle":visible := !visible + default:return } for id, handles in c { h_cursor := DllCall("CopyImage" - , "Ptr", visible ?handles.default : handles.blank + , "Ptr", visible ? handles.default : handles.blank , "UInt", 2, "Int", 0, "Int", 0, "UInt", 0) DllCall("SetSystemCursor", "Ptr", h_cursor, "UInt", id) } @@ -364,9 +364,9 @@

    例

    構造例ã§ã™ã€‚RECT構造体ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’GetWindowRect()ã«æ¸¡ã™ã¨ã€æ§‹é€ ä½“ã®ãƒ¡ãƒ³ãƒãƒ¼ã«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å·¦ã€ä¸Šã€å³ã€ä¸‹è¾ºã®ä½ç½®ï¼ˆç”»é¢ã«å¯¾ã™ã‚‹ç›¸å¯¾ä½ç½®ï¼‰ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚

    Run "Notepad"
    -WinWait "Untitled - Notepad"  ; This also sets the "last found window" for use with WinExist below.
    -Rect := Buffer(16)  ; A RECT is a struct consisting of four 32-bit integers (i.e. 4*4=16).
    -DllCall("GetWindowRect", "Ptr", WinExist(), "Ptr", Rect)  ; WinExist returns an HWND.
    +WinWait "ç„¡é¡Œ-メモ帳"  ; ã“ã‚Œã¯ã€ä»¥ä¸‹ã®WinExistã§ä½¿ç”¨ã™ã‚‹ãŸã‚ã®"last found window"も設定ã—ã¾ã™ã€‚
    +Rect := Buffer(16)  ; RECTã¯ï¼Œ4ã¤ã®32ビット整数(4*4=16)ã‹ã‚‰ãªã‚‹æ§‹é€ ä½“ã§ã‚る.
    +DllCall("GetWindowRect", "Ptr", WinExist(), "Ptr", Rect)  ; WinExistã¯HWNDã‚’è¿”ã™ã€‚
     L := NumGet(Rect, 0, "Int"), T := NumGet(Rect, 4, "Int")
     R := NumGet(Rect, 8, "Int"), B := NumGet(Rect, 12, "Int")
     MsgBox Format("Left {1} Top {2} Right {3} Bottom {4}", L, T, R, B)
    @@ -374,36 +374,36 @@

    例

    構造例ã§ã™ã€‚FillRect()ã«ã€ä¸€æ™‚çš„ã«èµ¤ãå¡—ã‚‹ç”»é¢ã®ä¸€éƒ¨ã‚’示ã™RECT構造体ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’渡ã™ã€‚

    -
    Rect := Buffer(16)  ; Set capacity to hold four 4-byte integers.
    -NumPut( "Int", 0                  ; left
    +
    Rect := Buffer(16)  ; 4ãƒã‚¤ãƒˆã®æ•´æ•°ã‚’4ã¤ä¿æŒã™ã‚‹å®¹é‡ã‚’設定ã—ã¾ã™ã€‚
    +NumPut( "Int", 0                  ; å·¦
           , "Int", 0                  ; top
           , "Int", A_ScreenWidth//2   ; right
           , "Int", A_ScreenHeight//2  ; bottom
           , Rect)
    -hDC := DllCall("GetDC", "Ptr", 0, "Ptr")  ; Pass zero to get the desktop's device context.
    -hBrush := DllCall("CreateSolidBrush", "UInt", 0x0000FF, "Ptr")  ; Create a red brush (0x0000FF is in BGR format).
    -DllCall("FillRect", "Ptr", hDC, "Ptr", Rect, "Ptr", hBrush)  ; Fill the specified rectangle using the brush above.
    -DllCall("ReleaseDC", "Ptr", 0, "Ptr", hDC)  ; Clean-up.
    -DllCall("DeleteObject", "Ptr", hBrush)  ; Clean-up.
    +hDC := DllCall("GetDC", "Ptr", 0, "Ptr") ;デスクトップã®ãƒ‡ãƒã‚¤ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã‚’å–å¾—ã™ã‚‹å ´åˆã¯ã€0を渡ã™ã€‚ +hBrush := DllCall("CreateSolidBrush", "UInt", 0x0000FF, "Ptr") ; 赤ã®ãƒ–ラシ(0x0000FFã¯BGRå½¢å¼ï¼‰ã‚’作æˆã—ã¾ã™ã€‚ +DllCall("FillRect", "Ptr", hDC, "Ptr", Rect, "Ptr", hBrush) ; 指定ã•ã‚ŒãŸçŸ©å½¢ã‚’上記ã®ãƒ–ラシã§å¡—ã‚Šã¤ã¶ã™ã€‚ +DllCall("ReleaseDC", "Ptr", 0, "Ptr", hDC) ; クリーンアップ。 +DllCall("DeleteObject", "Ptr", hBrush) ; クリーンアップ。

    構造例ã§ã™ã€‚システムã®æ™‚計を指定ã—ãŸæ—¥ä»˜ã¨æ™‚刻ã«å¤‰æ›´ã—ã¾ã™ã€‚未æ¥ã®æ—¥ä»˜ã«å¤‰æ›´ã™ã‚‹ã¨ã€ã‚¹ã‚±ã‚¸ãƒ¥ãƒ¼ãƒ«ã•ã‚ŒãŸã‚¿ã‚¹ã‚¯ãŒæ—©æœŸã«å®Ÿè¡Œã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æ³¨æ„ãŒå¿…è¦ã§ã™ï¼

    -
    SetSystemTime("20051008142211")  ; Pass it a timestamp (local, not UTC).
    +
    SetSystemTime("20051008142211")  ; タイムスタンプを渡ã™ï¼ˆUTCã§ã¯ãªãローカル)。
     
     SetSystemTime(YYYYMMDDHHMISS)
    -; Sets the system clock to the specified date and time.
    -; Caller must ensure that the incoming parameter is a valid date-time stamp
    -; (local time, not UTC). Returns non-zero upon success and zero otherwise.
    +; システムクロックを指定ã—ãŸæ—¥ä»˜ã¨æ™‚刻ã«è¨­å®šã—ã¾ã™ã€‚
    +; 呼ã³å‡ºã—å´ã¯ã€å…¥åŠ›ã•ã‚Œã‚‹ãƒ‘ラメータãŒæœ‰åŠ¹ãªæ—¥ä»˜-時間スタンプã§ã‚ã‚‹ã“ã¨ã‚’確èªã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
    +; (UTCã§ã¯ãªãç¾åœ°æ™‚é–“)。æˆåŠŸã™ã‚Œã°0以外をã€ãã†ã§ãªã‘ã‚Œã°0ã‚’è¿”ã™ã€‚
     {
         ; SetSystemTime()ã§ä½¿ç”¨ã™ã‚‹ãŸã‚ã€ãƒ‘ラメータをローカル時間ã‹ã‚‰UTCã«å¤‰æ›ã—ã¾ã™ã€‚
         UTC_Delta := DateDiff(A_Now, A_NowUTC, "Seconds")  ; å››æ¨äº”å…¥ã®é–¢ä¿‚ã§ã€ã€Œç§’ã€ã®æ–¹ãŒæ­£ç¢ºã§ã™ã€‚
         UTC_Delta := Round(-UTC_Delta/60)  ; 正確を期ã™ãŸã‚ã€åˆ†å˜ä½ã«ä¸¸ã‚ã¦è¡¨ç¤ºã—ã¾ã™ã€‚
         YYYYMMDDHHMISS := DateAdd(YYYYMMDDHHMISS, UTC_Delta, "Minutes")  ; UTC ã«å¤‰æ›ã™ã‚‹ãŸã‚ã®ã‚ªãƒ•ã‚»ãƒƒãƒˆã‚’é©ç”¨ã—ã¾ã™ã€‚
     
    -    SystemTime := Buffer(16)  ; ã“ã®æ§‹é€ ä½“ã¯8個ã®UShortã§æ§‹æˆã•ã‚Œã¦ã„ã¾ã™ã€‚
    +SystemTime := Buffer(16)  ; ã“ã®æ§‹é€ ä½“ã¯8個ã®UShortã§æ§‹æˆã•ã‚Œã¦ã„ã¾ã™ã€‚
     
    -    NumPut( "UShort", SubStr(YYYYMMDDHHMISS, 1, 4)  ; YYYY (year)
    +NumPut( "UShort", SubStr(YYYYMMDDHHMISS, 1, 4)  ; YYYY (year)
               , "UShort", SubStr(YYYYMMDDHHMISS, 5, 2)  ; MM (month of year, 1-12)
               , "UShort", 0                             ; Unused (day of week)
               , "UShort", SubStr(YYYYMMDDHHMISS, 7, 2)  ; DD (day of month)
    @@ -413,7 +413,7 @@ 

    例

    , "UShort", 0 ; Unused (millisecond) , SystemTime) - return DllCall("SetSystemTime", "Ptr", SystemTime) +return DllCall("SetSystemTime", "Ptr", SystemTime) }

    ãã®ä»–ã®æ§‹é€ ä¾‹

      @@ -426,12 +426,12 @@

      例

      アクティブãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’3秒間ã€ã‚¿ã‚¹ã‚¯ãƒãƒ¼ã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚åŒç­‰ã®ComCallã®ä¾‹ã¨æ¯”較ã—ã¦ã¿ã¦ãã ã•ã„。

      /*
         ITaskbarListã®VTableã«ã‚るメソッドã§ã™ï¼š
      -    IUnknown:
      -      0 QueryInterface  -- ComObjQueryã®ä»£ã‚ã‚Šã«ä½¿ç”¨
      +IUnknown:
      +0 QueryInterface  -- ComObjQueryã®ä»£ã‚ã‚Šã«ä½¿ç”¨
             1 AddRef          -- ObjAddRef ã®ä»£ã‚ã‚Šã«ä½¿ç”¨
             2 Release         -- ObjReleaseã®ä»£ã‚ã‚Šã«ä½¿ç”¨
           ITaskbarList:
      -      3 HrInit
      +3 HrInit
             4 AddTab
             5 DeleteTab
             6 ActivateTab
      @@ -440,7 +440,7 @@ 

      例

      IID_ITaskbarList := "{56FDF342-FD6D-11d0-958A-006097C9A090}" CLSID_TaskbarList := "{56FDF344-FD6D-11d0-958A-006097C9A090}" -; Create the TaskbarList object. +; TaskbarListオブジェクトを作æˆã—ã¾ã™ã€‚ tbl := ComObject(CLSID_TaskbarList, IID_ITaskbarList) activeHwnd := WinExist("A") @@ -450,12 +450,12 @@

      例

      Sleep 3000 DllCall(vtable(tbl.ptr,4), "ptr", tbl, "ptr", activeHwnd) ; tbl.AddTab(activeHwnd) -; Non-wrapped interface pointers must be manually freed. +; ラップã•ã‚Œã¦ã„ãªã„インターフェイスãƒã‚¤ãƒ³ã‚¿ã¯ã€æ‰‹å‹•ã§è§£æ”¾ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ ObjRelease(tbl.ptr) vtable(ptr, n) { ; NumGet(ptr, "ptr") ã¯ã€ã‚ªãƒ–ジェクトã®ä»®æƒ³é–¢æ•°ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’è¿”ã—ã¾ã™ã€‚ - ; table (vtable for short). The remainder of the expression retrieves + ; テーブル(略ã—ã¦vtable)。ã“ã®å¼ã®æ®‹ã‚Šã®éƒ¨åˆ†ã¯ ; vtableã‹ã‚‰n番目ã®é–¢æ•°ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’å–å¾—ã—ã¾ã™ã€‚ return NumGet(NumGet(ptr, "ptr"), n*A_PtrSize, "ptr") } diff --git a/target/docs/lib/Download.htm b/target/docs/lib/Download.htm index cddd7b124..58c76049f 100644 --- a/target/docs/lib/Download.htm +++ b/target/docs/lib/Download.htm @@ -21,13 +21,13 @@

      パラメータ

      URL
      -

      Type: String

      +

      型:文字列

      ダウンロードã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®URL。For example, "https://someorg.org" might retrieve the welcome page for that organization.

      Filename
      -

      Type: String

      +

      型:文字列

      ローカルã«ä½œæˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«åを指定ã—ã¾ã™ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚Any existing file will be overwritten by the new file.

      ファイルã¸ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã™ã‚‹æ©Ÿèƒ½ã§ã™ã€‚To download to a variable instead, see the example below.

      @@ -40,12 +40,12 @@

      エラー処ç†

      備考

      リモートファイルãŒå­˜åœ¨ã—ãªã„ã®ã«ã€ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ãŒæˆåŠŸã—ãŸã‚ˆã†ã«è¦‹ãˆã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚ã“ã‚Œã¯ã€å¤šãã®ã‚¦ã‚§ãƒ–サーãƒãƒ¼ãŒã€è¦‹ã¤ã‹ã‚‰ãªã„ファイルã®ä»£ã‚ã‚Šã«ã‚¨ãƒ©ãƒ¼ãƒšãƒ¼ã‚¸ã‚’é€ä¿¡ã™ã‚‹ãŸã‚ã§ã™ã€‚ã“ã®ã‚¨ãƒ©ãƒ¼ãƒšãƒ¼ã‚¸ã¯ã€Filenameã®ä»£ã‚ã‚Šã«ä¿å­˜ã•ã‚Œã‚‹ã‚‚ã®ã§ã™ã€‚

      ファイアウォールや複数ã®ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã‚¢ãƒ€ãƒ—ターãŒå­˜åœ¨ã™ã‚‹å ´åˆã€ã“ã®æ©Ÿèƒ½ã«å¤±æ•—ã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚ã¾ãŸã€ã‚¦ã‚§ãƒ–サイトã«ã‚ˆã£ã¦ã¯ã€ãã®ã‚ˆã†ãªãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã‚’ブロックã—ã¦ã„ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã€‚

      -

      Caching: By default, the URL is retrieved directly from the remote server (that is, never from Internet Explorer's cache). To permit caching, precede the URL with *0 followed by a space; for example: "*0 https://someorg.org". アスタリスクã«ç¶šãゼロã¯ã€æœ‰åŠ¹ãªdwFlags番å·ã§ç½®ãæ›ãˆã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚詳細ã¯ã€www.microsoft.com「InternetOpenUrlã€ã‚’検索ã—ã¦ãã ã•ã„。

      +

      Caching: By default, the URL is retrieved directly from the remote server (that is, never from Internet Explorer's cache). キャッシュを許å¯ã™ã‚‹å ´åˆã¯ã€URLã®å‰ã«*0ã¨ã‚¹ãƒšãƒ¼ã‚¹ã‚’入れã¦ãã ã•ã„:"*0 https://someorg.org". アスタリスクã«ç¶šãゼロã¯ã€æœ‰åŠ¹ãªdwFlags番å·ã§ç½®ãæ›ãˆã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚詳細ã¯ã€www.microsoft.com「InternetOpenUrlã€ã‚’検索ã—ã¦ãã ã•ã„。

      Proxies: If a proxy server has been configured in Microsoft Internet Explorer's settings, it will be used.

      FTPã‚„Gopherã®URLもサãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã™ã€‚事例:

      -
      Download "ftp://example.com/home/My File.zip", "C:\My Folder\My File.zip"  ; Log in anonymously.
      -Download "ftp://user:pass@example.com:21/home/My File.zip", "C:\My Folder\My File.zip"  ; Log in as a specific user.
      -Download "ftp://user:pass@example.com/My Directory", "C:\Dir Listing.html"  ; Gets a directory listing in HTML format.
      +
      Download "ftp://example.com/home/My File.zip", "C:\My Folder\My File.zip" ;匿åã§ãƒ­ã‚°ã‚¤ãƒ³ã—ã¾ã™ã€‚
      +Download "ftp://user:pass@example.com:21/home/My File.zip", "C:\My Folder\My File.zip" ;特定ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã§ãƒ­ã‚°ã‚¤ãƒ³ã—ã¦ãã ã•ã„。
      +Download "ftp://user:pass@example.com/My Directory", "C:\Dir Listing.html" ; HTMLå½¢å¼ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªä¸€è¦§ã‚’å–å¾—ã—ã¾ã™ã€‚

      FileRead, FileCopy

      @@ -66,7 +66,7 @@

      例

      whr := ComObject("WinHttp.WinHttpRequest.5.1")
       whr.Open("GET", "https://www.autohotkey.com/download/2.0/version.txt", true)
       whr.Send()
      -; Using 'true' above and the call below allows the script to remain responsive.
      +上記ã®'true'ã¨ä¸‹è¨˜ã®å‘¼ã³å‡ºã—を使用ã™ã‚‹ã“ã¨ã§ã€ã‚¹ã‚¯ãƒªãƒ—トã®å¿œç­”性を維æŒã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
       whr.WaitForResponse()
       version := whr.ResponseText
       MsgBox version
      @@ -76,17 +76,17 @@ 

      例

      Makes an asynchronous HTTP request.

      req := ComObject("Msxml2.XMLHTTP")
      -; Open a request with async enabled.
      +; asyncを有効ã«ã—ã¦ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’オープンã—ã¾ã™ã€‚
       req.open("GET", "https://www.autohotkey.com/download/2.0/version.txt", true)
      -; Set our callback function.
      +; コールãƒãƒƒã‚¯é–¢æ•°ã‚’設定ã—ã¾ã™ã€‚
       req.onreadystatechange := Ready
      -; Send the request.  Ready() will be called when it's complete.
      +; リクエストをé€ä¿¡ã—ã¾ã™ã€‚  完了ã—ãŸã‚‰Ready()ãŒå‘¼ã°ã‚Œã‚‹ã€‚
       req.send()
       /*
      -; If you're going to wait, there's no need for onreadystatechange.
      -; Setting async=true and waiting like this allows the script to remain
      -; responsive while the download is taking place, whereas async=false
      -; will make the script unresponsive.
      +; å¾…ã¤ã®ã§ã‚ã‚Œã°ã€onreadystatechangeã¯å¿…è¦ãªã„。
      +; async=trueを設定ã—ã€ã“ã®ã‚ˆã†ã«å¾…æ©Ÿã™ã‚‹ã“ã¨ã§ã€ã‚¹ã‚¯ãƒªãƒ—トãŒæ®‹ã‚Šã¾ã™ã€‚
      +; async=falseã®å ´åˆã€ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ãŒè¡Œã‚ã‚Œã¦ã„ã‚‹é–“ã€ãƒ¬ã‚¹ãƒãƒ³ã‚·ãƒ–ã«å‹•ä½œã—ã¾ã™ã€‚
      +; ã™ã‚‹ã¨ã€ã‚¹ã‚¯ãƒªãƒ—トãŒå¿œç­”ã—ãªããªã‚Šã¾ã™ã€‚
       while req.readyState != 4
           sleep 100
       */
      @@ -96,7 +96,7 @@ 

      例

      if (req.readyState != 4) ; Not done yet. return if (req.status == 200) ; OK. - MsgBox "Latest AutoHotkey version: " req.responseText + MsgBox "Latest AutoHotkey version:" req.responseText else MsgBox "Status " req.status,, 16 ExitApp diff --git a/target/docs/lib/Drive.htm b/target/docs/lib/Drive.htm index 66385ca4b..908ebff2c 100644 --- a/target/docs/lib/Drive.htm +++ b/target/docs/lib/Drive.htm @@ -91,15 +91,15 @@

      例

      return MsgBox ( - "All Drives: " DriveGetList() " - Selected Drive: " folder " - Drive Type: " DriveGetType(folder) " - Status: " DriveGetStatus(folder) " - Capacity: " DriveGetCapacity(folder) " MB - Free Space: " DriveGetSpaceFree(folder) " MB - Filesystem: " DriveGetFilesystem(folder) " - Volume Label: " DriveGetLabel(folder) " - Serial Number: " DriveGetSerial(folder) + "All Drives:" DriveGetList() " + Selected Drive:" folder " + Drive Type:" DriveGetType(folder) " + Status:" DriveGetStatus(folder) " + Capacity:" DriveGetCapacity(folder) " MB + Free Space:" DriveGetSpaceFree(folder) " MB + Filesystem:" DriveGetFilesystem(folder) " + Volume Label:" DriveGetLabel(folder) " + Serial Number:" DriveGetSerial(folder) )
      diff --git a/target/docs/lib/DriveEject.htm b/target/docs/lib/DriveEject.htm index 3123660b6..04481dbcc 100644 --- a/target/docs/lib/DriveEject.htm +++ b/target/docs/lib/DriveEject.htm @@ -23,7 +23,7 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      If omitted, it defaults to the first CD/DVD drive found by iterating from A to Z (an exception is thrown if no drive is found). Otherwise, specify the drive letter optionally followed by a colon or a colon and backslash. For example, "D", "D:" or "D:\".

      This can also be a device path in the form "\\?\Volume{...}", which can be discovered by running mountvol at the command line. ã“ã®å ´åˆã€ãƒ‰ãƒ©ã‚¤ãƒ–ã«ãƒ‰ãƒ©ã‚¤ãƒ–レターを割り当ã¦ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。

      @@ -72,7 +72,7 @@

      例

      { DriveEject ; ã‚‚ã—ã€ã“ã®æ©Ÿèƒ½ãŒã™ãã«çµ‚了ã—ãŸå ´åˆã€ãƒˆãƒ¬ã‚¤ã¯ã™ã§ã«æŽ’出ã•ã‚Œã¦ã„ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚ - ; ãã®å ´åˆã¯æ’¤å›žã—ã¦ãã ã•ã„: +; ãã®å ´åˆã¯æ’¤å›žã—ã¦ãã ã•ã„:
      if (A_TimeSinceThisHotkey < 1000) ; Adjust this time if needed. DriveRetract }
      diff --git a/target/docs/lib/DriveGetCapacity.htm b/target/docs/lib/DriveGetCapacity.htm index 82f464e6b..1ac5faf34 100644 --- a/target/docs/lib/DriveGetCapacity.htm +++ b/target/docs/lib/DriveGetCapacity.htm @@ -21,13 +21,13 @@

      パラメータ

      Path
      -

      Type: String

      +

      型:文字列

      ドライブã«å«ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ‘ス(UNCパスやマップã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ–ã§ã‚‚動作ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼‰ã€‚

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒ‘スをå«ã‚€ãƒ‰ãƒ©ã‚¤ãƒ–ã®å®¹é‡ã‚’メガãƒã‚¤ãƒˆå˜ä½ã§è¿”ã—ã¾ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/DriveGetFileSystem.htm b/target/docs/lib/DriveGetFileSystem.htm index 69dc262d9..1a14a71d7 100644 --- a/target/docs/lib/DriveGetFileSystem.htm +++ b/target/docs/lib/DriveGetFileSystem.htm @@ -21,14 +21,14 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      ドライブレターã®å¾Œã«ã‚³ãƒ­ãƒ³ã¨ã‚ªãƒ—ションã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãŸã‚‚ã®ã€ã¾ãŸã¯\server1\share1ã®ã‚ˆã†ãªUNCåを指定ã—ã¾ã™ã€‚

      戻り値

      -

      Type: String

      -

      ã“ã®é–¢æ•°ã¯ã€Driveã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚·ã‚¹ãƒ†ãƒ ã®ç¨®é¡žã‚’è¿”ã™ã€‚The possible values are defined by the system; they include (but are not limited to) the following: NTFS, FAT32, FAT, CDFS (typically indicates a CD), or UDF (typically indicates a DVD).

      +

      型:文字列

      +

      ã“ã®é–¢æ•°ã¯ã€Driveã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚·ã‚¹ãƒ†ãƒ ã®ç¨®é¡žã‚’è¿”ã™ã€‚å–り得る値ã¯ã‚·ã‚¹ãƒ†ãƒ ã«ã‚ˆã£ã¦å®šç¾©ã•ã‚Œã€ä»¥ä¸‹ã®ã‚ˆã†ãªã‚‚ã®ãŒã‚ã‚Šã¾ã™ï¼ˆãŸã ã—ã€ã“れらã«é™å®šã•ã‚Œã¾ã›ã‚“):ã¯NTFSã€FAT32ã€FATã€CDFS(通常ã¯CDã§ã™ã€‚)ã€UDF(通常DVDã§ã™ã€‚)。

      エラー処ç†

      ドライブã«ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã•ã‚ŒãŸãƒ¡ãƒ‡ã‚£ã‚¢ãŒå«ã¾ã‚Œã¦ã„ãªã„å ´åˆãªã©ã€å¤±æ•—ã—ãŸã¨ãã¯ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

      diff --git a/target/docs/lib/DriveGetLabel.htm b/target/docs/lib/DriveGetLabel.htm index ab1de026a..073c76f0d 100644 --- a/target/docs/lib/DriveGetLabel.htm +++ b/target/docs/lib/DriveGetLabel.htm @@ -21,13 +21,13 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      ドライブレターã®å¾Œã«ã‚³ãƒ­ãƒ³ã¨ã‚ªãƒ—ションã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãŸã‚‚ã®ã€ã¾ãŸã¯\server1\share1ã®ã‚ˆã†ãªUNCåを指定ã—ã¾ã™ã€‚

      戻り値

      -

      Type: String

      +

      型:文字列

      ã“ã®é–¢æ•°ã¯ãƒ‰ãƒ©ã‚¤ãƒ–ã®ãƒœãƒªãƒ¥ãƒ¼ãƒ ãƒ©ãƒ™ãƒ«ã‚’è¿”ã—ã¾ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/DriveGetList.htm b/target/docs/lib/DriveGetList.htm index 4582cb05f..50f42b54c 100644 --- a/target/docs/lib/DriveGetList.htm +++ b/target/docs/lib/DriveGetList.htm @@ -21,14 +21,14 @@

      パラメータ

      DriveType
      -

      Type: String

      -

      çœç•¥ã—ãŸå ´åˆã¯ã€ã™ã¹ã¦ã®ãƒ‰ãƒ©ã‚¤ãƒ–タイプをå–å¾—ã—ã¾ã™ã€‚Otherwise, specify one of the following words to retrieve only a specific type of drive: CDROM, REMOVABLE, FIXED, NETWORK, RAMDISK, UNKNOWN.

      +

      型:文字列

      +

      çœç•¥ã—ãŸå ´åˆã¯ã€ã™ã¹ã¦ã®ãƒ‰ãƒ©ã‚¤ãƒ–タイプをå–å¾—ã—ã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã®å˜èªžã‚’指定ã—ã¦ã€ç‰¹å®šã®ç¨®é¡žã®ãƒ‰ãƒ©ã‚¤ãƒ–ã®ã¿ã‚’検索ã—ã¾ã™ï¼šCDROM, REMOVABLE, FIXED, NETWORK, RAMDISK, UNKNOWN.

      戻り値

      -

      Type: String

      -

      ã“ã®é–¢æ•°ã¯ã€ãƒ‰ãƒ©ã‚¤ãƒ–ã®ã‚¿ã‚¤ãƒ—ã«å¿œã˜ãŸã‚·ã‚¹ãƒ†ãƒ å†…ã®ãƒ‰ãƒ©ã‚¤ãƒ–レターを返ã—ã¾ã™ã€‚For example: ACDEZ.

      +

      型:文字列

      +

      ã“ã®é–¢æ•°ã¯ã€ãƒ‰ãƒ©ã‚¤ãƒ–ã®ã‚¿ã‚¤ãƒ—ã«å¿œã˜ãŸã‚·ã‚¹ãƒ†ãƒ å†…ã®ãƒ‰ãƒ©ã‚¤ãƒ–レターを返ã—ã¾ã™ã€‚事例:ACDEZ.

      ドライブ関数

      diff --git a/target/docs/lib/DriveGetSerial.htm b/target/docs/lib/DriveGetSerial.htm index 7d8e110ae..293ff69b8 100644 --- a/target/docs/lib/DriveGetSerial.htm +++ b/target/docs/lib/DriveGetSerial.htm @@ -21,13 +21,13 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      ドライブレターã®å¾Œã«ã‚³ãƒ­ãƒ³ã¨ã‚ªãƒ—ションã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’付ã‘ãŸã‚‚ã®ã€ã¾ãŸã¯\server1\share1ã®ã‚ˆã†ãªUNCåを指定ã—ã¾ã™ã€‚

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ãƒ‰ãƒ©ã‚¤ãƒ–ã®ãƒœãƒªãƒ¥ãƒ¼ãƒ ã‚·ãƒªã‚¢ãƒ«ãƒŠãƒ³ãƒãƒ¼ã‚’è¿”ã—ã¾ã™ã€‚16進数ã¸ã®å¤‰æ›æ–¹æ³•ã¯ã€ã€Œ<a0>Format関数</a0>ã€ã‚’ã”覧ãã ã•ã„。

      エラー処ç†

      diff --git a/target/docs/lib/DriveGetSpaceFree.htm b/target/docs/lib/DriveGetSpaceFree.htm index a3eb5c29c..8b966c2a1 100644 --- a/target/docs/lib/DriveGetSpaceFree.htm +++ b/target/docs/lib/DriveGetSpaceFree.htm @@ -21,13 +21,13 @@

      パラメータ

      Path
      -

      Type: String

      +

      型:文字列

      ドライブã«å«ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ‘ス(UNCパスやマップã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ–ã§ã‚‚動作ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼‰ã€‚

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸ パス,ã‚’å«ã‚€ãƒ‰ãƒ©ã‚¤ãƒ–ã®ç©ºãディスク容é‡ã‚’メガãƒã‚¤ãƒˆå˜ä½ã§è¿”ã—ã¾ã™ï¼ˆãƒ¡ã‚¬ãƒã‚¤ãƒˆæœªæº€ã¯åˆ‡ã‚Šæ¨ã¦ï¼‰ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/DriveGetStatus.htm b/target/docs/lib/DriveGetStatus.htm index 0e6c4a8a1..b914f57f5 100644 --- a/target/docs/lib/DriveGetStatus.htm +++ b/target/docs/lib/DriveGetStatus.htm @@ -21,13 +21,13 @@

      パラメータ

      Path
      -

      Type: String

      +

      型:文字列

      ドライブã«å«ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ‘ス(UNCパスやマップã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ–ã§ã‚‚動作ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼‰ã€‚

      戻り値

      -

      Type: String

      +

      型:文字列

      ã“ã®é–¢æ•°ã¯ã€ãƒ‘スをå«ã‚€ãƒ‰ãƒ©ã‚¤ãƒ–ã®ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹ã‚’è¿”ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/DriveGetStatusCD.htm b/target/docs/lib/DriveGetStatusCD.htm index 167b54770..1aa96a646 100644 --- a/target/docs/lib/DriveGetStatusCD.htm +++ b/target/docs/lib/DriveGetStatusCD.htm @@ -21,13 +21,13 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      çœç•¥ã—ãŸå ´åˆã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®CD/DVDドライブãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€å¾Œã‚ã«ã‚³ãƒ­ãƒ³ã‚’付ã‘ãŸãƒ‰ãƒ©ã‚¤ãƒ–レターを指定ã—ã¦ãã ã•ã„。

      戻り値

      -

      Type: String

      +

      型:文字列

      ã“ã®é–¢æ•°ã¯ã€ãƒ‰ãƒ©ã‚¤ãƒ–ã®ãƒ¡ãƒ‡ã‚£ã‚¢ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹ã‚’è¿”ã—ã¾ã™ã€‚

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

      戻り値

      - + diff --git a/target/docs/lib/DriveGetType.htm b/target/docs/lib/DriveGetType.htm index 68f44c25e..a8863caf8 100644 --- a/target/docs/lib/DriveGetType.htm +++ b/target/docs/lib/DriveGetType.htm @@ -21,14 +21,14 @@

      パラメータ

      Path
      -

      Type: String

      +

      型:文字列

      ドライブã«å«ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ‘ス(UNCパスやマップã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ–ã§ã‚‚動作ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼‰ã€‚

      戻り値

      -

      Type: String

      -

      This function returns the type of the drive which contains Path: Unknown, Removable, Fixed, Network, CDROM, or RAMDisk. パスãŒç„¡åŠ¹ã ã£ãŸã¨ãã¯ã€ï¼ˆä¾‹ãˆã°ã€ãƒ‰ãƒ©ã‚¤ãƒ–ãŒå­˜åœ¨ã—ãªã„å ´åˆï¼‰ã€æˆ»ã‚Šå€¤ã¯ç©ºæ–‡å­—列ã¨ãªã‚Šã¾ã™ã€‚

      +

      型:文字列

      +

      ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒ‘スをå«ã‚€ãƒ‰ãƒ©ã‚¤ãƒ–ã®ç¨®é¡žã‚’è¿”ã—ã¾ã™ã€‚Unknownã€Removableã€Fixedã€Networkã€CDROMã€RAMDiskã®ã„ãšã‚Œã‹ã€‚パスãŒç„¡åŠ¹ã ã£ãŸã¨ãã¯ã€ï¼ˆä¾‹ãˆã°ã€ãƒ‰ãƒ©ã‚¤ãƒ–ãŒå­˜åœ¨ã—ãªã„å ´åˆï¼‰ã€æˆ»ã‚Šå€¤ã¯ç©ºæ–‡å­—列ã¨ãªã‚Šã¾ã™ã€‚

      備考

      一般ã«ã€ãƒ‘スã¯ä»»æ„ã®ãƒ‘スã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚NTFSã¯ãƒžã‚¦ãƒ³ãƒˆãƒœãƒªãƒ¥ãƒ¼ãƒ ã¨ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚¸ãƒ£ãƒ³ã‚¯ã‚·ãƒ§ãƒ³ã‚’サãƒãƒ¼ãƒˆã—ã¦ã„ã‚‹ãŸã‚ã€åŒã˜ãƒ‰ãƒ©ã‚¤ãƒ–レターã§ç•°ãªã‚‹ãƒ‘スを使用ã™ã‚‹ã¨ã€ç•°ãªã‚‹çµæžœãŒå¾—られるã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚

      diff --git a/target/docs/lib/DriveLock.htm b/target/docs/lib/DriveLock.htm index 9895d0d90..f66dd37e3 100644 --- a/target/docs/lib/DriveLock.htm +++ b/target/docs/lib/DriveLock.htm @@ -21,7 +21,7 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      ドライブ文字ã®å¾Œã«ã‚³ãƒ­ãƒ³ã¨ã‚ªãƒ—ションã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ï¼ˆUNCパスやマップã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ–ã§ã‚‚機能ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼‰ã‚’付ã‘ã¾ã™ã€‚

      diff --git a/target/docs/lib/DriveSetLabel.htm b/target/docs/lib/DriveSetLabel.htm index a833ff6bb..f05f92072 100644 --- a/target/docs/lib/DriveSetLabel.htm +++ b/target/docs/lib/DriveSetLabel.htm @@ -21,12 +21,12 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      ドライブ文字ã®å¾Œã«ã‚³ãƒ­ãƒ³ã¨ã‚ªãƒ—ションã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ï¼ˆUNCパスやマップã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ–ã§ã‚‚機能ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼‰ã‚’付ã‘ã¾ã™ã€‚

      NewLabel
      -

      Type: String

      +

      型:文字列

      çœç•¥ã—ãŸã¨ãã¯ã€ãƒœãƒªãƒ¥ãƒ¼ãƒ ãƒ©ãƒ™ãƒ«ã¯å‰Šé™¤ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€æ–°ã—ã„ボリュームラベルを指定ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/DriveUnlock.htm b/target/docs/lib/DriveUnlock.htm index f5f8a3718..c2e24c5f2 100644 --- a/target/docs/lib/DriveUnlock.htm +++ b/target/docs/lib/DriveUnlock.htm @@ -21,7 +21,7 @@

      パラメータ

      Drive
      -

      Type: String

      +

      型:文字列

      ドライブ文字ã®å¾Œã«ã‚³ãƒ­ãƒ³ã¨ã‚ªãƒ—ションã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ï¼ˆUNCパスやマップã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ–ã§ã‚‚機能ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼‰ã‚’付ã‘ã¾ã™ã€‚

      diff --git a/target/docs/lib/Edit.htm b/target/docs/lib/Edit.htm index be5e881b6..240c36112 100644 --- a/target/docs/lib/Edit.htm +++ b/target/docs/lib/Edit.htm @@ -18,7 +18,7 @@

      Edit

      Edit機能ã¯ã€ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã®é–¢é€£ã™ã‚‹ "edit"動詞(動詞ãŒãªã„å ´åˆã¯ãƒ¡ãƒ¢å¸³ï¼‰ã‚’使用ã—ã¦ç·¨é›†ã™ã‚‹ãŸã‚ã«ã€ç¾åœ¨ã®ã‚¹ã‚¯ãƒªãƒ—トを開ãã¾ã™ã€‚ãŸã ã—ã€ã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã«ã‚¹ã‚¯ãƒªãƒ—トãŒã™ã§ã«é–‹ã‹ã‚Œã¦ã„るよã†ã«è¦‹ãˆã‚‹å ´åˆï¼ˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚¿ã‚¤ãƒˆãƒ«ã«åŸºã¥ã)ã€ã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã®æ–°ã—ã„インスタンスを開ãã®ã§ã¯ãªãã€ãã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒèµ·å‹•ã•ã‚Œã¾ã™ã€‚ãŸã ã—ã€ã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã«ã‚¹ã‚¯ãƒªãƒ—トãŒã™ã§ã«é–‹ã‹ã‚Œã¦ã„るよã†ã«è¦‹ãˆã‚‹å ´åˆï¼ˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚¿ã‚¤ãƒˆãƒ«ã«åŸºã¥ã)ã€ã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã®æ–°ã—ã„インスタンスを開ãã®ã§ã¯ãªãã€ãã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒèµ·å‹•ã•ã‚Œã¾ã™ã€‚

      "edit" å‹•è©žã§å®Ÿè¡Œã•ã‚Œã‚‹ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®ãƒ—ログラムã€ã‚¹ã‚¯ãƒªãƒ—トã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã¯ã€Dashã®Editor settingsã§å¤‰æ›´ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

      ã“ã®æ©Ÿèƒ½ã¯ã€ã‚³ãƒ³ãƒ‘イルã•ã‚ŒãŸã‚¹ã‚¯ãƒªãƒ—トã®ä¸­ã‹ã‚‰æ“作ã™ã‚‹å ´åˆã«ã¯ã€ä½•ã®åŠ¹æžœã‚‚ã‚ã‚Šã¾ã›ã‚“。

      -

      ãã‚Œã«é–¢é€£ã—ã¦ã€AutoHotkeyã®ã‚·ãƒ³ã‚¿ãƒƒã‚¯ã‚¹ãƒã‚¤ãƒ©ã‚¤ãƒˆã¯ã€æ§˜ã€…ãªã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã§æœ‰åŠ¹ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã•ã‚‰ã«ã€AutoHotkey関数ã®ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆä¾å­˜ãƒ˜ãƒ«ãƒ—ã¯ã€ã“ã®ä¾‹ã‚’介ã—ã¦ä»»æ„ã®ã‚¨ãƒ‡ã‚£ã‚¿ã§æœ‰åŠ¹ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚最後ã«ã€boilerã®ã‚¹ã‚¯ãƒªãƒ—トや Helgefã®ã‚¹ã‚¯ãƒªãƒ—トã®ã‚ˆã†ã«ã€ã»ã¨ã‚“ã©ã®ã‚¨ãƒ‡ã‚£ã‚¿ã§å‹•ä½œã™ã‚‹è‡ªå‹•è£œå®Œãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã‚’使用ã™ã‚‹ã¨ã€ç”Ÿç”£æ€§ãŒå‘上ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚入力ã—ãŸå†…容を見ãªãŒã‚‰ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã‚„パラメータリストを表示ã—ã€å…¥åŠ›ã®ä¸€éƒ¨ã‚’代行ã—ãŸã‚Šã€ãƒ‘ラメータã®é †åºã‚’æ€ã„出ã•ã›ãŸã‚Šã—ã¾ã™ã€‚

      +

      ãã‚Œã«é–¢é€£ã—ã¦ã€AutoHotkeyã®ã‚·ãƒ³ã‚¿ãƒƒã‚¯ã‚¹ãƒã‚¤ãƒ©ã‚¤ãƒˆã¯ã€æ§˜ã€…ãªã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã§æœ‰åŠ¹ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã•ã‚‰ã«ã€AutoHotkey関数ã®ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆä¾å­˜ãƒ˜ãƒ«ãƒ—ã¯ã€ã“ã®ä¾‹ã‚’介ã—ã¦ä»»æ„ã®ã‚¨ãƒ‡ã‚£ã‚¿ã§æœ‰åŠ¹ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚最後ã«ã€boilerã®ã‚¹ã‚¯ãƒªãƒ—トや Helgefã®ã‚¹ã‚¯ãƒªãƒ—トã®ã‚ˆã†ã«ã€ã»ã¨ã‚“ã©ã®ã‚¨ãƒ‡ã‚£ã‚¿ã§å‹•ä½œã™ã‚‹è‡ªå‹•è£œå®Œãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã‚’使用ã™ã‚‹ã¨ã€ç”Ÿç”£æ€§ãŒå‘上ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚入力ã—ãŸå†…容を見ãªãŒã‚‰ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã‚„パラメータリストを表示ã—ã€å…¥åŠ›ã®ä¸€éƒ¨ã‚’代行ã—ãŸã‚Šã€ãƒ‘ラメータã®é †åºã‚’æ€ã„出ã•ã›ãŸã‚Šã—ã¾ã™ã€‚

      Reload, How to edit a script, Editors with AutoHotkey support

      diff --git a/target/docs/lib/EditGetCurrentCol.htm b/target/docs/lib/EditGetCurrentCol.htm index 753e42812..a22d523d0 100644 --- a/target/docs/lib/EditGetCurrentCol.htm +++ b/target/docs/lib/EditGetCurrentCol.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      説明: キャレット(テキスト挿入点)ãŒå­˜åœ¨ã™ã‚‹ã‚¨ãƒ‡ã‚£ãƒƒãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ã‚«ãƒ©ãƒ ç•ªå·ã‚’è¿”ã—ã¾ã™ã€‚最åˆã®åˆ—ã¯1ã§ã™ã€‚コントロール内ã§ãƒ†ã‚­ã‚¹ãƒˆãŒé¸æŠžã•ã‚Œã¦ã„ã‚‹å ´åˆã€æˆ»ã‚Šå€¤ã¯é¸æŠžãŒé–‹å§‹ã•ã‚ŒãŸåˆ—番å·ã¨ãªã‚‹ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/EditGetCurrentLine.htm b/target/docs/lib/EditGetCurrentLine.htm index d2ab4165a..5955ff1fc 100644 --- a/target/docs/lib/EditGetCurrentLine.htm +++ b/target/docs/lib/EditGetCurrentLine.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€ã‚¨ãƒ‡ã‚£ãƒƒãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ã‚­ãƒ£ãƒ¬ãƒƒãƒˆï¼ˆãƒ†ã‚­ã‚¹ãƒˆæŒ¿å…¥ç‚¹ï¼‰ãŒå­˜åœ¨ã™ã‚‹è¡Œç•ªå·ã‚’è¿”ã—ã¾ã™ã€‚1行目ã¯1ã§ã™ã€‚コントロール内ã§ãƒ†ã‚­ã‚¹ãƒˆãŒé¸æŠžã•ã‚Œã¦ã„ã‚‹å ´åˆã€æˆ»ã‚Šå€¤ã¯é¸æŠžãŒé–‹å§‹ã•ã‚ŒãŸè¡Œç•ªå·ã¨ãªã‚‹ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/EditGetLine.htm b/target/docs/lib/EditGetLine.htm index 500f32199..cd6defec7 100644 --- a/target/docs/lib/EditGetLine.htm +++ b/target/docs/lib/EditGetLine.htm @@ -21,17 +21,17 @@

      パラメータ

      N
      -

      Type: Integer

      +

      型:整数

      何行目ã‹ã®æ•°å­—ã§ã™ã€‚1ã¯æœ€åˆã®è¡Œã‚’表ã—ã¾ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

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

      パラメータ

      戻り値

      -

      Type: String

      +

      型:文字列

      説明: Edit コントロールã®N行目ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’è¿”ã—ã¾ã™ã€‚制御ã®æ€§è³ªã«ã‚ˆã£ã¦ã¯ã€æ–‡å­—列ã®æœ€å¾ŒãŒã‚­ãƒ£ãƒªãƒƒã‚¸ãƒªã‚¿ãƒ¼ãƒ³ï¼ˆ`r)ã¾ãŸã¯ã‚­ãƒ£ãƒªãƒƒã‚¸ãƒªã‚¿ãƒ¼ãƒ³ï¼‹ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`r`n)ã«ãªã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/EditGetLineCount.htm b/target/docs/lib/EditGetLineCount.htm index 449b74444..a79adff28 100644 --- a/target/docs/lib/EditGetLineCount.htm +++ b/target/docs/lib/EditGetLineCount.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: Integer

      +

      型:整数

      ã“ã®é–¢æ•°ã¯ã€Editコントロールã®è¡Œæ•°ã‚’è¿”ã—ã¾ã™ã€‚ã™ã¹ã¦ã®Editコントロールã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒç©ºã§ã‚ã£ã¦ã‚‚å°‘ãªãã¨ã‚‚1行をæŒã¡ã¾ã™ã€‚

      エラー処ç†

      diff --git a/target/docs/lib/EditGetSelectedText.htm b/target/docs/lib/EditGetSelectedText.htm index ff599d92a..b314ffd84 100644 --- a/target/docs/lib/EditGetSelectedText.htm +++ b/target/docs/lib/EditGetSelectedText.htm @@ -21,12 +21,12 @@

      パラメータ

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      @@ -34,7 +34,7 @@

      パラメータ

      戻り値

      -

      Type: String

      +

      型:文字列

      ã“ã®é–¢æ•°ã¯ã€Edit コントロールã§é¸æŠžã•ã‚Œã¦ã„るテキストを返ã—ã¾ã™ã€‚テキストãŒé¸æŠžã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€ç©ºã®æ–‡å­—列ãŒè¿”ã•ã‚Œã¾ã™ã€‚RichEdit20Aãªã©ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ç¨®é¡žã«ã‚ˆã£ã¦ã¯ã€æ­£ã—ã„テキストãŒå‡ºåŠ›ã•ã‚Œãªã„å ´åˆãŒã‚ã‚Šã¾ã™ï¼ˆä¾‹ï¼šMetapad)。

      エラー処ç†

      diff --git a/target/docs/lib/EditPaste.htm b/target/docs/lib/EditPaste.htm index b1d3ed0d2..eb5f020ce 100644 --- a/target/docs/lib/EditPaste.htm +++ b/target/docs/lib/EditPaste.htm @@ -21,17 +21,17 @@

      パラメータ

      String
      -

      Type: String

      +

      型:文字列

      貼り付ã‘る文字列ã§ã™ã€‚

      Control
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      コントロールã®ClassNNã€textã€HWNDã€ã¾ãŸã¯HwndプロパティをæŒã¤ã‚ªãƒ–ジェクトを指ã—ã¾ã™ã€‚詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

      WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
      -

      Type: String, Integer or Object

      +

      型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

      ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

      ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

      ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/Else.htm b/target/docs/lib/Else.htm index f846ddffa..7dc8259c7 100644 --- a/target/docs/lib/Else.htm +++ b/target/docs/lib/Else.htm @@ -21,16 +21,16 @@

      Else

      備考

      Every use of Else must belong to (be associated with) an If, Catch, For, Loop or While statement above it. Elseã¯ã€ãƒ–ロックを使ã£ã¦ãã®å‹•ä½œã‚’変更ã—ãªã„é™ã‚Šã€å¸¸ã«ãã®ä¸Šã«ã‚る最も近ã„é©ç”¨å¯èƒ½ãªunclaimedステートメントã«å±žã™ã€‚Elseæ–‡ã®å®Ÿè¡Œæ¡ä»¶ã¯ã€é–¢é€£ã™ã‚‹æ–‡ã«ä¾å­˜ã—ã¾ã™ï¼š

        -
      • If expression: The expression evaluated to false.
      • -
      • For, Loop (any kind), While: The loop had zero iterations.
      • -
      • Loop Read: As above, but the presence of Else also prevents an error from being thrown if the file or path is not found. ã—ãŸãŒã£ã¦ã€Elseã¯ãƒ•ã‚¡ã‚¤ãƒ«ãŒç©ºã§ã‚ã‚‹ã‹å­˜åœ¨ã—ãªã„å ´åˆã«å®Ÿè¡Œã•ã‚Œã¾ã™ã€‚
      • +
      • If expression:å¼ãŒfalseã«è©•ä¾¡ã•ã‚ŒãŸã€‚
      • +
      • For, Loop (any kind), While:ループã®å復回数ã¯0回ã§ã—ãŸã€‚
      • +
      • Loop Read:上記ã¨åŒæ§˜ã§ã™ãŒã€Elseã®å­˜åœ¨ã«ã‚ˆã‚Šã€ãƒ•ã‚¡ã‚¤ãƒ«ã‚„パスãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã™ã‚‹ã®ã‚’防ãã“ã¨ã‚‚ã§ãã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€Elseã¯ãƒ•ã‚¡ã‚¤ãƒ«ãŒç©ºã§ã‚ã‚‹ã‹å­˜åœ¨ã—ãªã„å ´åˆã«å®Ÿè¡Œã•ã‚Œã¾ã™ã€‚
      • Try...Catch: No exception was thrown within the Try block.

      Elseã®å¾Œã«ã¯ã€åŒã˜è¡Œã«ã‚ã‚‹ä»–ã®å˜ä¸€ã®ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã‚’ã™ãã«ç¶šã‘ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã‚Œã¯ã€ã€Œelse ifã€ãƒ©ãƒ€ãƒ¼ã«æœ€ã‚‚よã使ã‚ã‚Œã¾ã™ï¼ˆä¸‹éƒ¨ã®ä¾‹ã‚’å‚照)。

      ElseãŒè¤‡æ•°ã®è¡Œã‚’所有ã™ã‚‹å ´åˆã€ãれらã®è¡Œã‚’中括弧ã§å›²ã‚€ï¼ˆãƒ–ロックを作る)必è¦ãŒã‚ã‚Šã¾ã™ã€‚ãŸã ã—ã€1è¡Œã ã‘ãŒElseã«å±žã™ã‚‹å ´åˆã¯ã€ä¸­æ‹¬å¼§ã¯çœç•¥å¯èƒ½ã§ã™ã€‚事例:

      if (count > 0)  ; 次ã®è¡Œã¯1è¡Œãªã®ã§ã€ä¸­æ‹¬å¼§ã¯ä¸è¦ã§ã™ã€‚
           MsgBox "Press OK to begin the process."
      -else  ; Braces must be used around the section below because it consists of more than one line.
      +else  ; 以下ã®éƒ¨åˆ†ã¯1行以上ã‹ã‚‰ãªã‚‹ãŸã‚ã€ä¸­æ‹¬å¼§ã‚’使用ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
       {
           WinClose "Untitled - Notepad"
           MsgBox "There are no items present."
      @@ -87,15 +87,15 @@ 

      例

      thirdFunction() Sleep 1 } -else defaultFunction() ; i.e. Any single statement can be on the same line with an Else.
      +else defaultFunction() ; ã™ãªã‚ã¡ã€ä»»æ„ã®1ã¤ã®æ–‡ãŒElseã¨åŒã˜è¡Œã«å­˜åœ¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

      ループã®ç¹°ã‚Šè¿”ã—回数ãŒ0回ã ã£ãŸå ´åˆã«ã€ä½•ã‚‰ã‹ã®ã‚³ãƒ¼ãƒ‰ã‚’実行ã—ã¾ã™ã€‚

      -; Show File/Internet Explorer windows/tabs.
      +; ファイル/Internet Explorerã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦/タブを表示ã—ã¾ã™ã€‚
       for window in ComObject("Shell.Application").Windows
      -    MsgBox "Window #" A_Index ": " window.LocationName
      +    MsgBox "Window #" A_Index ":" window.LocationName
       else
           MsgBox "No shell windows found."
       
      diff --git a/target/docs/lib/Enumerator.htm b/target/docs/lib/Enumerator.htm index b7cd82646..7d5fe91f8 100644 --- a/target/docs/lib/Enumerator.htm +++ b/target/docs/lib/Enumerator.htm @@ -21,7 +21,7 @@

      目次

      • Methods:
          -
        • Call: Retrieves the next item or items in an enumeration.
        • +
        • Call:列挙ã•ã‚ŒãŸé …ç›®ã®ã†ã¡ã€æ¬¡ã®é …目をå–å¾—ã—ã¾ã™ã€‚
      • 関連
      • @@ -37,12 +37,12 @@

        パラメータ

        &OutputVar1, &OutputVar2
        -

        Type: VarRef

        +

        型:VarRef

        列挙者ãŒå€¤ã‚’代入ã™ã‚‹ãŸã‚ã®å‡ºåŠ›å¤‰æ•°ã¸ã®1ã¤ä»¥ä¸Šã®ãƒªãƒ•ã‚¡ãƒ¬ãƒ³ã‚¹ã€‚

        戻り値

        -

        Type: Integer (boolean)

        +

        型:整数(ブーリアン)

        This method returns 1 (true) if successful or 0 (false) if there were no items remaining.

        備考

        å˜ç´”ãªé–¢æ•°å®šç¾©ã‚’使用ã—ã¦åˆ—挙者を作æˆã™ã‚‹ã“ã¨ãŒã§ãる。ãã®å ´åˆã€CallメソッドãŒæš—示ã•ã‚Œã¾ã™ã€‚

        diff --git a/target/docs/lib/EnvGet.htm b/target/docs/lib/EnvGet.htm index 8d5a4db2b..dce998cb6 100644 --- a/target/docs/lib/EnvGet.htm +++ b/target/docs/lib/EnvGet.htm @@ -20,14 +20,14 @@

        パラメータ

        EnvVar
        -

        Type: String

        +

        型:文字列

        環境変数ã®åå‰ã§ã™ã€‚例:"Path"

      戻り値

      -

      Type: String

      +

      型:文字列

      ã“ã®é–¢æ•°ã¯EnvVarã®å€¤ã‚’è¿”ã—ã¾ã™ã€‚EnvVarãŒç©ºã¾ãŸã¯å­˜åœ¨ã—ãªã„ã¨ãã¯ã€ç©ºã®æ–‡å­—列ãŒè¿”ã•ã‚Œã¾ã™ã€‚

      備考

      @@ -44,13 +44,13 @@

      例

      Program Filesディレクトリã®ãƒ‘スをå–å¾—ã—ã¦è¿”ã—ã¾ã™ã€‚別ã®æ–¹æ³•ã¯ã€RegReadã®ä¾‹2ã‚’ã”覧ãã ã•ã„。

      ProgramFilesDir := EnvGet(A_Is64bitOS ? "ProgramW6432" : "ProgramFiles")
      -MsgBox "Program files are in: " ProgramFilesDir
      +MsgBox "Program files are in:" ProgramFilesDir

      ç¾åœ¨ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®LocalAppDataディレクトリã®ãƒ‘スをå–å¾—ã—ã¦è¿”ã—ã¾ã™ã€‚

      LocalAppData := EnvGet("LocalAppData")
      -MsgBox A_UserName "'s Local directory is located at: " LocalAppData
      +MsgBox A_UserName "'s Local directory is located at:" LocalAppData
      diff --git a/target/docs/lib/EnvSet.htm b/target/docs/lib/EnvSet.htm index 24c6b0c32..06634e62c 100644 --- a/target/docs/lib/EnvSet.htm +++ b/target/docs/lib/EnvSet.htm @@ -20,13 +20,13 @@

      パラメータ

      EnvVar
      -

      Type: String

      +

      型:文字列

      環境変数ã®åå‰ã§ã™ã€‚例:"Path"

      値
      -

      Type: String

      +

      型:文字列

      çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€ç’°å¢ƒå¤‰æ•°ã¯å‰Šé™¤ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€è¨­å®šã™ã‚‹å€¤ã‚’指定ã—ã¾ã™ã€‚

      diff --git a/target/docs/lib/Error.htm b/target/docs/lib/Error.htm index 8cd0447f7..a82d939fc 100644 --- a/target/docs/lib/Error.htm +++ b/target/docs/lib/Error.htm @@ -66,9 +66,9 @@

      Error()

      } try - MyFunction(1, -1) ; err.Line indicates this line. + MyFunction(1, -1) ; err.Lineã¯ã“ã®è¡Œã‚’示ã—ã¾ã™ã€‚ catch ValueError as err - MsgBox Format("{1}: {2}.`n`nFile:`t{3}`nLine:`t{4}`nWhat:`t{5}`nStack:`n{6}" + MsgBox Format("{1}:{2}.`n`nFile:`t{3}`nLine:`t{4}`nWhat:`t{5}`nStack:`n{6}" , type(err), err.Message, err.File, err.Line, err.What, err.Stack)
      try
           SomeFunction()
      diff --git a/target/docs/lib/Exit.htm b/target/docs/lib/Exit.htm
      index 073641077..312157dff 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 fdcce99c6..8eaa04f13 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 2f2156a32..d57cf7015 100644 --- a/target/docs/lib/File.htm +++ b/target/docs/lib/File.htm @@ -22,25 +22,25 @@

      目次

      • Methods:
          -
        • Read: Reads a string of characters from the file and advances the file pointer.
        • -
        • Write: Writes a string of characters to the file and advances the file pointer.
        • -
        • ReadLine: Reads a line of text from the file and advances the file pointer.
        • +
        • Read:ファイルã‹ã‚‰æ–‡å­—列を読ã¿å‡ºã—ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。
        • +
        • Write:文字列をファイルã«æ›¸ãè¾¼ã¿ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。
        • +
        • ReadLine:ファイルã‹ã‚‰ãƒ†ã‚­ã‚¹ãƒˆã‚’1行読ã¿å‡ºã—ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。
        • WriteLine: Writes a line of text to the file and advances the file pointer.
        • -
        • ReadNumType: Reads a number from the file and advances the file pointer.
        • -
        • WriteNumType: Writes a number to the file and advances the file pointer.
        • -
        • RawRead: Reads raw binary data from the file into memory and advances the file pointer.
        • -
        • RawWrite: Writes raw binary data to the file and advances the file pointer.
        • -
        • Seek: Moves the file pointer.
        • -
        • Close: Closes the file, flushes any data in the cache to disk and releases the share locks.
        • +
        • ReadNumType:ファイルã‹ã‚‰æ•°å€¤ã‚’読ã¿å‡ºã—ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。
        • +
        • WriteNumType:ファイルã«æ•°å€¤ã‚’書ãè¾¼ã¿ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。
        • +
        • RawRead:ファイルã‹ã‚‰ç”Ÿã®ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã‚’メモリã«èª­ã¿è¾¼ã‚“ã§ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。
        • +
        • RawWrite:ファイルã«ç”Ÿã®ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã‚’書ãè¾¼ã¿ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。
        • +
        • Seek:ファイルãƒã‚¤ãƒ³ã‚¿ã‚’移動ã—ã¾ã™ã€‚
        • +
        • Close:ファイルを閉ã˜ã€ã‚­ãƒ£ãƒƒã‚·ãƒ¥å†…ã®ãƒ‡ãƒ¼ã‚¿ã‚’ディスクã«ãƒ•ãƒ©ãƒƒã‚·ãƒ¥ã—ã€å…±æœ‰ãƒ­ãƒƒã‚¯ã‚’解除ã—ã¾ã™ã€‚
      • Properties:
          -
        • Pos: Retrieves or sets the position of the file pointer.
        • -
        • Length: Retrieves or sets the size of the file.
        • +
        • Pos:ファイルãƒã‚¤ãƒ³ã‚¿ã®ä½ç½®ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
        • +
        • Length:ファイルサイズをå–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
        • AtEOF: Retrieves a non-zero number if the file pointer has reached the end of the file.
        • -
        • Encoding: Retrieves or sets the text encoding used by this file object.
        • -
        • Handle: Retrieves a system file handle, intended for use with DllCall.
        • +
        • Encoding:ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚ªãƒ–ジェクトãŒä½¿ç”¨ã™ã‚‹ãƒ†ã‚­ã‚¹ãƒˆã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
        • +
        • Handle:DllCallã§ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚’目的ã¨ã—ãŸã‚·ã‚¹ãƒ†ãƒ ãƒ•ã‚¡ã‚¤ãƒ«ãƒãƒ³ãƒ‰ãƒ«ã‚’å–å¾—ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
      @@ -54,12 +54,12 @@

      パラメータ

      Characters
      -

      Type: Integer

      +

      型:整数

      çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ•ã‚¡ã‚¤ãƒ«ã®æ®‹ã‚Šã®éƒ¨åˆ†ãŒèª­ã¿è¾¼ã¾ã‚Œã€1ã¤ã®æ–‡å­—列ã¨ã—ã¦è¿”ã•ã‚Œã¾ã™ã€‚Otherwise, specify the maximum number of characters to read. FileオブジェクトãŒã‚³ãƒ³ã‚½ãƒ¼ãƒ«ãƒãƒƒãƒ•ã‚¡ã‚„パイプãªã©ã®éžã‚·ãƒ¼ã‚­ãƒ³ã‚°ãƒ‡ãƒã‚¤ã‚¹ã¸ã®ãƒãƒ³ãƒ‰ãƒ«ã‹ã‚‰ä½œæˆã•ã‚ŒãŸå ´åˆã€ã“ã®ãƒ‘ラメータをçœç•¥ã™ã‚‹ã¨ã€ãƒ¡ã‚½ãƒƒãƒ‰ãŒå¤±æ•—ã™ã‚‹ã‹ã€ç¾åœ¨åˆ©ç”¨å¯èƒ½ãªãƒ‡ãƒ¼ã‚¿ã®ã¿ã‚’è¿”ã™ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚

      戻り値

      -

      Type: String

      +

      型:文字列

      This method returns the string of characters that were read.

      @@ -70,12 +70,12 @@

      パラメータ

      String
      -

      Type: String

      +

      型:文字列

      The string to write.

      戻り値

      -

      Type: Integer

      +

      型:整数

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

      @@ -83,7 +83,7 @@

      戻り値

      ファイルã‹ã‚‰ãƒ†ã‚­ã‚¹ãƒˆã‚’1行読ã¿å‡ºã—ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒã‚¤ãƒ³ã‚¿ã‚’進ã‚る。

      TextLine := FileObj.ReadLine()

      戻り値

      -

      Type: String

      +

      型:文字列

      This method returns a line of text, excluding the line ending.

      備考

      最大65,534文字ã¾ã§ã®è¡Œã‚’読ã¿å–ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚è¡Œã®é•·ã•ãŒã“れを超ãˆã‚‹å ´åˆã€ãれ以é™ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’呼ã³å‡ºã™ã¨ã€è¡Œã®æ®‹ã‚ŠãŒè¿”ã•ã‚Œã¾ã™ã€‚

      @@ -95,12 +95,12 @@

      パラメータ

      String
      -

      Type: String

      +

      型:文字列

      If blank or omitted, an empty line will be written. Otherwise, specify the string to write, which is always followed by `n or `r`n, depending on the EOL flags used to open the file.

      戻り値

      -

      Type: Integer

      +

      型:整数

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

      @@ -109,7 +109,7 @@

      戻り値

      Num := FileObj.ReadNumType()

      NumTypeã¯ã€UInt, Int, Int64, Short, UShort, Char, UChar, Double, Float ã®ã„ãšã‚Œã‹ã§ã™ã€‚ã“れらã®åž‹åã¯ã€DllCallã¨åŒã˜æ„味をæŒã¡ã¾ã™ã€‚

      戻り値

      -

      Type: Integer, Float or String (empty)

      +

      型:Integer, Float or String (empty)

      On success, this method returns a number. On failure, it returns an empty string.

      備考

      読ã¿è¾¼ã‚“ã ãƒã‚¤ãƒˆæ•°ãŒ0ã§ãªãã€NumTypeã®ã‚µã‚¤ã‚ºã‚ˆã‚Šå°ã•ã„å ´åˆã€ä¸è¶³ã™ã‚‹ãƒã‚¤ãƒˆã¯0ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚

      @@ -122,12 +122,12 @@

      備考

      パラメータ

      Num
      -

      Type: Integer or Float

      +

      型:整数ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°

      The number to write.

      戻り値

      -

      Type: Integer

      +

      型:整数

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

      @@ -138,19 +138,19 @@

      パラメータ

      Buffer
      -

      Type: Object or Integer

      +

      型:オブジェクトã¾ãŸã¯æ•´æ•°

      データをå—ã‘å–ã‚‹Bufferã®ã‚ˆã†ãªã‚ªãƒ–ジェクトã¾ãŸã¯ãƒ¡ãƒ¢ãƒªã‚¢ãƒ‰ãƒ¬ã‚¹ã€‚

      Bufferã¸ã®èª­ã¿è¾¼ã¿ã‚’推奨ã—ã¾ã™ã€‚BytesãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ãƒãƒƒãƒ•ã‚¡ã®ã‚µã‚¤ã‚ºã«ãªã‚Šã¾ã™ã€‚BytesãŒãƒãƒƒãƒ•ã‚¡ã®ã‚µã‚¤ã‚ºã‚’超ãˆã‚‹å ´åˆã¯ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

      メモリアドレスを渡ã™å ´åˆã¯ã€Byteも指定ã™ã‚‹å¿…è¦ãŒã‚る。

      Bytes
      -

      Type: Integer

      +

      型:整数

      読ã¿å‡ºã™æœ€å¤§ãƒã‚¤ãƒˆæ•°ã‚’指定ã—ã¾ã™ã€‚BufferãŒã‚ªãƒ–ジェクトã®å ´åˆã¯ã‚ªãƒ—ションã€ãれ以外ã®å ´åˆã¯å¿…é ˆã¨ã—ã¾ã™ã€‚

      戻り値

      -

      Type: Integer

      +

      型:整数

      This method returns the number of bytes that were read.

      @@ -161,17 +161,17 @@

      パラメータ

      Data
      -

      Type: Object, String or Integer

      +

      型:オブジェクトã€æ–‡å­—列ã€æ•´æ•°ã®ã„ãšã‚Œã‹

      ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã‚’å«ã‚€Bufferã®ã‚ˆã†ãªã‚ªãƒ–ジェクトã¾ãŸã¯æ–‡å­—列ã€ã¾ãŸã¯ãƒ¡ãƒ¢ãƒªã‚¢ãƒ‰ãƒ¬ã‚¹ã€‚オブジェクトã¾ãŸã¯æ–‡å­—列ãŒæŒ‡å®šã•ã‚ŒãŸå ´åˆã€Bytesã¯ã‚ªãƒ—ションã§ã‚ã‚Šã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ãƒãƒƒãƒ•ã‚¡ã¾ãŸã¯æ–‡å­—列ã®ã‚µã‚¤ã‚ºã§ã™ã€‚ãれ以外ã®å ´åˆã¯ã€Bytesも指定ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

      Bytes
      -

      Type: Integer

      +

      型:整数

      書ã込むãƒã‚¤ãƒˆæ•°ã‚’指定ã—ã¾ã™ã€‚DataãŒã‚ªãƒ–ジェクトã¾ãŸã¯æ–‡å­—列ã®å ´åˆã¯ã‚ªãƒ—ションã€ãれ以外ã®å ´åˆã¯å¿…é ˆã¨ã—ã¾ã™ã€‚

      戻り値

      -

      Type: Integer

      +

      型:整数

      This method returns the number of bytes that were written.

      @@ -182,22 +182,22 @@

      パラメータ

      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:

        -
      • 0 (SEEK_SET): Beginning of the file. è·é›¢ã¯ã€0以上ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„。
      • -
      • 1 (SEEK_CUR): Current position of the file pointer.
      • -
      • 2 (SEEK_END): End of the file. è·é›¢ã¯ã€é€šå¸¸ã€ãƒžã‚¤ãƒŠã‚¹ã«ãªã‚‹ã¯ãšã§ã™ã€‚
      • +
      • 0 (SEEK_SET):ファイルã®å…ˆé ­ã§ã™ã€‚è·é›¢ã¯ã€0以上ã§ãªã‘ã‚Œã°ãªã‚‰ãªã„。
      • +
      • 1 (SEEK_CUR):ファイルãƒã‚¤ãƒ³ã‚¿ã®ç¾åœ¨ä½ç½®ã€‚
      • +
      • 2 (SEEK_END):ファイル終了。è·é›¢ã¯ã€é€šå¸¸ã€ãƒžã‚¤ãƒŠã‚¹ã«ãªã‚‹ã¯ãšã§ã™ã€‚

      戻り値

      -

      Type: Integer (boolean)

      +

      型:整数(ブーリアン)

      On success, this method returns 1 (true). On failure, it returns 0 (false).

      備考

      This method is equivalent to FileObj.Pos := Distance, if Distance is not negative and Origin is omitted or 0 (SEEK_SET).

      @@ -237,9 +237,9 @@

      属性

      NewEncodingã«ã¯ã€æ•°å€¤ã®ã‚³ãƒ¼ãƒ‰ãƒšãƒ¼ã‚¸è­˜åˆ¥å­ï¼ˆMicrosoft Docsã‚’å‚照)ã¾ãŸã¯ä»¥ä¸‹ã®æ–‡å­—列ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ã€‚

      CurrentEncoding is one of the following strings:

        -
      • UTF-8: Unicode UTF-8, equivalent to CP65001.
      • -
      • UTF-16: Unicode UTF-16 with little endian byte order, equivalent to CP1200.
      • -
      • CPnnn: a code page with numeric identifier nnn.
      • +
      • UTF-8:Unicode UTF-8ã€CP65001 ã¨åŒç­‰ã§ã™ã€‚
      • +
      • UTF-16:CP1200 ã«ç›¸å½“ã™ã‚‹ãƒªãƒˆãƒ«ã‚¨ãƒ³ãƒ‡ã‚£ã‚¢ãƒ³ãƒã‚¤ãƒˆã‚ªãƒ¼ãƒ€ãƒ¼ã® Unicode UTF-16 ã§ã™ã€‚
      • +
      • CPnnn:数値識別å­nnnã‚’æŒã¤ã‚³ãƒ¼ãƒ‰ãƒšãƒ¼ã‚¸ã§ã™ã€‚

      CurrentEncoding is never a value with the -RAW suffix, regardless of how the file was opened or whether it contains a byte order mark (BOM). NewEncodingを設定ã—ã¦ã‚‚ã€BOMãŒè¿½åŠ ã•ã‚ŒãŸã‚Šå‰Šé™¤ã•ã‚ŒãŸã‚Šã™ã‚‹ã“ã¨ã¯ã‚ã‚Šã¾ã›ã‚“。通常ã€BOMã¯æœ€åˆã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã™ã‚‹ã¨ãã«æ›¸ãè¾¼ã¾ã‚Œã‚‹ãŸã‚ã§ã™ã€‚

      NewEncodingã«UTF-8-RAWã¾ãŸã¯UTF-16-RAWを指定ã™ã‚‹ã“ã¨ã¯æœ‰åŠ¹ã§ã™ãŒã€-RAW ã¨ã„ã†æŽ¥å°¾è¾žã¯ç„¡è¦–ã•ã‚Œã¾ã™ã€‚ã“ã‚Œã¯FileObj.Encodingã«ã®ã¿é©ç”¨ã•ã‚Œã€FileOpenã«ã¯é©ç”¨ã•ã‚Œã¾ã›ã‚“。

      diff --git a/target/docs/lib/FileAppend.htm b/target/docs/lib/FileAppend.htm index 18871357b..b6974d383 100644 --- a/target/docs/lib/FileAppend.htm +++ b/target/docs/lib/FileAppend.htm @@ -20,14 +20,14 @@

      パラメータ

      Text
      -

      Type: String or Object

      +

      型:文字列ã¾ãŸã¯ã‚ªãƒ–ジェクト

      If blank or omitted, Filename will be created as an empty file (but if the file already exists, its modification time will be updated). Otherwise, specify the text or raw binary data to append to the file. テキストã«ã¯æ”¹è¡Œæ–‡å­—(`n)ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãる。In addition, a single long line can be broken up into several shorter ones by means of a continuation section.

      Bufferã®ã‚ˆã†ãªã‚ªãƒ–ジェクトを渡ã—ã¦ã€ç”Ÿã®ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã‚’付加ã™ã‚‹ã“ã¨ãŒã§ãる。ファイルを作æˆã™ã‚‹å ´åˆã€ã‚ªãƒ—ションã§"UTF-8"ã¾ãŸã¯ "UTF-16"を指定ã—ãŸå ´åˆã®ã¿ã€BOM(Byte Order Mark)ãŒæ›¸ãè¾¼ã¾ã‚Œã¾ã™ã€‚デフォルトã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã¯ç„¡è¦–ã•ã‚Œã€Optionsã«é–¢ä¿‚ãªãã€ã‚ªãƒ–ジェクトãŒå«ã‚€ãƒ‡ãƒ¼ã‚¿ã¯ãã®ã¾ã¾æ›¸ãè¾¼ã¾ã‚Œã¾ã™ã€‚Ptrプロパティã¨Sizeプロパティを実装ã—ã¦ã„るオブジェクトã§ã‚ã‚Œã°ã€ã©ã®ã‚ˆã†ãªã‚‚ã®ã§ã‚‚使用å¯èƒ½ã§ã™ã€‚

      Filename
      -

      Type: String

      +

      型:文字列

      If omitted, the output file of the innermost enclosing file-reading loop will be used (if available). Otherwise, specify the name of the file to be appended, which is assumed to be in A_WorkingDir if an absolute path isn't specified. ä¿å­˜å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã™ã§ã«å­˜åœ¨ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

      Standard Output (stdout): Specifying an asterisk (*) for Filename causes Text to be sent to standard output (stdout). ã“ã®ã‚ˆã†ãªãƒ†ã‚­ã‚¹ãƒˆã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ã«ãƒªãƒ€ã‚¤ãƒ¬ã‚¯ãƒˆã—ãŸã‚Šã€åˆ¥ã®EXEã«ãƒ‘イプã—ãŸã‚Šã€ãŠã—ゃれãªãƒ†ã‚­ã‚¹ãƒˆã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã§ã‚­ãƒ£ãƒ—ãƒãƒ£ã—ãŸã‚Šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚例ãˆã°ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ã‚³ãƒžãƒ³ãƒ‰ãƒ—ロンプトã§å…¥åŠ›ã—ãŸå ´åˆã¯æœ‰åŠ¹ã§ã™ï¼š

      "%ProgramFiles%\AutoHotkey\AutoHotkey.exe" "My Script.ahk" >"Error Log.txt"
      @@ -39,11 +39,11 @@

      パラメータ

      Options
      -

      Type: String

      -

      以下ã®æ–‡å­—列ã®ã†ã¡ã€0個以上。å„オプションã¨æ¬¡ã®ã‚ªãƒ—ションã¯ã€1ã¤ã®ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ã§åŒºåˆ‡ã£ã¦ãã ã•ã„。For example: "`n UTF-8"

      +

      型:文字列

      +

      以下ã®æ–‡å­—列ã®ã†ã¡ã€0個以上。å„オプションã¨æ¬¡ã®ã‚ªãƒ—ションã¯ã€1ã¤ã®ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ã§åŒºåˆ‡ã£ã¦ãã ã•ã„。事例:"`n UTF-8"

      Encoding: Specify any of the encoding names accepted by FileEncoding (excluding the empty string) to use that encoding if the file lacks a UTF-8 or UTF-16 byte order mark. çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯A_FileEncodingã§ã™ï¼ˆãŸã ã—ã€TextãŒã‚ªãƒ–ジェクトã®å ´åˆã¯ãƒã‚¤ãƒˆã‚ªãƒ¼ãƒ€ãƒ¼ãƒžãƒ¼ã‚¯ã‚’書ãã¾ã›ã‚“)。

      RAW: Specify the word RAW (case-insensitive) to write the exact bytes contained by Text to the file as-is, without any conversion. ã“ã®ã‚ªãƒ—ションã¯ã€ä»¥å‰ã«æŒ‡å®šã•ã‚ŒãŸã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’上書ãã—ã€ãã®é€†ã‚‚ã¾ãŸç„¶ã‚Šã§ã™ã€‚TextãŒã‚ªãƒ–ジェクトã§ãªã„å ´åˆã€UTF-16文字列を使用ã™ã‚‹ãŸã‚ã€ãƒ‡ãƒ¼ã‚¿ã‚µã‚¤ã‚ºã¯å¸¸ã«2ãƒã‚¤ãƒˆã®å€æ•°ã¨ãªã‚‹ã€‚

      -

      `n (a linefeed character): Inserts a carriage return (`r) before each linefeed (`n) if one is not already present. ã¤ã¾ã‚Šã€`nã‹ã‚‰`r`nã«å¤‰æ›ã™ã‚‹ã®ã§ã™ã€‚ã“ã®ç¿»è¨³ã¯ã€é€šå¸¸ã€ãƒ‘フォーマンスã«å½±éŸ¿ã‚’与ãˆã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションを使用ã—ãªã„å ´åˆã€Text内ã®è¡Œæœ«ã¯å¤‰æ›´ã•ã‚Œã¾ã›ã‚“。

      +

      `n(改行文字):キャリッジリターン(`r)ãŒã¾ã å­˜åœ¨ã—ãªã„å ´åˆã€å„ラインフィード(`n)ã®å‰ã«æŒ¿å…¥ã•ã‚Œã¾ã™ã€‚ã¤ã¾ã‚Šã€`nã‹ã‚‰`r`nã«å¤‰æ›ã™ã‚‹ã®ã§ã™ã€‚ã“ã®ç¿»è¨³ã¯ã€é€šå¸¸ã€ãƒ‘フォーマンスã«å½±éŸ¿ã‚’与ãˆã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションを使用ã—ãªã„å ´åˆã€Text内ã®è¡Œæœ«ã¯å¤‰æ›´ã•ã‚Œã¾ã›ã‚“。

      @@ -78,7 +78,7 @@

      例

      オペレーティングシステム内蔵ã®FTPコマンドを使用ã—ã¦ã€FTPアップロードを自動化ã™ã‚‹æ–¹æ³•ã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ã€‚

      FTPCommandFile := A_ScriptDir "\FTPCommands.txt"
       FTPLogFile := A_ScriptDir "\FTPLog.txt"
      -try FileDelete FTPCommandFile  ; In case previous run was terminated prematurely.
      +try FileDelete FTPCommandFile  ; å‰å›žå®Ÿè¡Œã—ãŸãƒ—ログラムãŒé€”中ã§çµ‚了ã—ã¦ã—ã¾ã£ãŸå ´åˆã€‚
       
       FileAppend
       (
      @@ -95,8 +95,8 @@ 

      例

      ), FTPCommandFile RunWait Format('{1} /c ftp.exe -s:"{2}" >"{3}"', A_ComSpec, FTPCommandFile, FTPLogFile) -FileDelete FTPCommandFile ; Delete for security reasons. -Run FTPLogFile ; Display the log for review.
      +FileDelete FTPCommandFile ; セキュリティ上ã€å‰Šé™¤ã—ã¦ãã ã•ã„。 +Run FTPLogFile ; ログを表示ã•ã›ã¦ç¢ºèªã—ã¾ã™ã€‚
      diff --git a/target/docs/lib/FileCopy.htm b/target/docs/lib/FileCopy.htm index 4cb041287..1fed78f45 100644 --- a/target/docs/lib/FileCopy.htm +++ b/target/docs/lib/FileCopy.htm @@ -20,13 +20,13 @@

      パラメータ

      SourcePattern
      -

      Type: String

      +

      型:文字列

      å˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ•ã‚©ãƒ«ãƒ€ã®åå‰ã€ã¾ãŸã¯"C:\Temp\*.tmp"ã®ã‚ˆã†ãªãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãƒ‘ターンã§ã™ã€‚SourcePattern is assumed to be in A_WorkingDir if an absolute path isn't specified.

      DestPattern
      -

      Type: String

      +

      型:文字列

      絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã‚‹ã€ä¿å­˜å…ˆã®åå‰ã¾ãŸã¯ãƒ‘ターン。

      ã“ã®å ´åˆã€ãƒ•ã‚¡ã‚¤ãƒ«åã®æœ€åˆã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ï¼ˆ*)ã¯ã€æ‹¡å¼µå­ã‚’除ã„ãŸã‚½ãƒ¼ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«åã«ç½®ãæ›ãˆã‚‰ã‚Œã€æœ€å¾Œã®ãƒ•ãƒ«ã‚¹ãƒˆãƒƒãƒ—(.)以é™ã®æœ€åˆã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®æ‹¡å¼µå­ã«ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ã€‚アスタリスクãŒã‚ã£ã¦ã‚‚æ‹¡å¼µå­ãŒçœç•¥ã•ã‚ŒãŸå ´åˆã¯ã€ã‚½ãƒ¼ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®æ‹¡å¼µå­ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚

      既存ã®ãƒ•ã‚¡ã‚¤ãƒ«åを残ã—ãŸã¾ã¾å˜ç´”ã«ã‚³ãƒ”ーã™ã‚‹å ´åˆã¯ã€ä»¥ä¸‹ã®ä¾‹ã®ã‚ˆã†ã«ãƒ•ã‚©ãƒ«ãƒ€åã®ã¿ã‚’指定ã—ã¾ã™ï¼š

      @@ -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: Do not overwrite existing files. The operation will fail and have no effect if DestPattern already exists as a file or directory.

      1: Overwrite existing files. However, any files or subfolders inside DestPattern that do not have a counterpart in SourcePattern will not be deleted.

      @@ -79,8 +79,8 @@

      例

      MsgBox ErrorCount " files/folders could not be copied." CopyFilesAndFolders(SourcePattern, DestinationFolder, DoOverwrite := false) -; Copies all files and folders matching SourcePattern into the folder named DestinationFolder and -; returns the number of files/folders that could not be copied. +; SourcePatternã«ä¸€è‡´ã™ã‚‹ã™ã¹ã¦ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¨ãƒ•ã‚©ãƒ«ãƒ€ã‚’DestinationFolderã¨ã„ã†åå‰ã®ãƒ•ã‚©ãƒ«ãƒ€ã«ã‚³ãƒ”ーã—ã¾ã™ã€‚ +; コピーã§ããªã‹ã£ãŸãƒ•ã‚¡ã‚¤ãƒ«ï¼ãƒ•ã‚©ãƒ«ãƒ€ã®æ•°ã‚’è¿”ã™ã€‚ { ErrorCount := 0 ; ã¾ãšã€ã™ã¹ã¦ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’コピーã—ã¾ã™ï¼ˆãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã¯ã‚³ãƒ”ーã—ã¾ã›ã‚“): diff --git a/target/docs/lib/FileCreateShortcut.htm b/target/docs/lib/FileCreateShortcut.htm index f59886cd4..282af1e83 100644 --- a/target/docs/lib/FileCreateShortcut.htm +++ b/target/docs/lib/FileCreateShortcut.htm @@ -20,55 +20,55 @@

      パラメータ

      Target
      -

      Type: String

      +

      型:文字列

      ショートカットãŒå‚ç…§ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰ã€‚ãã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒã‚·ã‚¹ãƒ†ãƒ ã¨çµ±åˆã•ã‚Œã¦ã„ãªã„é™ã‚Šã€çµ¶å¯¾ãƒ‘スをå«ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ï¼ˆä¾‹ï¼šNotepad.exe)。ショートカットã®ä½œæˆæ™‚ã«ãƒ•ã‚¡ã‚¤ãƒ«ãŒå­˜åœ¨ã™ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“ãŒã€å­˜åœ¨ã—ãªã„å ´åˆã€ã‚·ã‚¹ãƒ†ãƒ ã«ã‚ˆã£ã¦ã¯äºˆæœŸã›ã¬æ–¹æ³•ã§ãƒ‘スãŒå¤‰æ›´ã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚

      LinkFile
      -

      Type: String

      +

      型:文字列

      作æˆã™ã‚‹ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚å¿…ãšæ‹¡å¼µå­.lnkを付ã‘ã¦ãã ã•ã„。ä¿å­˜å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã™ã§ã«å­˜åœ¨ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ファイルãŒã™ã§ã«å­˜åœ¨ã™ã‚‹å ´åˆã¯ã€ä¸Šæ›¸ãã•ã‚Œã¾ã™ã€‚

      WorkingDir
      -

      Type: String

      +

      型:文字列

      If blank or omitted, LinkFile will have a blank "Start in" field and the system will provide a default working directory when the shortcut is launched. Otherwise, specify the directory that will become Target's current working directory when the shortcut is launched.

      Args
      -

      Type: String

      +

      型:文字列

      If blank or omitted, Target will be launched without parameters. Otherwise, specify the parameters that will be passed to Target when it is launched. パラメータã¯ã‚¹ãƒšãƒ¼ã‚¹ã§åŒºåˆ‡ã£ã¦ãã ã•ã„。パラメータã«ã‚¹ãƒšãƒ¼ã‚¹ãŒå«ã¾ã‚Œã‚‹å ´åˆã¯ã€äºŒé‡å¼•ç”¨ç¬¦ã§å›²ã‚“ã§ãã ã•ã„。

      説明
      -

      Type: String

      +

      型:文字列

      If blank or omitted, LinkFile will have no description. Otherwise, specify comments that describe the shortcut (used by the OS to display a tooltip, etc.)

      IconFile
      -

      Type: String

      +

      型:文字列

      If blank or omitted, LinkFile will have Target's icon. Otherwise, specify the full path and name of the icon to be displayed for LinkFile. It must either be an .ICO file or the very first icon of an EXE or DLL file.

      ShortcutKey
      -

      Type: String

      +

      型:文字列

      If blank or omitted, LinkFile will have no shortcut key. Otherwise, specify a single letter, number, or the name of a single key from the key list (mouse buttons and other non-standard keys might not be supported). Do not include modifier symbols. Currently, all shortcut keys are created as Ctrl+Alt shortcuts. For example, if the letter B is specified for this parameter, the shortcut key will be Ctrl+Alt+B.

      IconNumber
      -

      Type: Integer

      +

      型:整数

      çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€åˆæœŸå€¤ã¯ 1 ã§ã™ã€‚Otherwise, specify the number of the icon to be used in IconFile. 例ãˆã°ã€2ã¯2番目ã®ã‚¢ã‚¤ã‚³ãƒ³ã§ã™ã€‚

      RunState
      -

      Type: Integer

      +

      型:整数

      çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€åˆæœŸå€¤ã¯ 1 ã§ã™ã€‚Otherwise, specify one of the following digits to launch Target minimized or maximized:

      • 1 = Normal
      • @@ -89,7 +89,7 @@

        備考

        上記ã«å¯¾ã—ã¦ã€ã‚¢ã‚¤ã‚³ãƒ³ã‚’付与ã™ã‚‹ãŸã‚ã«ã€ä»¥ä¸‹ã‚’ä»»æ„ã«è¿½åŠ ã™ã‚‹ã“ã¨ãŒã§ãる:

        IniWrite <IconFile>, "C:\My Shortcut.url", "InternetShortcut", "IconFile"
         IniWrite 0, "C:\My Shortcut.url", "InternetShortcut", "IconIndex"
        -

        上記ã§ã€0をアイコンã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã«ç½®ãæ›ãˆï¼ˆæœ€åˆã®ã‚¢ã‚¤ã‚³ãƒ³ã«ã¯0ãŒä½¿ã‚れる)ã€ãã®ä»£ã‚ã‚Šã« <IconFile>ã‚’ã€URLã€EXEã€DLLã€ICO ファイルã¨ä¸€ç·’ã«é€ä¿¡ã—ã¾ã™ã€‚Examples: "C:\Icons.dll", "C:\App.exe", "https://www.somedomain.com/ShortcutIcon.ico"

        +

        上記ã§ã€0をアイコンã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã«ç½®ãæ›ãˆï¼ˆæœ€åˆã®ã‚¢ã‚¤ã‚³ãƒ³ã«ã¯0ãŒä½¿ã‚れる)ã€ãã®ä»£ã‚ã‚Šã« <IconFile>ã‚’ã€URLã€EXEã€DLLã€ICO ファイルã¨ä¸€ç·’ã«é€ä¿¡ã—ã¾ã™ã€‚例:"C:\Icons.dll", "C:\App.exe", "https://www.somedomain.com/ShortcutIcon.ico"

        OSã¯ã€.LNKファイルã§ã¯ãªãプレーンテキストファイルã§ã‚ã£ã¦ã‚‚ã€ä¸Šè¨˜ã«ã‚ˆã£ã¦ä½œæˆã•ã‚ŒãŸ.URLファイルを本物ã®ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã¨ã—ã¦æ‰±ã„ã¾ã™ã€‚

        FileGetShortcut, FileAppend

        diff --git a/target/docs/lib/FileDelete.htm b/target/docs/lib/FileDelete.htm index bcbe6bc29..3c43a48f9 100644 --- a/target/docs/lib/FileDelete.htm +++ b/target/docs/lib/FileDelete.htm @@ -20,7 +20,7 @@

        パラメータ

        FilePattern
        -

        Type: String

        +

        型:文字列

        å˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«åã€ã¾ãŸã¯ "C:\Temp\*.tmp" ã®ã‚ˆã†ãªãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãƒ‘ターンを指定ã—ã¾ã™ã€‚FilePatternã¯ã€çµ¶å¯¾ãƒ‘スãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚

        フォルダ全体をã€ãã®ã‚µãƒ–フォルダやファイルã¨ã¨ã‚‚ã«å‰Šé™¤ã™ã‚‹ã«ã¯ã€DirDeleteを使用ã—ã¾ã™ã€‚

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

        エラー処ç†

        備考

        ファイルをã”ã¿ç®±ã«é€ã‚‹ã¨ãã¯ã€FileRecycle関数を使ã£ã¦ãã ã•ã„。

        -

        読ã¿å–り専用ファイルを削除ã™ã‚‹ã«ã¯ã€ã¾ãšèª­ã¿å–り専用属性を削除ã—ã¾ã™ã€‚For example: FileSetAttrib "-R", "C:\My File.txt".

        +

        読ã¿å–り専用ファイルを削除ã™ã‚‹ã«ã¯ã€ã¾ãšèª­ã¿å–り専用属性を削除ã—ã¾ã™ã€‚事例:FileSetAttrib "-R", "C:\My File.txt".

        FileRecycle, DirDelete, FileCopy, FileMove

        例

        diff --git a/target/docs/lib/FileEncoding.htm b/target/docs/lib/FileEncoding.htm index 23b0c6cfd..8346846af 100644 --- a/target/docs/lib/FileEncoding.htm +++ b/target/docs/lib/FileEncoding.htm @@ -20,7 +20,7 @@

        パラメータ

        エンコード
        -

        Type: String or Integer

        +

        型:文字列ã¾ãŸã¯æ•´æ•°

        以下ã®ã„ãšã‚Œã‹ã®å€¤ã‚’指定ã—ã¾ã™ã€‚

        CP0 or empty string: The system default ANSI code page. See remarks below.

        UTF-8:Unicode UTF-8ã€CP65001ã¨åŒç­‰ã§ã™ã€‚

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

        パラメータ

        戻り値

        -

        Type: String

        +

        型:文字列

        å‰ã®è¨­å®šã«æˆ»ã™æ©Ÿèƒ½ã§ã™ã€‚

        備考

        diff --git a/target/docs/lib/FileExist.htm b/target/docs/lib/FileExist.htm index 61566f661..ee5ca52e1 100644 --- a/target/docs/lib/FileExist.htm +++ b/target/docs/lib/FileExist.htm @@ -20,14 +20,14 @@

        パラメータ

        FilePattern
        -

        Type: String

        +

        型:文字列

        ãƒã‚§ãƒƒã‚¯ã™ã‚‹ãƒ‘スã€ãƒ•ã‚¡ã‚¤ãƒ«åã€ã¾ãŸã¯ãƒ•ã‚¡ã‚¤ãƒ«ãƒ‘ターンを指定ã—ã¾ã™ã€‚FilePatternã¯ã€çµ¶å¯¾ãƒ‘スãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚

        戻り値

        -

        Type: String

        +

        型:文字列

        ã“ã®é–¢æ•°ã¯ã€æœ€åˆã«ãƒžãƒƒãƒã—ãŸãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ•ã‚©ãƒ«ãƒ€ã®å±žæ€§ã‚’è¿”ã—ã¾ã™ã€‚ã“ã®æ–‡å­—列ã¯RASHNDOCTLã®éƒ¨åˆ†é›†åˆã§ã€å„文字ã¯æ¬¡ã®ã‚ˆã†ãªæ„味をæŒã£ã¦ã„ã¾ã™ï¼š

        • R = READONLY
        • diff --git a/target/docs/lib/FileGetAttrib.htm b/target/docs/lib/FileGetAttrib.htm index 151db9eec..e8ab3ebf5 100644 --- a/target/docs/lib/FileGetAttrib.htm +++ b/target/docs/lib/FileGetAttrib.htm @@ -21,14 +21,14 @@

          パラメータ

          Filename
          -

          Type: String

          +

          型:文字列

          çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€ã‚‚内å´ã® file loop 中ã®ç¾åœ¨ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚Otherwise, specify the name of the target file, which is assumed to be in A_WorkingDir if an absolute path isn't specified. FileExistã‚„ DirExistã¨ã¯ç•°ãªã‚Šã€ãƒ‘ターンã§ã¯ãªãã€æœ¬å½“ã®ãƒ•ã‚¡ã‚¤ãƒ«åã§ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

          戻り値

          -

          Type: String

          +

          型:文字列

          ã“ã®é–¢æ•°ã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ•ã‚©ãƒ«ãƒ€ã®å±žæ€§ã‚’è¿”ã™ã€‚ã“ã®æ–‡å­—列ã¯RASHNDOCTLã®éƒ¨åˆ†é›†åˆã§ã€å„文字ã¯æ¬¡ã®ã‚ˆã†ãªæ„味をæŒã£ã¦ã„ã¾ã™ï¼š

          • R = READONLY
          • diff --git a/target/docs/lib/FileGetShortcut.htm b/target/docs/lib/FileGetShortcut.htm index 95ac26996..4f1a38c1f 100644 --- a/target/docs/lib/FileGetShortcut.htm +++ b/target/docs/lib/FileGetShortcut.htm @@ -20,49 +20,49 @@

            パラメータ

            LinkFile
            -

            Type: String

            +

            型:文字列

            解æžã™ã‚‹ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚å¿…ãšæ‹¡å¼µå­.lnkを付ã‘ã¦ãã ã•ã„。

            &OutTarget
            -

            Type: VarRef

            -

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's target (not including any arguments it might have). For example: C:\WINDOWS\system32\notepad.exe

            +

            型:VarRef

            +

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's target (not including any arguments it might have). 事例:C:\WINDOWS\system32\notepad.exe

            &OutDir
            -

            Type: VarRef

            -

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's working directory. For example: C:\My Documents. If environment variables such as %WinDir% are present in the string, one way to resolve them is via StrReplace. For example: OutDir := StrReplace(OutDir, "%WinDir%", A_WinDir)

            +

            型:VarRef

            +

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's working directory. 事例:C:\My Documents. If environment variables such as %WinDir% are present in the string, one way to resolve them is via StrReplace. 事例:OutDir := StrReplace(OutDir, "%WinDir%", A_WinDir)

            &OutArgs
            -

            Type: VarRef

            +

            型:VarRef

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's parameters (blank if none).

            &OutDescription
            -

            Type: VarRef

            +

            型:VarRef

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's comments (blank if none).

            &OutIcon
            -

            Type: VarRef

            +

            型:VarRef

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the filename of the shortcut's icon (blank if none).

            &OutIconNum
            -

            Type: VarRef

            +

            型:VarRef

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's icon number within the icon file (blank if none). ã“ã®å€¤ã¯ã€å¤šãã®å ´åˆã€1ã§ã‚ã‚Šã€æœ€åˆã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’æ„味ã—ã¾ã™ã€‚

            &OutRunState
            -

            Type: VarRef

            +

            型:VarRef

            çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the shortcut's initial launch state, which is one of the following digits:

            • 1 = Normal
            • diff --git a/target/docs/lib/FileGetSize.htm b/target/docs/lib/FileGetSize.htm index 3ff3bf090..d9b13640e 100644 --- a/target/docs/lib/FileGetSize.htm +++ b/target/docs/lib/FileGetSize.htm @@ -20,13 +20,13 @@

              パラメータ

              Filename
              -

              Type: String

              +

              型:文字列

              çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€ã‚‚内å´ã® file loop 中ã®ç¾åœ¨ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚Otherwise, specify the name of the target file, which is assumed to be in A_WorkingDir if an absolute path isn't specified.

              Units
              -

              Type: String

              +

              型:文字列

              If blank or omitted, it defaults to B. Otherwise, specify one of the following letters to cause the result to be returned in specific units:

              • B = Bytes
              • @@ -38,7 +38,7 @@

                パラメータ

                戻り値

                -

                Type: Integer

                +

                型:整数

                説明: 指定ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚µã‚¤ã‚ºã‚’è¿”ã™ï¼ˆå°æ•°ç‚¹ä»¥ä¸‹ã¯åˆ‡ã‚Šæ¨ã¦ï¼‰ã€‚

                エラー処ç†

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

                備考

                対象ファイルãŒãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®å ´åˆã€OSãŒè€ƒãˆã‚‹ã‚µã‚¤ã‚ºã¨ã—ã¦å ±å‘Šã•ã‚Œã¾ã™ï¼ˆãŠãらãã™ã¹ã¦ã®å ´åˆã«ãŠã„ã¦ã‚¼ãƒ­ï¼‰ã€‚

                ã™ã¹ã¦ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å«ã‚€ãƒ•ã‚©ãƒ«ãƒ€ã®ã‚µã‚¤ã‚ºã‚’計算ã™ã‚‹ã«ã¯ã€æ¬¡ã®ä¾‹ã«å¾“ã„ã¾ã™ï¼š

                FolderSize := 0
                -WhichFolder := DirSelect()  ; Ask the user to pick a folder.
                +WhichFolder := DirSelect()  ; フォルダーをé¸ã‚“ã§ã‚‚らã„ã¾ã™ã€‚
                 Loop Files, WhichFolder "\*.*", "R"
                     FolderSize += A_LoopFileSize
                 MsgBox "Size of " WhichFolder " is " FolderSize " bytes."
                diff --git a/target/docs/lib/FileGetTime.htm b/target/docs/lib/FileGetTime.htm index ed6f0a722..17c21f069 100644 --- a/target/docs/lib/FileGetTime.htm +++ b/target/docs/lib/FileGetTime.htm @@ -20,13 +20,13 @@

                パラメータ

                Filename
                -

                Type: String

                +

                型:文字列

                çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€ã‚‚内å´ã® file loop 中ã®ç¾åœ¨ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚Otherwise, specify the name of the target file or folder, which is assumed to be in A_WorkingDir if an absolute path isn't specified.

                WhichTime
                -

                Type: String

                +

                型:文字列

                If blank or omitted, it defaults to M. Otherwise, specify one of the following letters to set which timestamp should be retrieved:

                • Mï¼ä¿®æ­£æ™‚é–“
                • @@ -38,7 +38,7 @@

                  パラメータ

                  戻り値

                  -

                  Type: String

                  +

                  型:文字列

                  ã“ã®é–¢æ•°ã¯ã€YYYYMMDDHH24MISSå½¢å¼ã®æ•°å­—列を返ã—ã¾ã™ã€‚時刻ã¯UTC/GMTã§ã¯ãªãã€ã”自身ã®ç¾åœ°æ™‚é–“ã§ã™ã€‚ã“ã®æ–‡å­—列ã¯æ•°å€¤ã¨ã—ã¦æ‰±ãˆã¾ã›ã‚“。ã¤ã¾ã‚Šè¨ˆç®—ã—ãŸã‚Šã€æ•°ã¨ã—ã¦æ¯”較ã¯ã§ãã¾ã›ã‚“。

                  エラー処ç†

                  diff --git a/target/docs/lib/FileGetVersion.htm b/target/docs/lib/FileGetVersion.htm index 14c0b1aa2..65a805994 100644 --- a/target/docs/lib/FileGetVersion.htm +++ b/target/docs/lib/FileGetVersion.htm @@ -20,14 +20,14 @@

                  パラメータ

                  Filename
                  -

                  Type: String

                  +

                  型:文字列

                  çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€ã‚‚内å´ã® file loop 中ã®ç¾åœ¨ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€ç›®çš„ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒæŒ‡å®šã•ã‚Œã¾ã™ã€‚フルパスãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã¯ã€ã‚·ã‚¹ãƒ†ãƒ ã®LoadLibrary関数ã§æŒ‡å®šã•ã‚ŒãŸæ¤œç´¢é †åºã‚’使用ã—ã¾ã™ã€‚

                  戻り値

                  -

                  Type: String

                  +

                  型:文字列

                  説明: 指定ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’è¿”ã™ã€‚

                  エラー処ç†

                  diff --git a/target/docs/lib/FileInstall.htm b/target/docs/lib/FileInstall.htm index 31c4599e5..8a209f5a2 100644 --- a/target/docs/lib/FileInstall.htm +++ b/target/docs/lib/FileInstall.htm @@ -20,20 +20,20 @@

                  パラメータ

                  Source
                  -

                  Type: String

                  +

                  型:文字列

                  コンパイルã•ã‚ŒãŸEXEã«è¿½åŠ ã•ã‚Œã‚‹å˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«å。絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã€ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã‚¹ã‚¯ãƒªãƒ—ト自身ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚る(ã¾ãŸã¯ç›¸å¯¾çš„ãªï¼‰ã‚‚ã®ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚

                  ã“ã®ãƒ‘ラメータã¯ã€å¼•ç”¨ç¬¦ã§å›²ã¾ã‚ŒãŸãƒªãƒ†ãƒ©ãƒ«æ–‡å­—列(変数やãã®ä»–ã®å¼ã§ã¯ãªã„)ã§ãªã‘ã‚Œã°ãªã‚‰ãšã€é–¢æ•°åFileInstallã®å³å´ã«è¨˜è¼‰ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ï¼ˆã¤ã¾ã‚Šã€ãã®ä¸‹ã®ç¶™ç¶šè¡Œã«è¨˜è¼‰ã—ã¦ã¯ã„ã‘ã¾ã›ã‚“)。

                  Dest
                  -

                  Type: String

                  +

                  型:文字列

                  EXEã‹ã‚‰Sourceを展開ã™ã‚‹éš›ã«ã€ä½œæˆã•ã‚Œã‚‹ãƒ•ã‚¡ã‚¤ãƒ«åã§ã™ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚ä¿å­˜å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã™ã§ã«å­˜åœ¨ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

                  Overwrite
                  -

                  Type: Integer

                  +

                  型:整数

                  çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯ 0 ã§ã™ã€‚Otherwise, specify one of the following numbers to indicate whether to overwrite files if they already exist:

                  0: Do not overwrite existing files. The operation will fail and have no effect if Dest already exists.

                  1: Overwrite existing files.

                  diff --git a/target/docs/lib/FileMove.htm b/target/docs/lib/FileMove.htm index 9af5c8011..eaf90f492 100644 --- a/target/docs/lib/FileMove.htm +++ b/target/docs/lib/FileMove.htm @@ -20,13 +20,13 @@

                  パラメータ

                  SourcePattern
                  -

                  Type: String

                  +

                  型:文字列

                  å˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«åã€ã¾ãŸã¯ "C:\Temp\*.tmp" ã®ã‚ˆã†ãªãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãƒ‘ターンを指定ã—ã¾ã™ã€‚SourcePattern is assumed to be in A_WorkingDir if an absolute path isn't specified.

                  DestPattern
                  -

                  Type: String

                  +

                  型:文字列

                  絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã‚‹ã€ä¿å­˜å…ˆã®åå‰ã¾ãŸã¯ãƒ‘ターン。

                  ã“ã®å ´åˆã€ãƒ•ã‚¡ã‚¤ãƒ«åã®æœ€åˆã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ï¼ˆ*)ã¯ã€æ‹¡å¼µå­ã‚’除ã„ãŸã‚½ãƒ¼ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«åã«ç½®ãæ›ãˆã‚‰ã‚Œã€æœ€å¾Œã®ãƒ•ãƒ«ã‚¹ãƒˆãƒƒãƒ—(.)以é™ã®æœ€åˆã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®æ‹¡å¼µå­ã«ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ã€‚アスタリスクãŒã‚ã£ã¦ã‚‚æ‹¡å¼µå­ãŒçœç•¥ã•ã‚ŒãŸå ´åˆã¯ã€ã‚½ãƒ¼ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®æ‹¡å¼µå­ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚

                  既存ã®ãƒ•ã‚¡ã‚¤ãƒ«åを残ã—ãŸã¾ã¾ã€å˜ç´”ã«ç§»å‹•ã™ã‚‹å ´åˆã¯ã€ä»¥ä¸‹ã®ä¾‹ã®ã‚ˆã†ã«ãƒ•ã‚©ãƒ«ãƒ€åã®ã¿ã‚’指定ã—ã¾ã™ï¼š

                  @@ -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: Do not overwrite existing files. The operation will fail and have no effect if DestPattern already exists as a file or directory.

                  1: Overwrite existing files. However, any files or subfolders inside DestPattern that do not have a counterpart in SourcePattern will not be deleted.

                  @@ -80,8 +80,8 @@

                  例

                  MsgBox ErrorCount " files/folders could not be moved." MoveFilesAndFolders(SourcePattern, DestinationFolder, DoOverwrite := false) -; Moves all files and folders matching SourcePattern into the folder named DestinationFolder and -; returns the number of files/folders that could not be moved. +; SourcePatternã«ä¸€è‡´ã™ã‚‹ã™ã¹ã¦ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¨ãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã‚’DestinationFolderã¨ã„ã†ãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã«ç§»å‹•ã— +; 移動ã§ããªã‹ã£ãŸãƒ•ã‚¡ã‚¤ãƒ«ï¼ãƒ•ã‚©ãƒ«ãƒ€ã®æ•°ã‚’è¿”ã™ã€‚ { ErrorCount := 0 if DoOverwrite = 1 diff --git a/target/docs/lib/FileOpen.htm b/target/docs/lib/FileOpen.htm index 85b20122a..766cac6ea 100644 --- a/target/docs/lib/FileOpen.htm +++ b/target/docs/lib/FileOpen.htm @@ -25,24 +25,24 @@

                  パラメータ

                  Filename
                  -

                  Type: String

                  +

                  型:文字列

                  é–‹ãファイルã®ãƒ‘ス。絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚

                  以下ã®ã‚ˆã†ã«ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ï¼ˆã¾ãŸã¯2ã¤ï¼‰ã‚’指定ã™ã‚‹ã¨ã€æ¨™æº–入力ï¼å‡ºåŠ›ï¼ã‚¨ãƒ©ãƒ¼ã‚¹ãƒˆãƒªãƒ¼ãƒ ã‚’é–‹ãã“ã¨ãŒã§ãã¾ã™ï¼š

                  -FileOpen("*", "r")   ; for stdin
                  -FileOpen("*", "w")   ; for stdout
                  -FileOpen("**", "w")  ; for stderr
                  +FileOpen("*", "r") ; 標準入力用 +FileOpen("*", "w") ; 標準出力用 +FileOpen("**", "w") ; 標準エラー用
                  Flags
                  -

                  Type: String or Integer

                  +

                  型:文字列ã¾ãŸã¯æ•´æ•°

                  希望ã™ã‚‹ã‚¢ã‚¯ã‚»ã‚¹ãƒ¢ãƒ¼ãƒ‰ã‚’示ã™æ–‡å­—列ã®å¾Œã«ä»–ã®ã‚ªãƒ—ション(オプションã§ç©ºç™½ã¾ãŸã¯ã‚¿ãƒ–を挟む)ãŒç¶šãã‹ã€ã¾ãŸã¯æ•°å€¤ãƒ•ãƒ©ã‚°ã®çµ„ã¿åˆã‚ã›ï¼ˆåˆè¨ˆï¼‰ã§ã™ã€‚サãƒãƒ¼ãƒˆã•ã‚Œã‚‹å€¤ã¯ã€ä»¥ä¸‹ã®è¡¨ã®ã¨ãŠã‚Šã§ã™ã€‚

                  エンコード
                  -

                  Type: String or Integer

                  +

                  型:文字列ã¾ãŸã¯æ•´æ•°

                  If omitted, the default encoding (as set by FileEncoding or CP0 otherwise) will be used. If blank, it defaults to CP0 (the system default ANSI code page). Otherwise, specify the encoding or code page to use for text I/O, e.g. "UTF-8", "UTF-16", "CP936" or 936.

                  If the file contains a UTF-8 or UTF-16 byte order mark (BOM), or if the h (handle) flag is used, this parameter and the default encoding will be ignored, unless the file is being opened with write-only access (i.e. the previous contents of the file are being discarded).

                  @@ -154,7 +154,7 @@

                  End of line (EOL) options

      not ready書ãè¾¼ã¿ä¸­ã®ãŸã‚ã‹ã€ãƒ‰ãƒ©ã‚¤ãƒ–ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹æº–å‚™ãŒã§ãã¦ã„ã¾ã›ã‚“。Known limitation: "not ready" also occurs when the drive contains a DVD rather than a CD.書ãè¾¼ã¿ä¸­ã®ãŸã‚ã‹ã€ãƒ‰ãƒ©ã‚¤ãƒ–ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹æº–å‚™ãŒã§ãã¦ã„ã¾ã›ã‚“。既知ã®åˆ¶é™ï¼š"not ready "ã¯ã€ãƒ‰ãƒ©ã‚¤ãƒ–ã«CDã§ã¯ãªãDVDãŒå…¥ã£ã¦ã„ã‚‹å ´åˆã«ã‚‚発生ã—ã¾ã™ã€‚
      open

      戻り値

      -

      Type: Object

      +

      型:Object

      戻り値ã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ã¸ã®ã‚ªãƒ¼ãƒ—ンãƒãƒ³ãƒ‰ãƒ«ã‚’カプセル化ã—ãŸæ–°ã—ã„Fileオブジェクトã§ã™ã€‚ã“ã®ã‚ªãƒ–ジェクトã®ãƒ¡ã‚½ãƒƒãƒ‰ã¨ãƒ—ロパティを使用ã—ã¦ã€ãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã«ã‚¢ã‚¯ã‚»ã‚¹ã—ã¾ã™ã€‚

      エラー

      @@ -180,26 +180,26 @@

      例

      catch as Err { MsgBox "Can't open '" FileName "' for writing." - . "`n`n" Type(Err) ": " Err.Message + . "`n`n" Type(Err) ":" Err.Message return } -TestString := "This is a test string.`r`n" ; When writing a file this way, use `r`n rather than `n to start a new line. +TestString := "This is a test string.`r`n" ; ã“ã®æ–¹æ³•ã§ãƒ•ã‚¡ã‚¤ãƒ«ã‚’書ãå ´åˆã€æ”¹è¡Œã«ã¯ `n ã§ã¯ãªã `r`n を使用ã—ã¾ã™ã€‚ FileObj.Write(TestString) FileObj.Close() -; Now that the file was written, read its contents back into memory. +; ファイルãŒæ›¸ãè¾¼ã¾ã‚ŒãŸã®ã§ã€ãã®å†…容をメモリã«èª­ã¿è¿”ã—ã¦ãã ã•ã„。 try - FileObj := FileOpen(FileName, "r-d") ; read the file ("r"), share all access except for delete ("-d") + FileObj := FileOpen(FileName, "r-d") ; read the file ("r")ã¯ã€å‰Šé™¤ï¼ˆ"-d")を除ãã™ã¹ã¦ã®ã‚¢ã‚¯ã‚»ã‚¹ã‚’共有ã—ã¾ã™ã€‚ catch as Err { MsgBox "Can't open '" FileName "' for reading." - . "`n`n" Type(Err) ": " Err.Message + . "`n`n" Type(Err) ":" Err.Message return } CharsToRead := StrLen(TestString) TestString := FileObj.Read(CharsToRead) FileObj.Close() -MsgBox "The following string was read from the file: " TestString
      +MsgBox "The following string was read from the file:" TestString
    @@ -210,16 +210,16 @@

    例

    標準入出力ストリームã®ä½¿ã„方を説明ã—ã¾ã™ã€‚

    -
    ; Open a console window for this demonstration:
    +
    ; ã“ã®ãƒ‡ãƒ¢ã®ãŸã‚ã«ã‚³ãƒ³ã‚½ãƒ¼ãƒ«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’é–‹ã„ã¦ãã ã•ã„:
     DllCall("AllocConsole")
    -; Open the application's stdin/stdout streams.
    +; アプリケーションã®stdin/stdoutストリームをオープンã—ã¾ã™ã€‚
     stdin  := FileOpen("*", "r")
     stdout := FileOpen("*", "w")
     stdout.Write("Enter your query.`n\> ")
    -stdout.Read(0) ; Flush the write buffer.
    +stdout.Read(0) ; 書ãè¾¼ã¿ãƒãƒƒãƒ•ã‚¡ã‚’フラッシュã—ã¾ã™ã€‚
     query := RTrim(stdin.ReadLine(), "`n")
     stdout.WriteLine("Your query was '" query "'. Have a nice day.")
    -stdout.Read(0) ; Flush the write buffer.
    +stdout.Read(0) ; 書ãè¾¼ã¿ãƒãƒƒãƒ•ã‚¡ã‚’フラッシュã—ã¾ã™ã€‚
     Sleep 5000
     
    diff --git a/target/docs/lib/FileRead.htm b/target/docs/lib/FileRead.htm index 669dc7c0c..74f2bb644 100644 --- a/target/docs/lib/FileRead.htm +++ b/target/docs/lib/FileRead.htm @@ -20,25 +20,25 @@

    パラメータ

    Filename
    -

    Type: String

    +

    型:文字列

    絶対パスãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€A_WorkingDirã«ã‚ã‚‹ã¨ä»®å®šã•ã‚Œã¾ã™ã€‚

    Options
    -

    Type: String

    -

    以下ã®æ–‡å­—列ã®ã†ã¡ã€0個以上。å„オプションã¨æ¬¡ã®ã‚ªãƒ—ションã¯ã€1ã¤ã®ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ã§åŒºåˆ‡ã£ã¦ãã ã•ã„。For example: "`n m5000 UTF-8"

    +

    型:文字列

    +

    以下ã®æ–‡å­—列ã®ã†ã¡ã€0個以上。å„オプションã¨æ¬¡ã®ã‚ªãƒ—ションã¯ã€1ã¤ã®ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ã§åŒºåˆ‡ã£ã¦ãã ã•ã„。事例:"`n m5000 UTF-8"

    Encoding: Specify any of the encoding names accepted by FileEncoding (excluding the empty string) to use that encoding if the file lacks a UTF-8 or UTF-16 byte order mark. çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯A_FileEncodingã¨ãªã‚‹ã€‚

    RAW: Specify the word RAW (case-insensitive) to read the file's content as raw binary data and return a Buffer object instead of a string. ã“ã®ã‚ªãƒ—ションã¯ã€ä»¥å‰ã«æŒ‡å®šã•ã‚ŒãŸã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’上書ãã—ã€ãã®é€†ã‚‚ã¾ãŸç„¶ã‚Šã§ã™ã€‚

    m1024: If this option is omitted, the entire file is loaded unless there is insufficient memory, in which case an error message is shown and the thread exits (but Try can be used to avoid this). ãれ以外ã®å ´åˆã¯ã€1024ã‚’10進数ã¾ãŸã¯16進数ã®ãƒã‚¤ãƒˆæ•°ã«ç½®ãæ›ãˆã¦ãã ã•ã„。ã“れより大ããªãƒ•ã‚¡ã‚¤ãƒ«ã®å ´åˆã¯ã€ãã®å…ˆé ­éƒ¨åˆ†ã®ã¿ã‚’読ã¿è¾¼ã¿ã¾ã™ã€‚

    Note: This might result in the last line ending in a naked carriage return (`r) rather than `r`n.

    -

    `n (a linefeed character): Replaces any/all occurrences of carriage return & linefeed (`r`n) with linefeed (`n). ã—ã‹ã—ã€ã“ã®ç¿»è¨³ã¯ãƒ‘フォーマンスを低下ã•ã›ã‚‹ã®ã§ã€é€šå¸¸ã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“。例ãˆã°ã€`r`nã‚’å«ã‚€ãƒ†ã‚­ã‚¹ãƒˆã¯ã€Gui Editコントロールã«è¿½åŠ ã™ã‚‹ã®ã«é©ã—ãŸãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã«ãªã£ã¦ã„ã¾ã™ã€‚The following parsing loop will work correctly regardless of whether each line ends in `r`n or just `n: Loop Parse, MyFileContents, "`n", "`r".

    +

    `n(改行文字):キャリッジリターンã¨ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰(`r`n)をラインフィード(`n)ã«ç½®ãæ›ãˆã‚‹ã€‚ã—ã‹ã—ã€ã“ã®ç¿»è¨³ã¯ãƒ‘フォーマンスを低下ã•ã›ã‚‹ã®ã§ã€é€šå¸¸ã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“。例ãˆã°ã€`r`nã‚’å«ã‚€ãƒ†ã‚­ã‚¹ãƒˆã¯ã€Gui Editコントロールã«è¿½åŠ ã™ã‚‹ã®ã«é©ã—ãŸãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã«ãªã£ã¦ã„ã¾ã™ã€‚以下ã®è§£æžãƒ«ãƒ¼ãƒ—ã¯ã€å„è¡Œã®æœ«å°¾ãŒ `r`n ã§ã‚ã‚ã†ã¨ `n ã ã‘ã§ã‚ã‚ã†ã¨ã€æ­£ã—ã動作ã—ã¾ã™ï¼šLoop Parse, MyFileContents, "`n", "`r".

    戻り値

    -

    Type: String or Object

    +

    型:文字列ã¾ãŸã¯ã‚ªãƒ–ジェクト

    説明: 指定ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã®å†…容を返ã—ã¾ã™ã€‚The return value is a Buffer object if the RAW option is in effect and the file can be opened; otherwise, it is a string. ファイルãŒå­˜åœ¨ã—ãªã„ã‹ã€ãã®ä»–ã®ç†ç”±ã§ã‚ªãƒ¼ãƒ—ンã§ããªã„å ´åˆã¯ã€ç©ºæ–‡å­—列ãŒè¿”ã•ã‚Œã¾ã™ã€‚

    エラー処ç†

    @@ -49,11 +49,11 @@

    エラー処ç†

    ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã®èª­ã¿å–ã‚Š

    RAWオプションを使用ã—ãŸå ´åˆã€æˆ»ã‚Šå€¤ã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ã®æœªä¿®æ­£ã®å†…容をå«ã‚€Bufferオブジェクトã¨ãªã‚‹ã€‚オブジェクトã®Sizeプロパティã¯ã€èª­ã¿è¾¼ã‚“ã ãƒã‚¤ãƒˆæ•°ã‚’è¿”ã—ã¾ã™ã€‚NumGetã¾ãŸã¯StrGetを使用ã—ã¦ã€ãƒãƒƒãƒ•ã‚¡ã‹ã‚‰ãƒ‡ãƒ¼ã‚¿ã‚’å–å¾—ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚事例:

    buf := FileRead(A_AhkPath, "RAW")
    -if StrGet(buf, 2, "cp0") == "MZ"  ; Looks like an executable file...
    +if StrGet(buf, 2, "cp0") == "MZ"  ; 実行ファイルã®ã‚ˆã†ã«è¦‹ãˆã‚‹ãŒ...。
     {
         ; COFF ファイルã®ãƒ˜ãƒƒãƒ€ãƒ¼ã‹ã‚‰ãƒžã‚·ãƒ³ã‚¿ã‚¤ãƒ—を読ã¿è¾¼ã¿ã¾ã™ã€‚
         machine := NumGet(buf, NumGet(buf, 0x3C, "uint") + 4, "ushort")
    -    machine := machine=0x8664 ?"x64" : machine=0x014C ?"x86" : "unknown"
    +    machine := machine=0x8664 ? "x64" : machine=0x014C ? "x86" : "unknown"
         ; マシンã®ç¨®é¡žã¨ãƒ•ã‚¡ã‚¤ãƒ«ã‚µã‚¤ã‚ºã‚’表示ã—ã¾ã™ã€‚
         MsgBox "This " machine " executable is " buf.Size " bytes."
     }
    @@ -83,7 +83,7 @@ 

    例

    Contents := Sort(Contents) FileDelete "C:\Address List (alphabetical).txt" FileAppend Contents, "C:\Address List (alphabetical).txt" -Contents := "" ; Free the memory. +Contents := "" ; メモリを解放ã—ã¾ã™ã€‚
    diff --git a/target/docs/lib/FileRecycle.htm b/target/docs/lib/FileRecycle.htm index 3074ddb6a..f5cbf764c 100644 --- a/target/docs/lib/FileRecycle.htm +++ b/target/docs/lib/FileRecycle.htm @@ -20,7 +20,7 @@

    パラメータ

    FilePattern
    -

    Type: String

    +

    型:文字列

    å˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«åã€ã¾ãŸã¯ "C:\Temp\*.tmp" ã®ã‚ˆã†ãªãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãƒ‘ターンを指定ã—ã¾ã™ã€‚FilePatternã¯ã€çµ¶å¯¾ãƒ‘スãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€A_WorkingDirã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚

    ディレクトリ全体をリサイクルã™ã‚‹å ´åˆã¯ã€æœ«å°¾ã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’除ã„ãŸåå‰ã‚’指定ã—ã¾ã™ã€‚

    diff --git a/target/docs/lib/FileRecycleEmpty.htm b/target/docs/lib/FileRecycleEmpty.htm index 8c3df757b..0802aea14 100644 --- a/target/docs/lib/FileRecycleEmpty.htm +++ b/target/docs/lib/FileRecycleEmpty.htm @@ -20,7 +20,7 @@

    パラメータ

    DriveLetter
    -

    Type: String

    +

    型:文字列

    çœç•¥ã—ãŸå ´åˆã¯ã€ã™ã¹ã¦ã®ãƒ‰ãƒ©ã‚¤ãƒ–ã®ã”ã¿ç®±ã‚’空ã«ã—ã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€ "C:\"ã®ã‚ˆã†ã«ãƒ‰ãƒ©ã‚¤ãƒ–を指定ã—ã¦ãã ã•ã„。

    diff --git a/target/docs/lib/FileSelect.htm b/target/docs/lib/FileSelect.htm index 535bfbde6..611fb9617 100644 --- a/target/docs/lib/FileSelect.htm +++ b/target/docs/lib/FileSelect.htm @@ -21,38 +21,42 @@

    パラメータ

    Options
    -

    Type: String or Integer

    +

    型:文字列ã¾ãŸã¯æ•´æ•°

    çœç•¥ã—ãŸã¨ãã¯ã€åˆæœŸè¨­å®šã¯0ã¨ãªã‚Šã¾ã™ã€‚次ã®ã‚ªãƒ—ションãŒä½•ã‚‚設定ã•ã‚Œãªã„ã®ã¨åŒã˜ã§ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€æ•°å­—ã¾ãŸã¯æ¬¡ã®æ–‡å­—を指定ã—ã¾ã™ã€‚文字ã®å¾Œã«æ•°å­—ãŒçµ„ã¿åˆã‚ã•ã‚Œã‚‹ã“ã¨ã‚‚ã‚ã‚Šã¾ã™ã€‚例ãˆã°ã€"M"ã€"1ã€"M1"ã¯ã™ã¹ã¦æœ‰åŠ¹ã§ã™ï¼ˆãŸã ã—ã€åŒç­‰ã§ã¯ã‚ã‚Šã¾ã›ã‚“)。

    D: Select Folder (Directory). Dを指定ã™ã‚‹ã¨ã€ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ãªãフォルダーをé¸æŠžã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ã“ã®ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é¸æŠžã™ã‚‹ã¨ãã¨ã»ã¼åŒã˜æ©Ÿèƒ½ã‚’æŒã¡ã¾ã™ãŒã€ãƒ•ã‚£ãƒ«ã‚¿ãƒ¼ã«ã¯å¯¾å¿œã—ã¦ã„ã¾ã›ã‚“(フィルターã¯çœç•¥ã•ã‚Œã‚‹ã‹ç©ºç™½ã«ãªã‚Šã¾ã™ã€‚)

    M: Multi-select. Mを指定ã™ã‚‹ã¨ã€ã‚·ãƒ•ãƒˆã‚¯ãƒªãƒƒã‚¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚¯ãƒªãƒƒã‚¯ãªã©ã§è¤‡æ•°ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é¸æŠžã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ã“ã®å ´åˆã€æˆ»ã‚Šå€¤ã¯æ–‡å­—列ã§ã¯ãªãã€é…列ã«ãªã‚Šã¾ã™ã€‚個々ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å–り出ã™ã«ã¯ã€ã“ã®ãƒšãƒ¼ã‚¸ä¸‹éƒ¨ã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。

    S: Save dialog. Sを指定ã™ã‚‹ã¨ã€ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã«å¸¸ã«ã€Œé–‹ãã€ãƒœã‚¿ãƒ³ã®ä»£ã‚ã‚Šã«ã€Œä¿å­˜ã€ãƒœã‚¿ãƒ³ãŒè¡¨ç¤ºã•ã‚Œã‚‹ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚

    以下ã®æ•°å­—を使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚複数を有効ã«ã™ã‚‹ã«ã¯ã€‚ã€ãれらを足ã—ç®—ã—ã¾ã™ã€‚例ãˆã°ã€1ã¨2を使ã†å ´åˆã¯ã€æ•°å­—ã®3を指定ã—ã¾ã™ã€‚

    -

    1: File Must Exist
    2: Path Must Exist
    8: Prompt to Create New File
    16: Prompt to Overwrite File
    32: Shortcuts (.lnk files) are selected as-is rather than being resolved to their targets. ã¾ãŸã€ã“ã®ã‚ªãƒ—ションã¯ã€ãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã«ã‚ˆã‚‹ãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã¸ã®ãƒŠãƒ“ゲーションを防止ã—ã¾ã™ã€‚

    +

    1: File Must Exist
    + 2: Path Must Exist
    + 8:æ–°ã—ã„ファイルを作æˆã™ã‚‹ã‹ã©ã†ã‹ã‚’確èªã—ã¾ã™ã€‚
    + 16:ファイルを上書ãã™ã‚‹ã‹ã©ã†ã‹ç¢ºèªã—ã¾ã™ã€‚
    + 32: Shortcuts (.lnk files) are selected as-is rather than being resolved to their targets. ã¾ãŸã€ã“ã®ã‚ªãƒ—ションã¯ã€ãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã«ã‚ˆã‚‹ãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã¸ã®ãƒŠãƒ“ゲーションを防止ã—ã¾ã™ã€‚

    As the "Prompt to Overwrite" option is supported only by the Save dialog, specifying that option without the "Prompt to Create" option also puts the S option into effect. Similarly, the "Prompt to Create" option has no effect when the S option is present. 24を指定ã™ã‚‹ã¨ã€ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã§ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã‚‹ã©ã®ã‚¿ã‚¤ãƒ—ã®ãƒ—ロンプトも有効ã«ãªã‚Šã¾ã™ã€‚

    RootDir\Filename
    -

    Type: String

    +

    型:文字列

    If blank or omitted, the starting directory will be a default that might depend on the OS version (it will likely be the directory most recently selected by the user during a prior use of FileSelect). Otherwise, specify one or both of the following:

    RootDir: The root (starting) directory, which is assumed to be a subfolder in A_WorkingDir if an absolute path is not specified.

    Filename: The default filename to initially show in the dialog's edit field. 裸ã®ãƒ•ã‚¡ã‚¤ãƒ«å(パスãªã—)ã®ã¿ãŒè¡¨ç¤ºã•ã‚Œã¾ã™ã€‚To ensure that the dialog is properly shown, ensure that no illegal characters are present (such as /<|:").

    例:

    -
    "C:\My Pictures\Default Image Name.gif"  ; Both RootDir and Filename are present.
    -"C:\My Pictures"  ; Only RootDir is present.
    -"My Pictures"  ; Only RootDir is present, and it's relative to the current working directory.
    -"My File"  ; Only Filename is present (but if "My File" exists as a folder, it is assumed to be RootDir).
    +
    "C:\My Pictures\Default Image Name.gif"  ; RootDirã¨Filenameã®ä¸¡æ–¹ãŒå­˜åœ¨ã—ã¾ã™ã€‚
    +"C:\My Pictures"  ; RootDirã®ã¿å­˜åœ¨ã—ã¾ã™ã€‚
    +"My Pictures"  ; RootDirã®ã¿ãŒå­˜åœ¨ã—ã€ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã®ç›¸å¯¾ãƒ‘スã§ã™ã€‚
    +"My File"  ; Filenameã®ã¿å­˜åœ¨ã—ã¾ã™ï¼ˆãŸã ã—ã€"My File"ãŒãƒ•ã‚©ãƒ«ãƒ€ã¨ã—ã¦å­˜åœ¨ã™ã‚‹å ´åˆã¯ã€RootDirã¨ã—ã¾ã™ï¼‰ã€‚
    タイトル
    -

    Type: String

    +

    型:文字列

    If blank or omitted, it defaults to "Select File - " A_ScriptName (i.e. the name of the current script), unless the "D" option is present, in which case the word "File" is replaced with "Folder". Otherwise, specify the title of the file-selection window.

    Filter
    -

    Type: String

    +

    型:文字列

    If blank or omitted, the dialog will show all type of files and provide the "All Files (*.*)" option in the "Files of type" drop-down list.

    Otherwise, specify a string to indicate which types of files are shown by the dialog, e.g. "Documents (*.txt)". To include more than one file extension in the filter, separate them with semicolons, e.g. "Audio (*.wav; *.mp2; *.mp3)". In this case, the "Files of type" drop-down list has the specified string and "All Files (*.*)" as options.

    "D"オプションãŒã‚ã‚‹å ´åˆã€ã“ã®ãƒ‘ラメータã¯ç©ºç™½ã¾ãŸã¯çœç•¥ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    @@ -61,7 +65,7 @@

    パラメータ

    戻り値

    -

    Type: String or Array

    +

    型:文字列ã¾ãŸã¯é…列

    マルãƒã‚»ãƒ¬ã‚¯ãƒˆãŒæœ‰åŠ¹ã§ãªã„å ´åˆã€ã“ã®é–¢æ•°ã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒé¸æŠžã—ãŸå˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ•ã‚©ãƒ«ãƒ€ã®ãƒ•ãƒ«ãƒ‘スã¨åå‰ã‚’è¿”ã—ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’キャンセルã—ãŸå ´åˆã¯ç©ºã®æ–‡å­—列を返ã—ã¾ã™ã€‚

    Mオプション(複数é¸æŠžï¼‰ãŒæœ‰åŠ¹ãªå ´åˆã€ã“ã®é–¢æ•°ã¯é …ç›®ã®é…列を返ã—ã€å„é …ç›®ã¯1ã¤ã®ãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ•ãƒ«ãƒ‘スã¨åå‰ã«ãªã‚Šã¾ã™ã€‚本ページ下部ã®ä¾‹ã§ã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ã‚’1ã¤ãšã¤æŠ½å‡ºã™ã‚‹æ–¹æ³•ã‚’示ã—ã¦ã„ã¾ã™ã€‚ユーザーãŒãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’キャンセルã—ãŸå ´åˆã€é…列ã¯ç©ºï¼ˆã‚¢ã‚¤ãƒ†ãƒ ãŒã‚¼ãƒ­ï¼‰ã«ãªã‚Šã¾ã™ã€‚

    @@ -85,7 +89,7 @@

    例

    既存ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’複数é¸æŠžã§ãるよã†ã«ã—ã¾ã™ã€‚

    -
    SelectedFiles := FileSelect("M3")  ; M3 = Multiselect existing files.
    +
    SelectedFiles := FileSelect("M3")  ; M3 = 既存ファイルをマルãƒã‚»ãƒ¬ã‚¯ãƒˆã—ã¾ã™ã€‚
     if SelectedFiles.Length = 0
     {
         MsgBox "The dialog was canceled."
    diff --git a/target/docs/lib/FileSetAttrib.htm b/target/docs/lib/FileSetAttrib.htm
    index b141e9b7b..3b47bbb57 100644
    --- a/target/docs/lib/FileSetAttrib.htm
    +++ b/target/docs/lib/FileSetAttrib.htm
    @@ -20,7 +20,7 @@ 

    パラメータ

    Attributes
    -

    Type: String

    +

    型:文字列

    変ãˆã‚‹ã¹ã属性。例ãˆã°ã€+HA-R。

    アトリビュートã®ã‚ªãƒ³ã€ã‚ªãƒ•ã€ãƒˆã‚°ãƒ«ã‚’ç°¡å˜ã«è¡Œã†ã«ã¯ã€ä»¥ä¸‹ã®ã‚¢ãƒˆãƒªãƒ“ュート文字ã®1ã¤ä»¥ä¸Šã®å‰ã«ã€ãã‚Œãžã‚Œãƒ—ラス記å·ï¼ˆ+)ã€ãƒžã‚¤ãƒŠã‚¹è¨˜å·ï¼ˆ-)ã€ã‚­ãƒ£ãƒ¬ãƒƒãƒˆï¼ˆ^)を付ã‘ã¾ã™ï¼š

      @@ -37,13 +37,13 @@

      パラメータ

      FilePattern
      -

      Type: String

      +

      型:文字列

      çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€ã‚‚内å´ã® file loop 中ã®ç¾åœ¨ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã€å˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ•ã‚©ãƒ«ãƒ€ã®åå‰ã€ã¾ãŸã¯"C:\Temp\*.tmp"ã®ã‚ˆã†ãªãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãƒ‘ターンã§ã™ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€FilePatternã¯A_WorkingDir ã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚</p>

      Mode
      -

      Type: String

      +

      型:文字列

      空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ•ã‚¡ã‚¤ãƒ«ã®ã¿ãŒæ“作ã•ã‚Œã€ã‚µãƒ–ディレクトリã¯å†å¸°ã•ã‚Œã¾ã›ã‚“。ãれ以外ã®å ´åˆã¯ã€ä»¥ä¸‹ã®æ–‡å­—ã‚’1ã¤ä»¥ä¸ŠæŒ‡å®šã—ã¦ãã ã•ã„:

      • D = インクルードディレクトリ(フォルダ)。
      • diff --git a/target/docs/lib/FileSetTime.htm b/target/docs/lib/FileSetTime.htm index bb504c3c6..8a78ad116 100644 --- a/target/docs/lib/FileSetTime.htm +++ b/target/docs/lib/FileSetTime.htm @@ -20,19 +20,19 @@

        パラメータ

        YYYYMMDDHH24MISS
        -

        Type: String

        +

        型:文字列

        空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ç¾åœ¨ã®ãƒ­ãƒ¼ã‚«ãƒ«ã‚¿ã‚¤ãƒ ãŒãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¨ãªã‚Šã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ“作ã«ä½¿ç”¨ã™ã‚‹æ™‚間を指定ã—ã¾ã™ï¼ˆå½¢å¼ã¯ã€Œå‚™è€ƒã€ã‚’å‚照)。1601年以å‰ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã™ã€‚

        FilePattern
        -

        Type: String

        +

        型:文字列

        çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€ã‚‚内å´ã® file loop 中ã®ç¾åœ¨ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒè¨­å®šã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã€å˜ä¸€ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¾ãŸã¯ãƒ•ã‚©ãƒ«ãƒ€ã®åå‰ã€ã¾ãŸã¯"C:\Temp\*.tmp"ã®ã‚ˆã†ãªãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãƒ‘ターンã§ã™ã€‚絶対パスãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆã€FilePatternã¯A_WorkingDir ã«ã‚ã‚‹ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚</p>

        WhichTime
        -

        Type: String

        +

        型:文字列

        If blank or omitted, it defaults to M. Otherwise, specify one of the following letters to set which timestamp should be changed:

        • Mï¼ä¿®æ­£æ™‚é–“
        • @@ -43,7 +43,7 @@

          パラメータ

          Mode
          -

          Type: String

          +

          型:文字列

          空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ•ã‚¡ã‚¤ãƒ«ã®ã¿ãŒæ“作ã•ã‚Œã€ã‚µãƒ–ディレクトリã¯å†å¸°ã•ã‚Œã¾ã›ã‚“。ãれ以外ã®å ´åˆã¯ã€ä»¥ä¸‹ã®æ–‡å­—ã‚’1ã¤ä»¥ä¸ŠæŒ‡å®šã—ã¦ãã ã•ã„:

          • D = インクルードディレクトリ(フォルダ)。
          • diff --git a/target/docs/lib/Finally.htm b/target/docs/lib/Finally.htm index f0bd94482..0a35d7760 100644 --- a/target/docs/lib/Finally.htm +++ b/target/docs/lib/Finally.htm @@ -53,8 +53,8 @@

            例

            catch as e { ; e ãŒå«ã‚€ã‚ªãƒ–ジェクトã®è©³ç´°ã«ã¤ã„ã¦ã¯ã€Errorã‚’å‚ç…§ã—ã¦ãã ã•ã„。 - MsgBox(Type(e) " thrown!`n`nwhat: " e.what "`nfile: " e.file - . "`nline: " e.line "`nmessage: " e.message "`nextra: " e.extra,, 16) + MsgBox(Type(e) " thrown!`n`nwhat:" e.what "`nfile:" e.file + . "`nline:" e.line "`nmessage:" e.message "`nextra:" e.extra,, 16) } finally { @@ -63,7 +63,7 @@

            例

            MsgBox "Done!" -; This function has a Finally block that acts as cleanup code +; ã“ã®é–¢æ•°ã¯ã€ã‚¯ãƒªãƒ¼ãƒ³ã‚¢ãƒƒãƒ—コードã¨ã—ã¦æ©Ÿèƒ½ã™ã‚‹Finallyブロックを備ãˆã¦ã„ã¾ã™ã€‚ Example1() { try @@ -72,7 +72,7 @@

            例

            MsgBox "This is always executed regardless of exceptions" } -; This function fails when the minutes are odd +; 分数ãŒå¥‡æ•°ã®ã¨ãã¯ã€ã“ã®é–¢æ•°ã¯ã‚¨ãƒ©ãƒ¼ã«ãªã‚Šã¾ã™ã€‚ Example2() { if Mod(A_Min, 2) diff --git a/target/docs/lib/Float.htm b/target/docs/lib/Float.htm index b8b967365..636f46777 100644 --- a/target/docs/lib/Float.htm +++ b/target/docs/lib/Float.htm @@ -16,7 +16,7 @@

            Float

            FltValue := Float(Value)

            戻り値

            -

            Type: Float

            +

            型:浮動å°æ•°ç‚¹æ•°

            ã“ã®é–¢æ•°ã¯ã€Valueを純粋ãªæµ®å‹•å°æ•°ç‚¹æ•°ï¼ˆåž‹å"Float")ã«å¤‰æ›ã—ãŸçµæžœã€ã¾ãŸã¯ValueãŒæ—¢ã«æ­£ã—ã„åž‹ã§ã‚ã‚‹å ´åˆã¯Value自身を返ã™ã€‚

            備考

            diff --git a/target/docs/lib/For.htm b/target/docs/lib/For.htm index a65002353..eccebc55d 100644 --- a/target/docs/lib/For.htm +++ b/target/docs/lib/For.htm @@ -20,7 +20,7 @@

            パラメータ

            Value1, Value2
            -

            Type: Variable

            +

            型:変数

            å„å復ã®æœ€åˆã«åˆ—挙者ãŒè¿”ã™å€¤ã‚’æ ¼ç´ã™ã‚‹ãŸã‚ã®å¤‰æ•°ã§ã™ã€‚ã“れらã®å€¤ã®æ€§è³ªã¯ã€Expressionã«ã‚ˆã£ã¦æ±ºå®šã•ã‚Œã‚‹åˆ—挙å­ã«ã‚ˆã£ã¦å®šç¾©ã•ã‚Œã¾ã™ã€‚ã“れらã®å¤‰æ•°ã¯å‹•çš„ã«ã¯ã‚ã‚Šãˆãªã„。

            ループãŒåˆ‡ã‚ŒãŸã‚Šçµ‚了ã—ãŸã‚Šã™ã‚‹ã¨ã€ã“れらã®å¤‰æ•°ã¯å…ƒã®å€¤ã«æˆ»ã•ã‚Œã¾ã™ã€‚ループ変数ãŒByRef パラメータã§ã‚ã‚‹å ´åˆã€å¯¾è±¡å¤‰æ•°ã¯ãƒ«ãƒ¼ãƒ—ã®å½±éŸ¿ã‚’å—ã‘ã¾ã›ã‚“。ã¾ãŸã€ãã®å¤‰æ•°ã‚’å‚ç…§ã™ã‚‹ã‚¯ãƒ­ãƒ¼ã‚¸ãƒ£ï¼ˆãƒ­ãƒ¼ã‚«ãƒ«ãªå ´åˆï¼‰ã‚‚影響をå—ã‘ãšã€ãƒ«ãƒ¼ãƒ—ã®å¤–ã§ãã®å¤‰æ•°ãŒæŒã£ã¦ã„ãŸå€¤ã ã‘を見るã“ã¨ãŒã§ãã¾ã™ã€‚

            注:ループ本体内ã§å®šç¾©ã•ã‚Œã¦ã„ã¦ã‚‚ã€ãƒ«ãƒ¼ãƒ—変数をå‚ç…§ã™ã‚‹ãƒã‚¹ãƒˆã•ã‚ŒãŸé–¢æ•°ã¯ã€ç¾åœ¨ã®å復ã®å€¤ã‚’見ãŸã‚Šå¤‰æ›´ã—ãŸã‚Šã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。代ã‚ã‚Šã«ã€å¤‰æ•°ã‚’明示的ã«æ¸¡ã™ã‹ã€ãã®å€¤ã‚’パラメータã«ãƒã‚¤ãƒ³ãƒ‰ã—ã¦ãã ã•ã„。

            @@ -30,14 +30,14 @@

            パラメータ

            å¼
            -

            Type: Object

            +

            型:Object

            列挙å¯èƒ½ãªã‚ªãƒ–ジェクトをもãŸã‚‰ã™å¼ã€ã¾ãŸã¯åˆ—挙å¯èƒ½ãªã‚ªãƒ–ジェクトをå«ã‚€å¤‰æ•°ã€‚

            備考

            -

            パラメータリストã¯ã€ã‚ªãƒ—ションã§æ‹¬å¼§ã§å›²ã‚€ã“ã¨ãŒã§ãã¾ã™ã€‚For example: for (val in myarray)

            +

            パラメータリストã¯ã€ã‚ªãƒ—ションã§æ‹¬å¼§ã§å›²ã‚€ã“ã¨ãŒã§ãã¾ã™ã€‚事例:for (val in myarray)

            列挙ã®æµã‚Œã¯ä»¥ä¸‹ã®é€šã‚Šã§ã™ï¼š

            • ループãŒå§‹ã¾ã‚‹å‰ã«ã€ExpressionãŒè©•ä¾¡ã•ã‚Œã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚ªãƒ–ジェクトãŒæ±ºå®šã•ã‚Œã¾ã™ã€‚
            • @@ -54,7 +54,7 @@

              備考

    上記ã®ã‚³ãƒ¼ãƒ‰ã¨åŒæ§˜ã«ã€Expressionã¾ãŸã¯__EnumãŒå‘¼ã³å‡ºã™ã“ã¨ã®ã§ããªã„値を生æˆã—ãŸå ´åˆã€ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

    プロパティã€ãƒ¡ã‚½ãƒƒãƒ‰ã€é…列ã®è¦ç´ ã‚’列挙ã—ã¦ã„ã‚‹é–“ã€ãã®ã‚¿ã‚¤ãƒ—ã®é …目を挿入ã—ãŸã‚Šå‰Šé™¤ã—ãŸã‚Šã™ã‚‹ã“ã¨ã¯ä¸€èˆ¬çš„ã«å®‰å…¨ã§ã¯ã‚ã‚Šã¾ã›ã‚“。ãã®ãŸã‚ã€ä¸€éƒ¨ã®é …ç›®ãŒã‚¹ã‚­ãƒƒãƒ—ã•ã‚ŒãŸã‚Šã€è¤‡æ•°å›žåˆ—挙ã•ã‚ŒãŸã‚Šã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚回é¿ç­–ã¨ã—ã¦ã€å‰Šé™¤ã™ã‚‹ã‚¢ã‚¤ãƒ†ãƒ ã®ãƒªã‚¹ãƒˆã‚’作æˆã—ã€æœ€åˆã®ãƒ«ãƒ¼ãƒ—ãŒå®Œäº†ã—ãŸå¾Œã«2番目ã®ãƒ«ãƒ¼ãƒ—ã§ã‚¢ã‚¤ãƒ†ãƒ ã‚’削除ã™ã‚‹æ–¹æ³•ãŒã‚ã‚Šã¾ã™ã€‚

    -

    forループã®å¾Œã«ã¯ã€é€šå¸¸ã€ãƒ«ãƒ¼ãƒ—ã®æœ¬ä½“ã‚’å½¢æˆã™ã‚‹ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã®é›†åˆä½“ã§ã‚るブロックãŒç¶šãã¾ã™ã€‚ãŸã ã—ã€1ã¤ã®æ–‡ã—ã‹ãªã„ループã«ã¯ãƒ–ロックã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“("if"ã¨ãã® "else"ã¯ã€ã“ã®ç›®çš„ã®ãŸã‚ã«1ã¤ã®æ–‡ã¨ã—ã¦ã‚«ã‚¦ãƒ³ãƒˆã•ã‚Œã¾ã™ï¼‰ã€‚オプションã§ã€ã‚ªãƒ¼ãƒ—ンブレースを下ã§ã¯ãªãåŒã˜ãƒ©ã‚¤ãƒ³ã«è¡¨ç¤ºã•ã›ã‚‹OTB(One True Brace)スタイルを採用ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚For example: for x, y in z {.

    +

    forループã®å¾Œã«ã¯ã€é€šå¸¸ã€ãƒ«ãƒ¼ãƒ—ã®æœ¬ä½“ã‚’å½¢æˆã™ã‚‹ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã®é›†åˆä½“ã§ã‚るブロックãŒç¶šãã¾ã™ã€‚ãŸã ã—ã€1ã¤ã®æ–‡ã—ã‹ãªã„ループã«ã¯ãƒ–ロックã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“("if"ã¨ãã® "else"ã¯ã€ã“ã®ç›®çš„ã®ãŸã‚ã«1ã¤ã®æ–‡ã¨ã—ã¦ã‚«ã‚¦ãƒ³ãƒˆã•ã‚Œã¾ã™ï¼‰ã€‚オプションã§ã€ã‚ªãƒ¼ãƒ—ンブレースを下ã§ã¯ãªãåŒã˜ãƒ©ã‚¤ãƒ³ã«è¡¨ç¤ºã•ã›ã‚‹OTB(One True Brace)スタイルを採用ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚事例:for x, y in z {.

    ã™ã¹ã¦ã®ãƒ«ãƒ¼ãƒ—ã¨åŒæ§˜ã«ã€Breakã€Continueã€A_Indexを使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    ループã®å¾Œã«Elseæ–‡ãŒç¶šãã“ã¨ã‚‚ã‚ã‚Šã€ãƒ«ãƒ¼ãƒ—ã®å復回数ãŒã‚¼ãƒ­ã®å ´åˆã«å®Ÿè¡Œã•ã‚Œã¾ã™ã€‚

    @@ -68,8 +68,8 @@

    例

    オブジェクトãŒæ‰€æœ‰ã™ã‚‹ãƒ—ロパティを一覧表示ã—ã¾ã™ã€‚

    -
    colours := {red: 0xFF0000, blue: 0x0000FF, green: 0x00FF00}
    -; The above expression could be used directly in place of "colours" below:
    +
    colours := {red:0xFF0000, blue:0x0000FF, green:0x00FF00}
    +; 上記ã®è¡¨ç¾ã¯ã€ä»¥ä¸‹ã®ã€Œcolorsã€ã®ä»£ã‚ã‚Šã«ç›´æŽ¥ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼š
     s := ""
     for k, v in colours.OwnProps()
         s .= k "=" v "`n"
    diff --git a/target/docs/lib/Format.htm b/target/docs/lib/Format.htm
    index c6af0d1f9..252b17e0f 100644
    --- a/target/docs/lib/Format.htm
    +++ b/target/docs/lib/Format.htm
    @@ -20,18 +20,18 @@ 

    パラメータ

    FormatStr
    -

    Type: String

    +

    型:文字列

    {インデックス:フォーマット}ã¨ã„ã†å½¢å¼ã®ãƒªãƒ†ãƒ©ãƒ«ãƒ†ã‚­ã‚¹ãƒˆã¨ãƒ—レースホルダã‹ã‚‰ãªã‚‹ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆæ–‡å­—列ã§ã™ã€‚

    Indexã¯ã€ã©ã®å…¥åŠ›å€¤ã‚’使用ã™ã‚‹ã‹ã‚’示ã™æ•´æ•°ã§ã€1ãŒæœ€åˆã®å€¤ã§ã™ã€‚

    Formatã¯ã€å¾Œè¿°ã™ã‚‹ã‚ªãƒ—ションã®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆæŒ‡å®šå­ã§ã™ã€‚

    -

    インデックスをçœç•¥ã™ã‚‹ã¨ã€ï¼ˆæ–‡å­—列ã®å‰ã®ã»ã†ã§ä½¿ã‚ã‚Œã¦ã„ãŸã¨ã—ã¦ã‚‚)シーケンスã®æ¬¡ã®å…¥åŠ›å€¤ã‚’使用ã—ã¾ã™ã€‚例ãˆã°ã€"{2:i} {:i}"ã¯ã€2番目ã¨3番目ã®å…¥åŠ›å€¤ã‚’ã€ã‚¹ãƒšãƒ¼ã‚¹ã§åŒºåˆ‡ã£ãŸ10進数ã®æ•´æ•°ã¨ã—ã¦ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã—ã¾ã™ã€‚IndexãŒçœç•¥ã•ã‚ŒãŸå ´åˆã§ã‚‚ã€Formatã®å‰ã«ã¯:ãŒå¿…è¦ã§ã™ã€‚Specify empty braces to use the next input value with default formatting: {}

    +

    インデックスをçœç•¥ã™ã‚‹ã¨ã€ï¼ˆæ–‡å­—列ã®å‰ã®ã»ã†ã§ä½¿ã‚ã‚Œã¦ã„ãŸã¨ã—ã¦ã‚‚)シーケンスã®æ¬¡ã®å…¥åŠ›å€¤ã‚’使用ã—ã¾ã™ã€‚例ãˆã°ã€"{2:i} {:i}"ã¯ã€2番目ã¨3番目ã®å…¥åŠ›å€¤ã‚’ã€ã‚¹ãƒšãƒ¼ã‚¹ã§åŒºåˆ‡ã£ãŸ10進数ã®æ•´æ•°ã¨ã—ã¦ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã—ã¾ã™ã€‚IndexãŒçœç•¥ã•ã‚ŒãŸå ´åˆã§ã‚‚ã€Formatã®å‰ã«ã¯:ãŒå¿…è¦ã§ã™ã€‚空ã®ä¸­æ‹¬å¼§ã‚’指定ã™ã‚‹ã¨ã€æ¬¡ã®å…¥åŠ›å€¤ã‚’デフォルトã®æ›¸å¼ã§ä½¿ç”¨ã™ã‚‹ï¼š{}

    文字列ã®ä¸­ã«ãƒªãƒ†ãƒ©ãƒ«ãƒ–レースをå«ã‚ã‚‹ã«ã¯ã€{{}㨠{}}を使用ã—ã¾ã™ã€‚ãれ以外ã®ç„¡åŠ¹ãªãƒ—レースホルダーã¯ã€ãã®ã¾ã¾çµæžœã«å«ã¾ã‚Œã¾ã™ã€‚

    中括弧ã®ä¸­ã®ç©ºç™½ã¯è¨±ã•ã‚Œãªã„(フラグã¨ã—ã¦é™¤ã)。

    値
    -

    Type: String, Integer or Float

    +

    型:文字列ã€æ•´æ•°ã€æµ®å‹•å°æ•°ç‚¹

    最終的ãªæ–‡å­—列ã«æ•´å½¢ã—ã¦æŒ¿å…¥ã•ã‚Œã‚‹å…¥åŠ›å€¤ã€‚å„値ã¯ç‹¬ç«‹ã—ãŸãƒ‘ラメータã§ã™ã€‚最åˆã®å€¤ã¯ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãŒ1ã§ã™ã€‚

    値ã®é…列を渡ã™ã«ã¯ã€variadic function callを使用ã—ã¾ã™ï¼š

    arr := [13, 240]
    @@ -41,7 +41,7 @@ 

    パラメータ

    戻り値

    -

    Type: String

    +

    型:文字列

    ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸæ–‡å­—列を整形ã—ãŸã‚‚ã®ã‚’è¿”ã™ã€‚

    フォーマット指定å­

    @@ -51,12 +51,12 @@

    フォーマット指定å­

    Width: A decimal integer which controls the minimum width of the formatted value, in characters. デフォルトã§ã¯ã€å€¤ã¯å³å¯„ã›ã«ãªã‚Šã€ãƒ‘ディングã«ã¯ã‚¹ãƒšãƒ¼ã‚¹ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ã“ã‚Œã¯ã€-(左寄ã›ï¼‰ãŠã‚ˆã³0(ゼロプレフィックス)フラグを使用ã™ã‚‹ã“ã¨ã§ä¸Šæ›¸ãã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    .Precision: A decimal integer which controls the maximum number of string characters, decimal places, or significant digits to output, depending on the output type. ãã®å‰ã«å¿…ãšå°æ•°ç‚¹ãŒä»˜ãã¾ã™ã€‚精度を指定ã™ã‚‹ã¨ã€å€¤ãŒåˆ‡ã‚Šæ¨ã¦ã‚‰ã‚ŒãŸã‚Šã€ä¸¸ã‚られãŸã‚Šã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚出力ã®ç¨®é¡žã¨ç²¾åº¦å€¤ã«ã‚ˆã‚‹ãã‚Œãžã‚Œã®å½±éŸ¿ã¯ä»¥ä¸‹ã®é€šã‚Šã§ã™ï¼ˆå‡ºåŠ›ã®ç¨®é¡žã«ã¤ã„ã¦ã®èª¬æ˜Žã¯ä¸‹è¡¨ã‚’å‚照):

      -
    • f, e, E: Precision specifies the number of digits after the decimal point. デフォルトã¯6ã§ã™ã€‚
    • -
    • g, G: Precision specifies the maximum number of significant digits. デフォルトã¯6ã§ã™ã€‚
    • -
    • s: Precision specifies the maximum number of characters to be printed. ã“れを超ãˆã‚‹æ–‡å­—ã¯å°åˆ·ã•ã‚Œã¾ã›ã‚“。
    • +
    • f, e, E:Precisionã¯ã€å°æ•°ç‚¹ä»¥ä¸‹ã®æ¡æ•°ã‚’指定ã—ã¾ã™ã€‚デフォルトã¯6ã§ã™ã€‚
    • +
    • g, G:Precisionã¯ã€æœ€å¤§æœ‰åŠ¹æ¡æ•°ã‚’指定ã—ã¾ã™ã€‚デフォルトã¯6ã§ã™ã€‚
    • +
    • s:Precisionã¯ã€å°åˆ·ã™ã‚‹æ–‡å­—æ•°ã®æœ€å¤§å€¤ã‚’指定ã—ã¾ã™ã€‚ã“れを超ãˆã‚‹æ–‡å­—ã¯å°åˆ·ã•ã‚Œã¾ã›ã‚“。
    • 整数型(dã€iã€uã€xã€Xã€o)ã®å ´åˆã€Precision㯠Widthã®ã‚ˆã†ã«æŽ¥é ­è¾ž0ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆ1ã¨ã—ã¦å‹•ä½œã—ã¾ã™ã€‚
    -

    ULT: Specifies a case transformation to apply to a string value -- Upper, Lower or Title. sタイプã®ã¿æœ‰åŠ¹ã§ã™ã€‚例ãˆã°{:U}ã‚„ {:.20Ts}ã®ã‚ˆã†ãªã‚‚ã®ã§ã™ã€‚å°æ–‡å­—ã®l㨠tもサãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã‚‹ãŒã€uã¯ç¬¦å·ãªã—整数用ã«äºˆç´„ã•ã‚Œã¦ã„る。

    +

    ULT:文字列ã®å€¤ã«é©ç”¨ã™ã‚‹å¤§æ–‡å­—ã¨å°æ–‡å­—ã®å¤‰æ›ã‚’指定ã™ã‚‹ --Upperã€Lowerã€Title。sタイプã®ã¿æœ‰åŠ¹ã§ã™ã€‚例ãˆã°{:U}ã‚„ {:.20Ts}ã®ã‚ˆã†ãªã‚‚ã®ã§ã™ã€‚å°æ–‡å­—ã®l㨠tもサãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã‚‹ãŒã€uã¯ç¬¦å·ãªã—整数用ã«äºˆç´„ã•ã‚Œã¦ã„る。

    Type: A character from the type table below indicating how the input value should be interpreted. çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯sã§ã™ã€‚

    Flags

    @@ -86,7 +86,7 @@

    Flags

    -

    出力値ãŒç¬¦å·ä»˜ãã§æ­£æ•°ã§ã‚ã‚‹å ´åˆã€ã‚¹ãƒšãƒ¼ã‚¹ã‚’1ã¤ä½¿ã£ã¦å‰ç½®ã—ã¾ã™ã€‚The space is ignored if both and + flags appear. For example, Format("{: 05d}", 1) returns 0001.

    +

    出力値ãŒç¬¦å·ä»˜ãã§æ­£æ•°ã§ã‚ã‚‹å ´åˆã€ã‚¹ãƒšãƒ¼ã‚¹ã‚’1ã¤ä½¿ã£ã¦å‰ç½®ã—ã¾ã™ã€‚The space is ignored if both and + flags appear. For example, Format("{:05d}", 1) returns 0001.

    çœç•¥ã—ãŸå ´åˆã¯ã€ã‚¹ãƒšãƒ¼ã‚¹ãŒè¡¨ç¤ºã•ã‚Œã¾ã›ã‚“。

    @@ -187,16 +187,16 @@

    例

    ã•ã¾ã–ã¾ãªä½¿ã„方を実演ã—ã¾ã™ã€‚

     s := ""
    -; Simple substitution
    +; ç°¡å˜ãªç½®æ›
     s .= Format("{2}, {1}!`r`n", "World", "Hello")
    -; Padding with spaces
    +; スペースã§ãƒ‘ディングã™ã‚‹
     s .= Format("|{:-10}|`r`n|{:10}|`r`n", "Left", "Right")
    -; Hexadecimal
    +; 16進数
     s .= Format("{1:#x} {2:X} 0x{3:x}`r`n", 3735928559, 195948557, 0)
    -; Floating-point
    +; 浮動å°æ•°ç‚¹
     s .= Format("{1:0.3f} {1:.10f}", 4*ATan(1))
     
    -ListVars  ; Use AutoHotkey's main window to display monospaced text.
    +ListVars  ; AutoHotkeyã®ãƒ¡ã‚¤ãƒ³ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§ç­‰å¹…テキストを表示ã•ã›ã‚‹ã€‚
     WinWaitActive "ahk_class AutoHotkey"
     ControlSetText(s, "Edit1")
     WinWaitClose
    diff --git a/target/docs/lib/FormatTime.htm b/target/docs/lib/FormatTime.htm
    index 35ffd02e6..297b7ebdc 100644
    --- a/target/docs/lib/FormatTime.htm
    +++ b/target/docs/lib/FormatTime.htm
    @@ -23,21 +23,21 @@ 

    パラメータ

    YYYYMMDDHH24MISS
    -

    Type: String

    +

    型:文字列

    空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ç¾åœ¨ã®ãƒ­ãƒ¼ã‚«ãƒ«ã‚¿ã‚¤ãƒ ãŒãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¨ãªã‚Šã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€YYYYMMDDHH24MISSå½¢å¼ã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã®å…¨éƒ¨ã¾ãŸã¯å…ˆé ­éƒ¨åˆ†ã‚’指定ã—ã¾ã™ã€‚

    Format
    -

    Type: String

    -

    çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§æ™‚刻ã®å¾Œã«é•·ã„å½¢å¼ã®æ—¥ä»˜ãŒç¶šãã€ä¸¡æ–¹ã¨ã‚‚ç¾åœ¨ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ­ã‚±ãƒ¼ãƒ«ã«å¾“ã£ã¦ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã•ã‚Œã¾ã™ã€‚For example: 4:55 PM Saturday, November 27, 2004

    -

    ãれ以外ã®å ´åˆã¯ã€ä»¥ä¸‹ã®è¡¨ã‹ã‚‰1ã¤ä»¥ä¸Šã®æ—¥ä»˜æ™‚刻形å¼ã‚’指定ã—ã€ãã®é–“ã«ãƒªãƒ†ãƒ©ãƒ«ã‚¹ãƒšãƒ¼ã‚¹ã¨å¥èª­ç‚¹ã‚’入れる(カンマã¯ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹å¿…è¦ã¯ãªãã€é€šå¸¸é€šã‚Šä½¿ç”¨ã§ãる)。In the following example, note that M must be capitalized: M/d/yyyy h:mm tt

    +

    型:文字列

    +

    çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§æ™‚刻ã®å¾Œã«é•·ã„å½¢å¼ã®æ—¥ä»˜ãŒç¶šãã€ä¸¡æ–¹ã¨ã‚‚ç¾åœ¨ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ­ã‚±ãƒ¼ãƒ«ã«å¾“ã£ã¦ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã•ã‚Œã¾ã™ã€‚事例:4:55 PM Saturday, November 27, 2004

    +

    ãれ以外ã®å ´åˆã¯ã€ä»¥ä¸‹ã®è¡¨ã‹ã‚‰1ã¤ä»¥ä¸Šã®æ—¥ä»˜æ™‚刻形å¼ã‚’指定ã—ã€ãã®é–“ã«ãƒªãƒ†ãƒ©ãƒ«ã‚¹ãƒšãƒ¼ã‚¹ã¨å¥èª­ç‚¹ã‚’入れる(カンマã¯ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹å¿…è¦ã¯ãªãã€é€šå¸¸é€šã‚Šä½¿ç”¨ã§ãる)。以下ã®ä¾‹ã§ã¯ã€Mã¯å¿…ãšå¤§æ–‡å­—ã«ã™ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„:M/d/yyyy h:mm tt

    戻り値

    -

    Type: String

    +

    型:文字列

    説明: 指定ã•ã‚ŒãŸã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—を変æ›ã—ãŸã‚‚ã®ã‚’è¿”ã™ã€‚

    YYYYMMDDHH24MISSã«ç„¡åŠ¹ãªæ—¥ä»˜ãƒ»æ™‚刻部分(ã†ã‚‹ã†å¹´ã®2月29æ—¥ãªã©ï¼‰ãŒå«ã¾ã‚Œã‚‹å ´åˆã€ãã®æ—¥ä»˜ãƒ»æ™‚刻ã¯æˆ»ã‚Šå€¤ã‹ã‚‰é™¤å¤–ã•ã‚Œã¾ã™ã€‚1601å¹´ã‹ã‚‰9999å¹´ã¾ã§ã®å¹´å·ã®ã¿ãŒã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã™ãŒã€æ™‚刻部分ãŒæœ‰åŠ¹ã§ã‚ã‚‹é™ã‚Šã€ãれ以å‰ã®å¹´å·ã§ã‚‚フォーマットã•ã‚ŒãŸæ™‚刻を作æˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    FormatãŒ2000文字以上ã®å ´åˆã¯ã€ç©ºæ–‡å­—列を返ã—ã¾ã™ã€‚

    @@ -90,7 +90,7 @@

    日付ã®å½¢å¼ï¼ˆå¤§æ–‡å­—・å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ yyyy - 西暦(4æ¡ï¼‰For example: 2005 + 西暦(4æ¡ï¼‰äº‹ä¾‹ï¼š2005 gg @@ -185,14 +185,14 @@

    スタンドアロン型フォーマット

    YWeek - ISO 8601ã®å®Œå…¨ãªå¹´å·ã¨é€±ç•ªå·ã‚’示ã—ã¾ã™ã€‚For example: 200453. æ–°å¹´1月1日をå«ã‚€é€±ãŒ4日以上ã‚ã‚‹å ´åˆã¯ã€ç¬¬1週ã¨ã—ã¾ã™ã€‚ãれ以外ã¯å‰å¹´ã®æœ€çµ‚週ã¨ãªã‚Šã€æ¬¡é€±ã¯ç¬¬1週ã¨ãªã‚Šã¾ã™ã€‚ãã®çµæžœã€1月4æ—¥ã¨1月第1木曜日ã¯ã€ã„ãšã‚Œã‚‚å¿…ãšç¬¬1週ã«ãªã‚Šã¾ã™ã€‚ + ISO 8601ã®å®Œå…¨ãªå¹´å·ã¨é€±ç•ªå·ã‚’示ã—ã¾ã™ã€‚事例:200453. æ–°å¹´1月1日をå«ã‚€é€±ãŒ4日以上ã‚ã‚‹å ´åˆã¯ã€ç¬¬1週ã¨ã—ã¾ã™ã€‚ãれ以外ã¯å‰å¹´ã®æœ€çµ‚週ã¨ãªã‚Šã€æ¬¡é€±ã¯ç¬¬1週ã¨ãªã‚Šã¾ã™ã€‚ãã®çµæžœã€1月4æ—¥ã¨1月第1木曜日ã¯ã€ã„ãšã‚Œã‚‚å¿…ãšç¬¬1週ã«ãªã‚Šã¾ã™ã€‚

    追加オプション

    YYYYMMDDHH24MISSパラメータ内ã§ã¯ã€ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã®ç›´å¾Œã«ä»¥ä¸‹ã®ã‚ªãƒ—ションを表示ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼ˆã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ãŒãªã„å ´åˆã¯ã€ã“れらã®ã‚ªãƒ—ションã®ã¿ã‚’使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼‰ã€‚次ã®ä¾‹ã§ã¯ã€æœ€å¾Œã®4ã¤ã®é …ç›®ã®é–“ã«ã‚³ãƒ³ãƒžãŒãªã„ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„:

    OutputVar := FormatTime("20040228 LSys D1 D4")

    R: Reverse. 日付ãŒæ™‚é–“ã®å‰ã«æ¥ã‚‹ã‚ˆã†ã«ã™ã‚‹ï¼ˆFormatãŒç©ºç™½ã®ã¨ãã®ã¿æ„味ãŒã‚ã‚Šã¾ã™ï¼‰ã€‚

    -

    Ln: If this option is not present, the current user's locale is used to format the string. 代ã‚ã‚Šã«ã‚·ã‚¹ãƒ†ãƒ ã®ãƒ­ã‚±ãƒ¼ãƒ«ã‚’使用ã™ã‚‹å ´åˆã¯ã€LSysを指定ã—ã¾ã™ã€‚特定ã®ãƒ­ã‚±ãƒ¼ãƒ«ã‚’使用ã™ã‚‹å ´åˆã¯ã€æ–‡å­—Lã®å¾Œã«16進数ã¾ãŸã¯10進数ã®ãƒ­ã‚±ãƒ¼ãƒ«è­˜åˆ¥å­ï¼ˆLCID)を指定ã—ã¦ãã ã•ã„。For information on how to construct an LCID, search www.microsoft.com for the following phrase: Locale Identifiers

    +

    Ln: If this option is not present, the current user's locale is used to format the string. 代ã‚ã‚Šã«ã‚·ã‚¹ãƒ†ãƒ ã®ãƒ­ã‚±ãƒ¼ãƒ«ã‚’使用ã™ã‚‹å ´åˆã¯ã€LSysを指定ã—ã¾ã™ã€‚特定ã®ãƒ­ã‚±ãƒ¼ãƒ«ã‚’使用ã™ã‚‹å ´åˆã¯ã€æ–‡å­—Lã®å¾Œã«16進数ã¾ãŸã¯10進数ã®ãƒ­ã‚±ãƒ¼ãƒ«è­˜åˆ¥å­ï¼ˆLCID)を指定ã—ã¦ãã ã•ã„。LCIDã®æ§‹ç¯‰æ–¹æ³•ã«ã¤ã„ã¦ã¯ã€www.microsoft.comã€ä»¥ä¸‹ã®ãƒ•ãƒ¬ãƒ¼ã‚ºã§æ¤œç´¢ã—ã¦ãã ã•ã„:Locale Identifiers

    Dn: Date options. nã«ã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã®æ•°å­—を指定ã™ã‚‹ï¼š

    • 0 = デフォルトã®ã‚ªãƒ—ションを強制的ã«ä½¿ç”¨ã—ã¾ã™ã€‚ã“ã‚Œã«ã‚ˆã£ã¦ã€ã‚·ãƒ§ãƒ¼ãƒˆãƒ‡ã‚¤ãƒˆã‚‚有効ã«ãªã‚Šã¾ã™ã€‚
    • @@ -216,16 +216,16 @@

      追加オプション

    • 0x80000000 = システムã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ™‚間フォーマットã«å¯¾ã—ã¦ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒæœ‰åŠ¹ã«ã—ã¦ã„るオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã«å¾“ã‚ãªã„。
    • 0x40000000 = 文字列ã®å¤‰æ›ã«ãƒ­ã‚±ãƒ¼ãƒ«ã®ã‚³ãƒ¼ãƒ‰ãƒšãƒ¼ã‚¸ã§ã¯ãªãã€ã‚·ã‚¹ãƒ†ãƒ ã®ANSIコードページを使用ã—ã¾ã™ã€‚
    -

    Note: Dn and Tn may be repeated to put more than one option into effect, such as this example: FormatTime("20040228 D2 D4 T1 T8")

    +

    Note: Dn and Tn may be repeated to put more than one option into effect, such as this example:FormatTime("20040228 D2 D4 T1 T8")

    備考

    -

    Letters and numbers that you want to be transcribed literally from Format into the final string should be enclosed in single quotes as in this example: "'Date:' MM/dd/yy 'Time:' hh:mm:ss tt".

    -

    一方ã€ã‚¹ãƒšãƒ¼ã‚¹ã€ã‚¿ãƒ–ã€ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`n)ã€ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã€ã‚³ãƒ­ãƒ³ã€ã‚«ãƒ³ãƒžã€ãã®ä»–ã®å¥èª­ç‚¹ãªã©ã®éžè‹±æ•°å­—ã¯ã€ã‚·ãƒ³ã‚°ãƒ«ã‚¯ã‚©ãƒ¼ãƒˆã§å›²ã‚€å¿…è¦ã¯ãªã„。The exception to this is the single quote character itself: to produce it literally, use four consecutive single quotes (''''), or just two if the quote is already inside an outer pair of quotes.

    -

    FormatãŒæ—¥ä»˜ã¨æ™‚刻ã®è¦ç´ ã‚’一緒ã«å«ã‚€å ´åˆã€ä¸¡è€…を混在ã•ã›ã¦ã¯ãªã‚‰ãªã„。In other words, the string should be dividable into two halves: a time half and a date half. 例ãˆã°ã€"hh yyyy mm"ã§æ§‹æˆã•ã‚Œã‚‹ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆæ–‡å­—列ã¯ã€2ã¤ã®æ™‚é–“è¦ç´ ã®é–“ã«æ—¥ä»˜è¦ç´ ãŒã‚ã‚‹ãŸã‚ã€æœŸå¾…ã—ãŸçµæžœã‚’å¾—ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。

    +

    Formatã‹ã‚‰æœ€çµ‚çš„ãªæ–‡å­—列ã«æ–‡å­—通りã«è»¢å†™ã—ãŸã„文字や数字ã¯ã€ã“ã®ä¾‹ã®ã‚ˆã†ã«ã‚·ãƒ³ã‚°ãƒ«ã‚¯ã‚©ãƒ¼ãƒˆã§å›²ã‚€å¿…è¦ãŒã‚ã‚Šã¾ã™ï¼š"'Date:' MM/dd/yy 'Time:' hh:mm:ss tt".

    +

    一方ã€ã‚¹ãƒšãƒ¼ã‚¹ã€ã‚¿ãƒ–ã€ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`n)ã€ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã€ã‚³ãƒ­ãƒ³ã€ã‚«ãƒ³ãƒžã€ãã®ä»–ã®å¥èª­ç‚¹ãªã©ã®éžè‹±æ•°å­—ã¯ã€ã‚·ãƒ³ã‚°ãƒ«ã‚¯ã‚©ãƒ¼ãƒˆã§å›²ã‚€å¿…è¦ã¯ãªã„。ãŸã ã—ã€ã‚·ãƒ³ã‚°ãƒ«ã‚¯ã‚©ãƒ¼ãƒˆæ–‡å­—ãã®ã‚‚ã®ã¯ä¾‹å¤–ã§ã™ï¼šã‚’文字通りã«è¡¨ç¤ºã™ã‚‹ã«ã¯ã€4ã¤ã®é€£ç¶šã—ãŸå˜ä¸€å¼•ç”¨ç¬¦ï¼ˆ''')を使用ã—ã¾ã™ï¼ˆå¼•ç”¨ç¬¦ãŒã™ã§ã«å¤–å´ã®å¼•ç”¨ç¬¦ã®ãƒšã‚¢ã®ä¸­ã«ã‚ã‚‹å ´åˆã¯2ã¤ã ã‘)。

    +

    FormatãŒæ—¥ä»˜ã¨æ™‚刻ã®è¦ç´ ã‚’一緒ã«å«ã‚€å ´åˆã€ä¸¡è€…を混在ã•ã›ã¦ã¯ãªã‚‰ãªã„。ã¤ã¾ã‚Šã€æ–‡å­—列ã¯2ã¤ã«åˆ†å‰²ã§ãã‚‹ã“ã¨ãŒæœ›ã¾ã—ã„ã®ã§ã™ï¼šæ™‚é–“åŠåˆ†ã€æ—¥ä»˜åŠåˆ†ã€‚例ãˆã°ã€"hh yyyy mm"ã§æ§‹æˆã•ã‚Œã‚‹ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆæ–‡å­—列ã¯ã€2ã¤ã®æ™‚é–“è¦ç´ ã®é–“ã«æ—¥ä»˜è¦ç´ ãŒã‚ã‚‹ãŸã‚ã€æœŸå¾…ã—ãŸçµæžœã‚’å¾—ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。

    Formatã«æ•°å€¤ã®æœˆæ—¥ï¼ˆdã¾ãŸã¯dd)ã®å¾Œã«å®Œå…¨ãªæœˆå(MMMM)ãŒå«ã¾ã‚Œã‚‹å ´åˆã€æœˆåã®ä¸»æ ¼ãŒä½¿ç”¨ã•ã‚Œã‚‹ï¼ˆè¨€èªžã«ä¸»æ ¼ãŒã‚ã‚‹å ´åˆï¼‰ã€‚

    ã“ã‚Œã«é–¢é€£ã—ã¦ã€æ—¥æ™‚ã®åŠ ç®—ã€æ¸›ç®—ã€æ¯”較ã¯DateAdd関数㨠DateDiff関数ã§è¡Œã†ã“ã¨ãŒã§ãã¾ã™ã€‚

    逆方å‘ã®å¤‰æ›ã€ã¤ã¾ã‚Šã€ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã•ã‚ŒãŸæ—¥ä»˜/時刻ã‹ã‚‰ YYYYMMDDHH24MISS フォーマットã¸ã®å¤‰æ›ã¯ã€www.autohotkey.com/forum/topic20405.htmlã‚’ã”覧ãã ã•ã„。

    -

    See also: Gui DateTime control, Format, built-in date and time variables, FileGetTime

    +

    ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:Gui DateTime control, Format, built-in date and time variables, FileGetTime

    例

    ã•ã¾ã–ã¾ãªä½¿ã„方を実演ã—ã¾ã™ã€‚

    @@ -247,10 +247,10 @@

    例

    TimeString := FormatTime(20050423220133, "dddd MMMM d, yyyy hh:mm:ss tt") MsgBox "The specified date and time, when formatted, is " TimeString -MsgBox FormatTime(200504, "'Month Name': MMMM`n'Day Name': dddd") +MsgBox FormatTime(200504, "'Month Name':MMMM`n'Day Name':dddd") YearWeek := FormatTime(20050101, "YWeek") -MsgBox "January 1st of 2005 is in the following ISO year and week number: " YearWeek
    +MsgBox "January 1st of 2005 is in the following ISO year and week number:"年 週間
    @@ -265,7 +265,7 @@

    例

    指定ã•ã‚ŒãŸç§’æ•°ã‚’ã€å¯¾å¿œã™ã‚‹æ™‚・分・秒数(hh:mm:sså½¢å¼ï¼‰ã«å¤‰æ›ã—ã¾ã™ã€‚

    -
    MsgBox FormatSeconds(7384)  ; 7384 = 2 hours + 3 minutes + 4 seconds. It yields: 2:03:04
    +
    MsgBox FormatSeconds(7384)  ; 7384 = 2 hours + 3 minutes + 4 seconds. It yields:2:03:04
     
     FormatSeconds(NumberOfSeconds)  ; Convert the specified number of seconds to hh:mm:ss format.
     {
    @@ -274,7 +274,7 @@ 

    例

    return NumberOfSeconds//3600 ":" FormatTime(time, "mm:ss") /* ; 上記ã®æ–¹æ³•ã¨ã¯ç•°ãªã‚Šã€24時間ã«ç›¸å½“ã™ã‚‹åˆ†ä»¥ä¸Šã®ç§’数をサãƒãƒ¼ãƒˆã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“: - return FormatTime(time, "h:mm:ss") +return FormatTime(time, "h:mm:ss") */ }
    diff --git a/target/docs/lib/Func.htm b/target/docs/lib/Func.htm index 62e4460d9..622dc89f4 100644 --- a/target/docs/lib/Func.htm +++ b/target/docs/lib/Func.htm @@ -34,19 +34,19 @@

    目次

    • Methods:
        -
      • Call: Calls the function.
      • +
      • Call:関数を呼ã³å‡ºã—ã¾ã™ã€‚
      • Bind: Binds parameters to the function.
      • -
      • IsByRef: Determines whether a parameter is ByRef.
      • -
      • IsOptional: Determines whether a parameter is optional.
      • +
      • IsByRef:パラメータãŒByRefã§ã‚ã‚‹ã‹ã©ã†ã‹ã‚’判定ã—ã¾ã™ã€‚
      • +
      • IsOptional:パラメータãŒã‚ªãƒ—ションã§ã‚ã‚‹ã‹ã©ã†ã‹ã‚’判定ã—ã¾ã™ã€‚
    • Properties:
        -
      • Name: Returns the function's name.
      • +
      • Name:関数ã®åå‰ã‚’è¿”ã—ã¾ã™ã€‚
      • IsBuiltIn: Returns 1 (true) if the function is built-in, otherwise 0 (false).
      • IsVariadic: Returns 1 (true) if the function is variadic, otherwise 0 (false).
      • -
      • MinParams: Returns the number of required parameters.
      • -
      • MaxParams: Returns the number of formally-declared parameters for a user-defined function or maximum parameters for a built-in function.
      • +
      • MinParams:å¿…è¦ãªãƒ‘ラメータã®æ•°ã‚’è¿”ã—ã¾ã™ã€‚
      • +
      • MaxParams:ユーザー定義関数ã®å ´åˆã¯æ­£å¼ã«å®£è¨€ã•ã‚ŒãŸãƒ‘ラメータã®æ•°ã€çµ„ã¿è¾¼ã¿é–¢æ•°ã®å ´åˆã¯æœ€å¤§ãƒ‘ラメータ数を返ã—ã¾ã™ã€‚
    @@ -79,7 +79,7 @@

    パラメータ

    戻り値

    -

    Type: Object

    +

    型:Object

    This method returns a BoundFunc object.

    @@ -90,12 +90,12 @@

    パラメータ

    ParamIndex
    -

    Type: Integer

    +

    型:整数

    çœç•¥ã•ã‚ŒãŸå ´åˆã€Booleanã¯ã€é–¢æ•°ãŒ ByRef パラメータをæŒã¤ã‹ã©ã†ã‹ã‚’示ã—ã¾ã™ã€‚Otherwise, specify the one-based index of a parameter.

    戻り値

    -

    Type: Integer (boolean)

    +

    型:整数(ブーリアン)

    This method returns 1 (true) if the parameter is ByRef, otherwise 0 (false). ParamIndexãŒç„¡åŠ¹ãªå ´åˆã¯ã€ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    @@ -106,12 +106,12 @@

    パラメータ

    ParamIndex
    -

    Type: Integer

    +

    型:整数

    çœç•¥ã•ã‚ŒãŸå ´åˆã€Booleanã¯ã€é–¢æ•°ãŒä»»æ„ã®ãƒ‘ラメータをæŒã¤ã‹ã©ã†ã‹ã‚’示ã—ã¾ã™ã€‚Otherwise, specify the one-based index of a parameter.

    戻り値

    -

    Type: Integer (boolean)

    +

    型:整数(ブーリアン)

    This method returns 1 (true) if the parameter is optional, otherwise 0 (false). ParamIndexãŒç„¡åŠ¹ãªå ´åˆã¯ã€ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    備考

    関数ãŒå¤‰ç¨®ã§ã‚ã‚‹å ´åˆã€ãƒ‘ラメータを正å¼ã«å®£è¨€ã™ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。組込機能ã«å¯¾å¿œã—ã¦ã„ã¾ã™ã€‚

    diff --git a/target/docs/lib/GetKeyName.htm b/target/docs/lib/GetKeyName.htm index 69f51d2bc..14c9ef31b 100644 --- a/target/docs/lib/GetKeyName.htm +++ b/target/docs/lib/GetKeyName.htm @@ -21,15 +21,15 @@

    パラメータ

    KeyName
    -

    Type: String

    -

    キーボードã®ä»»æ„ã®1文字ã€ã¾ãŸã¯ã‚­ãƒ¼ãƒªã‚¹ãƒˆã®ã‚­ãƒ¼åã®ã„ãšã‚Œã‹ã‚’指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚Examples: B, 5, LWin, RControl, Alt, Enter, Escape.

    +

    型:文字列

    +

    キーボードã®ä»»æ„ã®1文字ã€ã¾ãŸã¯ã‚­ãƒ¼ãƒªã‚¹ãƒˆã®ã‚­ãƒ¼åã®ã„ãšã‚Œã‹ã‚’指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚例:B, 5, LWin, RControl, Alt, Enter, Escape.

    ã‚ã‚‹ã„ã¯ã€vkFFã®ã‚ˆã†ãªæ˜Žç¤ºçš„ãªä»®æƒ³ã‚­ãƒ¼ã‚³ãƒ¼ãƒ‰ã€sc01Dã®ã‚ˆã†ãªæ˜Žç¤ºçš„ãªã‚¹ã‚­ãƒ£ãƒ³ã‚³ãƒ¼ãƒ‰ã€vk1Bsc001ã®ã‚ˆã†ãªVKã¨SCã®çµ„ã¿åˆã‚ã›ï¼ˆã“ã®é †ï¼‰ã§ã‚ã£ã¦ã‚‚å·®ã—支ãˆã‚ã‚Šã¾ã›ã‚“。ãªãŠã€ã“れらã®ã‚³ãƒ¼ãƒ‰ã¯16進数ã§ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    戻り値

    -

    Type: String

    +

    型:文字列

    ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸã‚­ãƒ¼ã®åå‰ã‚’è¿”ã—ã¾ã™ã€‚キーãŒç„¡åŠ¹ã¾ãŸã¯åå‰ãŒãªã„ã¨ãã¯ã€ç©ºç™½ã‚’è¿”ã—ã¾ã™ã€‚

    @@ -37,8 +37,8 @@

    例

    Escã®è‹±èªžåã‚’å–å¾—ã—ã€å ±å‘Šã—ã¾ã™ã€‚

    -
    MsgBox GetKeyName("Esc") ; Shows Escape
    -MsgBox GetKeyName("vk1B") ; Shows also Escape
    +
    MsgBox GetKeyName("Esc") ; Escapeã¨è¡¨ç¤ºã—ã¾ã™ã€‚
    +MsgBox GetKeyName("vk1B") ; åŒã˜ãEscapeã¨è¡¨ç¤ºã—ã¾ã™ã€‚
    diff --git a/target/docs/lib/GetKeySC.htm b/target/docs/lib/GetKeySC.htm index ecb76b112..fee94047f 100644 --- a/target/docs/lib/GetKeySC.htm +++ b/target/docs/lib/GetKeySC.htm @@ -21,15 +21,15 @@

    パラメータ

    KeyName
    -

    Type: String

    -

    ä»»æ„ã®1文字ã€ã¾ãŸã¯ã‚­ãƒ¼ãƒªã‚¹ãƒˆã®ã‚­ãƒ¼åã®1ã¤ã‚’指定ã—ã¾ã™ã€‚Examples: B, 5, LWin, RControl, Alt, Enter, Escape.

    +

    型:文字列

    +

    ä»»æ„ã®1文字ã€ã¾ãŸã¯ã‚­ãƒ¼ãƒªã‚¹ãƒˆã®ã‚­ãƒ¼åã®1ã¤ã‚’指定ã—ã¾ã™ã€‚例:B, 5, LWin, RControl, Alt, Enter, Escape.

    ã‚ã‚‹ã„ã¯ã€vkFFã®ã‚ˆã†ãªæ˜Žç¤ºçš„ãªä»®æƒ³ã‚­ãƒ¼ã‚³ãƒ¼ãƒ‰ã€sc01Dã®ã‚ˆã†ãªæ˜Žç¤ºçš„ãªã‚¹ã‚­ãƒ£ãƒ³ã‚³ãƒ¼ãƒ‰ã€vk1Bsc001ã®ã‚ˆã†ãªVKã¨SCã®çµ„ã¿åˆã‚ã›ï¼ˆã“ã®é †ï¼‰ã§ã‚ã£ã¦ã‚‚å·®ã—支ãˆã‚ã‚Šã¾ã›ã‚“。ãªãŠã€ã“れらã®ã‚³ãƒ¼ãƒ‰ã¯16進数ã§ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    戻り値

    -

    Type: Integer

    +

    型:整数

    ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸã‚­ãƒ¼ã®ã‚¹ã‚­ãƒ£ãƒ³ã‚³ãƒ¼ãƒ‰ã‚’è¿”ã—ã€ã‚­ãƒ¼ãŒç„¡åŠ¹ã§ã‚ã‚‹ã‹ã‚¹ã‚­ãƒ£ãƒ³ã‚³ãƒ¼ãƒ‰ãŒãªã„å ´åˆã¯0ã‚’è¿”ã—ã¾ã™ã€‚

    備考

    diff --git a/target/docs/lib/GetKeyState.htm b/target/docs/lib/GetKeyState.htm index 5dd352983..5d7e6e546 100644 --- a/target/docs/lib/GetKeyState.htm +++ b/target/docs/lib/GetKeyState.htm @@ -20,15 +20,15 @@

    パラメータ

    KeyName
    -

    Type: String

    -

    This can be just about any single character from the keyboard or one of the key names from the key list, such as a mouse/controller button. Examples: B, 5, LWin, RControl, Alt, Enter, Escape, LButton, MButton, Joy1.

    +

    型:文字列

    +

    This can be just about any single character from the keyboard or one of the key names from the key list, such as a mouse/controller button. 例:B, 5, LWin, RControl, Alt, Enter, Escape, LButton, MButton, Joy1.

    ã¾ãŸã€vkFFã®ã‚ˆã†ãªæ˜Žç¤ºçš„ãªä»®æƒ³éµã‚³ãƒ¼ãƒ‰ã‚’指定ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚ã“ã‚Œã¯ã€ã‚­ãƒ¼ã«åå‰ãŒãªã„よã†ãªç¨€ãªã‚±ãƒ¼ã‚¹ã«æœ‰åŠ¹ã§ã™ã€‚ã“ã®ã‚ˆã†ãªã‚­ãƒ¼ã®ã‚³ãƒ¼ãƒ‰ã¯ã€ã‚­ãƒ¼ä¸€è¦§ãƒšãƒ¼ã‚¸ä¸‹éƒ¨ã®æ‰‹é †ã§åˆ¤åˆ¥ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãªãŠã€ã“ã®ã‚³ãƒ¼ãƒ‰ã¯16進数ã§ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    既知ã®åˆ¶é™äº‹é …:ã“ã®æ©Ÿèƒ½ã¯ã€Leftã¨NumpadLeftã®ã‚ˆã†ã«ã€åŒã˜ä»®æƒ³ã‚­ãƒ¼ã‚³ãƒ¼ãƒ‰ã‚’共有ã™ã‚‹2ã¤ã®ã‚­ãƒ¼ã‚’区別ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。

    Mode
    -

    Type: String

    +

    型:文字列

    This parameter is ignored when retrieving controller status.

    If omitted, it defaults to that which retrieves the logical state of the key. OSやアクティブウィンドウãŒã‚­ãƒ¼ãŒã‚ã‚‹ã¨ä¿¡ã˜ã¦ã„る状態ã§ã‚ã‚Šã€å¿…ãšã—も物ç†çš„ãªçŠ¶æ…‹ã¨åŒã˜ã§ã¯ã‚ã‚Šã¾ã›ã‚“。

    ãã†ã§ãªã‘ã‚Œã°ã€æ¬¡ã®æ–‡å­—ã®ã†ã¡ã€ã²ã¨ã¤ã‚’指定ã—ã¦ãã ã•ã„。

    @@ -39,16 +39,16 @@

    パラメータ

    戻り値

    -

    Type: Integer (boolean), Float, Integer or String (empty)

    +

    型:Integer (boolean), Float, Integer or String (empty)

    This function returns 1 (true) if the key is down (or toggled on) or 0 (false) if it is up (or toggled off).

    When KeyName is a stick axis such as JoyX, this function returns a floating-point number between 0 and 100 to indicate the stick's position as a percentage of that axis's range of motion. This test script can be used to analyze your controller(s).

    When KeyName is JoyPOV, this function returns an integer between 0 and 35900. The following approximate POV values are used by many controllers:

      -
    • -1: no angle to report
    • -
    • 0: forward POV
    • -
    • 9000 (i.e. 90 degrees): right POV
    • -
    • 27000 (i.e. 270 degrees): left POV
    • -
    • 18000 (i.e. 180 degrees): backward POV
    • +
    • -1:触れãªã„
    • +
    • 0:å‰æ–¹è¦–ç·š
    • +
    • 9000 (i.e. 90 degrees):正視眼
    • +
    • 27000 (i.e. 270 degrees):左視点
    • +
    • 18000 (i.e. 180 degrees):後方視線

    When KeyName is JoyName, JoyButtons, JoyAxes or JoyInfo, the retrieved value will be the name, number of buttons, number of axes or capabilities of the controller. For details, see Game Controller.

    When KeyName is a button or control of a controller that could not be detected, this function returns an empty string.

    diff --git a/target/docs/lib/GetKeyVK.htm b/target/docs/lib/GetKeyVK.htm index daae1b768..bc08478eb 100644 --- a/target/docs/lib/GetKeyVK.htm +++ b/target/docs/lib/GetKeyVK.htm @@ -21,15 +21,15 @@

    パラメータ

    KeyName
    -

    Type: String

    -

    ä»»æ„ã®1文字ã€ã¾ãŸã¯ã‚­ãƒ¼ãƒªã‚¹ãƒˆã®ã‚­ãƒ¼åã®1ã¤ã‚’指定ã—ã¾ã™ã€‚Examples: B, 5, LWin, RControl, Alt, Enter, Escape.

    +

    型:文字列

    +

    ä»»æ„ã®1文字ã€ã¾ãŸã¯ã‚­ãƒ¼ãƒªã‚¹ãƒˆã®ã‚­ãƒ¼åã®1ã¤ã‚’指定ã—ã¾ã™ã€‚例:B, 5, LWin, RControl, Alt, Enter, Escape.

    ã‚ã‚‹ã„ã¯ã€vkFFã®ã‚ˆã†ãªæ˜Žç¤ºçš„ãªä»®æƒ³ã‚­ãƒ¼ã‚³ãƒ¼ãƒ‰ã€sc01Dã®ã‚ˆã†ãªæ˜Žç¤ºçš„ãªã‚¹ã‚­ãƒ£ãƒ³ã‚³ãƒ¼ãƒ‰ã€vk1Bsc001ã®ã‚ˆã†ãªVKã¨SCã®çµ„ã¿åˆã‚ã›ï¼ˆã“ã®é †ï¼‰ã§ã‚ã£ã¦ã‚‚å·®ã—支ãˆã‚ã‚Šã¾ã›ã‚“。ãªãŠã€ã“れらã®ã‚³ãƒ¼ãƒ‰ã¯16進数ã§ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

    戻り値

    -

    Type: Integer

    +

    型:整数

    説明: 指定ã•ã‚ŒãŸéµã®ä»®æƒ³éµã‚³ãƒ¼ãƒ‰ã‚’è¿”ã—ã€ãã®éµãŒç„¡åŠ¹ã§ã‚ã‚‹ã‹ä»®æƒ³éµã‚³ãƒ¼ãƒ‰ãŒãªã„å ´åˆã¯ 0 ã‚’è¿”ã™ã€‚

    備考

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

    例

    Escã®ä»®æƒ³ã‚­ãƒ¼ã‚³ãƒ¼ãƒ‰ã‚’16進数ã§å–å¾—ã—報告ã—ã¾ã™ã€‚

    vk_code := GetKeyVK("Esc")
    -MsgBox Format("vk{:X}", vk_code) ; Reports vk1B
    +MsgBox Format("vk{:X}", vk_code) ; vk1Bã®å ±å‘Šã€‚
    diff --git a/target/docs/lib/GetMethod.htm b/target/docs/lib/GetMethod.htm index e49c6752e..13000f375 100644 --- a/target/docs/lib/GetMethod.htm +++ b/target/docs/lib/GetMethod.htm @@ -20,18 +20,18 @@

    パラメータ

    値
    -

    Type: Any

    +

    型:任æ„

    ComObject 以外ã®ä»»æ„ã®åž‹ã®å€¤ã€‚

    åå‰
    -

    Type: String

    +

    型:文字列

    If omitted, validation is performed on Value itself and Value is returned if successful. Otherwise, specify the name of the method to retrieve.

    ParamCount
    - Type: Integer + 型:整数

    çœç•¥ã•ã‚ŒãŸå ´åˆï¼ˆã¾ãŸã¯ãƒ‘ラメータ数ãŒç¢ºèªã•ã‚Œãªã‹ã£ãŸå ´åˆï¼‰ã€ã‚ªãƒ–ジェクトãŒå‘¼ã³å‡ºã—å¯èƒ½ã§ã‚ã‚‹å¯èƒ½æ€§ãŒé«˜ã„ã“ã¨ã‚’確èªã™ã‚‹ãŸã‚ã«ã€Callメソッドã«å¯¾ã—ã¦åŸºæœ¬çš„ãªãƒã‚§ãƒƒã‚¯ãŒå®Ÿè¡Œã•ã‚Œã¾ã™ã€‚

    Otherwise, specify the number of parameters that would be passed to the method or function. 指定ã•ã‚ŒãŸå ´åˆã€ãƒ¡ã‚½ãƒƒãƒ‰ã® MinParamsã€MaxParamsã€IsVariadic プロパティを照会ã—ã¦ã€ã“ã®æ•°ã®ãƒ‘ラメータをå—ã‘入れるã“ã¨ãŒã§ãã‚‹ã“ã¨ã‚’確èªã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“れらã®ãƒ—ロパティãŒå­˜åœ¨ã—ãªã„å ´åˆã€ãƒ‘ラメータ数ã®ç¢ºèªã¯è¡Œã‚ã‚Œã¾ã›ã‚“。

    ã“ã®ã‚«ã‚¦ãƒ³ãƒˆã«ã¯ã€æš—é»™ã®thisパラメータをå«ã‚ã¦ã¯ãªã‚Šã¾ã›ã‚“。

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

    パラメータ

    戻り値

    -

    Type: Function Object

    +

    型:機能オブジェクト

    ã“ã®é–¢æ•°ã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®å®Ÿè£…ã‚’å«ã‚€é–¢æ•°ã‚ªãƒ–ジェクトã€ã¾ãŸã¯NameãŒçœç•¥ã•ã‚ŒãŸå ´åˆã¯Value自体を返ã™ã€‚

    エラー

    @@ -52,7 +52,7 @@

    備考

  33. コールアクセサー関数をæŒã¤ãƒ€ã‚¤ãƒŠãƒŸãƒƒã‚¯ãƒ—ロパティã§ã™ã€‚包å«ï¼š
    • クラス内ã®ãƒ¡ã‚½ãƒƒãƒ‰å®šç¾©ã«ã‚ˆã£ã¦ä½œæˆã•ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ—ロパティ。
    • -
    • Any property created by passing a descriptor like {Call: fn} to DefineProp, where fn implements the method.
    • +
    • 記述å­ã‚’渡ã™ã“ã¨ã§ä½œæˆã•ã‚Œã‚‹ãƒ—ロパティã€ä»¥ä¸‹ã®ã‚ˆã†ãª{Call:fn} ã‹ã‚‰DefinePropã¸ã€fnã¯ãƒ¡ã‚½ãƒƒãƒ‰ã‚’実装ã—ã¦ã„ã¾ã™ã€‚
    • ä»»æ„ã®å®šç¾©æ¸ˆã¿/組ã¿è¾¼ã¿ã®æ–¹æ³•ã€‚
  34. diff --git a/target/docs/lib/Goto.htm b/target/docs/lib/Goto.htm index 5f8bfec9d..283abccc5 100644 --- a/target/docs/lib/Goto.htm +++ b/target/docs/lib/Goto.htm @@ -21,7 +21,7 @@

    パラメータ

    Label
    -

    Type: String

    +

    型:文字列

    ジャンプ先ã®ãƒ©ãƒ™ãƒ«ã®åå‰ã§ã™ã€‚

    diff --git a/target/docs/lib/GroupActivate.htm b/target/docs/lib/GroupActivate.htm index 30b7bbc69..f45cbf1ec 100644 --- a/target/docs/lib/GroupActivate.htm +++ b/target/docs/lib/GroupActivate.htm @@ -20,13 +20,13 @@

    パラメータ

    GroupName
    -

    Type: String

    +

    型:文字列

    GroupAddã§å®šç¾©ã•ã‚ŒãŸã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã™ã‚‹ã‚°ãƒ«ãƒ¼ãƒ—ã®åå‰ã€‚

    Mode
    -

    Type: String

    +

    型:文字列

    If blank or omitted, the function activates the oldest window in the series. Otherwise, specify the following letter:

    R:最も新ã—ã„ウィンドウ(最も最近アクティブã«ãªã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ï¼‰ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã‚Šã¾ã™ãŒã€ã“ã®é–¢æ•°ãŒä¸Žãˆã‚‰ã‚ŒãŸã¨ãã«ã‚°ãƒ«ãƒ¼ãƒ—ã®ãƒ¡ãƒ³ãƒãƒ¼ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã§ãªã„å ´åˆã«é™ã‚Šã¾ã™ã€‚"R"ã¯ã€ä¸€æ™‚çš„ã«é–¢ä¿‚ãªã„作業ã«åˆ‡ã‚Šæ›¿ãˆã‚‹ã‚±ãƒ¼ã‚¹ã«æœ‰åŠ¹ã§ã™ã€‚GroupActivateã€GroupDeactivateã€GroupCloseã§ã‚°ãƒ«ãƒ¼ãƒ—ã«æˆ»ã‚‹ã¨ã€æœ€ã‚‚å¤ã„ウィンドウã§ã¯ãªãã€ç›´è¿‘ã§æ“作ã—ã¦ã„ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã‚Šã¾ã™ã€‚

    @@ -34,7 +34,7 @@

    パラメータ

    戻り値

    -

    Type: Integer

    +

    型:整数

    ã“ã®é–¢æ•°ã¯ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã™ã‚‹ãŸã‚ã«é¸æŠžã•ã‚ŒãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®HWND(ユニークID)を返ã—ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã™ã‚‹ãŸã‚ã«ä¸€è‡´ã™ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒè¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸå ´åˆã¯0ã‚’è¿”ã—ã¾ã™ã€‚ç¾åœ¨ã®ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒå”¯ä¸€ã®ä¸€è‡´ã§ã‚ã‚‹å ´åˆã€æˆ»ã‚Šå€¤ã¯ 0 ã§ã™ã€‚

    備考

    diff --git a/target/docs/lib/GroupAdd.htm b/target/docs/lib/GroupAdd.htm index 240ace3b6..dee895803 100644 --- a/target/docs/lib/GroupAdd.htm +++ b/target/docs/lib/GroupAdd.htm @@ -20,13 +20,13 @@

    パラメータ

    GroupName
    -

    Type: String

    +

    型:文字列

    ã“ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ä»•æ§˜ã‚’追加ã™ã‚‹ã‚°ãƒ«ãƒ¼ãƒ—ã®åå‰ã€‚グループãŒå­˜åœ¨ã—ãªã„å ´åˆã¯ã€ä½œæˆã•ã‚Œã¾ã™ã€‚Group names are not case-sensitive.

    WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
    -

    Type: String, Integer or Object

    +

    型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

    WinTitleã«ã¯ ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã€ã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€WinTextã«ã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ã€‚)を指定ã—ã¾ã™ã€‚

    ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

    ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚Although DetectHiddenWindows, DetectHiddenText and SetTitleMatchMode do not directly affect the behavior of this function, they do affect the other group functions such as GroupActivate and GroupClose. They also affect the use of ahk_group in any other function's WinTitle.

    @@ -48,28 +48,28 @@

    例

    ホットキーを押ã™ã¨ã€é–‹ã„ã¦ã„ã‚‹ã™ã¹ã¦ã®MSIEウィンドウを縦断ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    -
    ; In global code, to be evaluated at startup:
    -GroupAdd "MSIE", "ahk_class IEFrame" ; Add only Internet Explorer windows to this group.
    +
    ; グローãƒãƒ«ã‚³ãƒ¼ãƒ‰ã§ã€èµ·å‹•æ™‚ã«è©•ä¾¡ã•ã‚Œã‚‹ï¼š
    +GroupAdd "MSIE", "ahk_class IEFrame"; Internet Explorerã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã ã‘ã‚’ã“ã®ã‚°ãƒ«ãƒ¼ãƒ—ã«è¿½åŠ ã—ã¾ã™ã€‚
     
    -; Assign a hotkey to activate this group, which traverses
    -; through all open MSIE windows, one at a time (i.e. each
    -; press of the hotkey).
    +;ã“ã®ã‚°ãƒ«ãƒ¼ãƒ—ã‚’èµ·å‹•ã™ã‚‹ãŸã‚ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’割り当ã¦ã¾ã™ã€‚
    +; é–‹ã„ã¦ã„ã‚‹ã™ã¹ã¦ã®MSIEウィンドウを一度ã«1ã¤ãšã¤ï¼ˆã¤ã¾ã‚Šã€ãã‚Œãžã‚Œã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã«
    +; ホットキーã®æŠ¼ä¸‹ï¼‰ã€‚
     Numpad1::GroupActivate "MSIE", "r"

    ホットキーを押ã—ã¦ã€MS Outlook 2002ã®å„ウィンドウを1ã¤ãšã¤è¨ªå•ã—ã¾ã™ã€‚

    -
    ; In global code, to be evaluated at startup:
    -SetTitleMatchMode 2 
    -GroupAdd "mail", "Message - Microsoft Word" ; This is for mails currently being composed
    -GroupAdd "mail", "- Message (" ; This is for already opened items 
    -; Need extra text to avoid activation of a phantom window:
    +  
    ; グローãƒãƒ«ã‚³ãƒ¼ãƒ‰ã§ã€èµ·å‹•æ™‚ã«è©•ä¾¡ã•ã‚Œã‚‹ï¼š
    +SetTitleMatchMode 2
    +GroupAdd "mail", "Message - Microsoft Word";ã“ã‚Œã¯ç¾åœ¨ä½œæˆä¸­ã®ãƒ¡ãƒ¼ãƒ«ã®ãŸã‚ã®ã‚‚ã®ã§ã™ã€‚
    +Groupadd "mail", "- Message (";ã“ã‚Œã¯æ—¢ã«é–‹å°ã•ã‚ŒãŸã‚‚ã®ãŒå¯¾è±¡ã§ã™ã€‚
    +; ファントムウィンドウã®èµ·å‹•ã‚’é¿ã‘ã‚‹ãŸã‚ã€ãƒ†ã‚­ã‚¹ãƒˆã‚’追加ã™ã‚‹å¿…è¦ãŒã‚る:
     GroupAdd "mail", "Advanced Find", "Sear&ch for the word(s)"
     GroupAdd "mail", , "Recurrence:"
     GroupAdd "mail", "Reminder"
     GroupAdd "mail", "- Microsoft Outlook"
     
    -; Assign a hotkey to visit each Outlook window, one at a time.
    +; Outlookã®å„ウィンドウを一度ã«è¨ªå•ã™ã‚‹ãŸã‚ã®ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’割り当ã¦ã¾ã™ã€‚
     Numpad5::GroupActivate "mail"
    diff --git a/target/docs/lib/GroupClose.htm b/target/docs/lib/GroupClose.htm index 610e47c08..c36e255b4 100644 --- a/target/docs/lib/GroupClose.htm +++ b/target/docs/lib/GroupClose.htm @@ -20,13 +20,13 @@

    パラメータ

    GroupName
    -

    Type: String

    +

    型:文字列

    GroupAddã§å…ƒã€…定義ã•ã‚Œã¦ã„るグループå

    Mode
    -

    Type: String

    +

    型:文字列

    空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ウィンドウを閉ã˜ã¦ã€æœ€ã‚‚å¤ã„ウィンドウをアクティブã«ã—ã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€æ¬¡ã®æ–‡å­—ã®ã†ã¡ã€ã²ã¨ã¤ã‚’指定ã—ã¦ãã ã•ã„。

    R:最も新ã—ã„ウィンドウ(最も最近アクティブã«ãªã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ï¼‰ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã‚Šã¾ã™ãŒã€ã“ã®é–¢æ•°ãŒä¸Žãˆã‚‰ã‚ŒãŸã¨ãã«ã‚°ãƒ«ãƒ¼ãƒ—ã®ãƒ¡ãƒ³ãƒãƒ¼ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã§ãªã„å ´åˆã«é™ã‚Šã¾ã™ã€‚"R"ã¯ã€ä¸€æ™‚çš„ã«é–¢ä¿‚ãªã„作業ã«åˆ‡ã‚Šæ›¿ãˆã‚‹ã‚±ãƒ¼ã‚¹ã«æœ‰åŠ¹ã§ã™ã€‚GroupActivateã€GroupDeactivateã€GroupCloseã§ã‚°ãƒ«ãƒ¼ãƒ—ã«æˆ»ã‚‹ã¨ã€æœ€ã‚‚å¤ã„ウィンドウã§ã¯ãªãã€ç›´è¿‘ã§æ“作ã—ã¦ã„ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã‚Šã¾ã™ã€‚

    A:グループã®å…¨ãƒ¡ãƒ³ãƒãƒ¼ãŒã‚¯ãƒ­ãƒ¼ã‚ºã¨ãªã‚Šã¾ã™ã€‚WinClose"ahk_group GroupName"ã¨åŒã˜åŠ¹æžœã§ã™ã€‚

    diff --git a/target/docs/lib/GroupDeactivate.htm b/target/docs/lib/GroupDeactivate.htm index 6aa8c0f15..734978f2c 100644 --- a/target/docs/lib/GroupDeactivate.htm +++ b/target/docs/lib/GroupDeactivate.htm @@ -20,13 +20,13 @@

    パラメータ

    GroupName
    -

    Type: String

    +

    型:文字列

    GroupAddã§å…ƒã€…定義ã•ã‚Œã¦ã„る対象グループã®åå‰ã§ã™ã€‚

    Mode
    -

    Type: String

    +

    型:文字列

    If blank or omitted, the function activates the oldest non-member window. Otherwise, specify the following letter:

    R:最も新ã—ã„éžãƒ¡ãƒ³ãƒãƒ¼ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ï¼ˆæœ€ã‚‚最近アクティブã«ãªã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ï¼‰ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã‚Šã¾ã™ãŒã€ã“ã®é–¢æ•°ãŒä¸Žãˆã‚‰ã‚ŒãŸã¨ãã«ã‚°ãƒ«ãƒ¼ãƒ—ã®ãƒ¡ãƒ³ãƒãƒ¼ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã§ã‚ã‚‹å ´åˆã«é™ã‚‰ã‚Œã¾ã™ã€‚"R"ã¯ã€ä¸€æ™‚çš„ã«é–¢ä¿‚ãªã„作業ã«åˆ‡ã‚Šæ›¿ãˆã‚‹ã‚±ãƒ¼ã‚¹ã«æœ‰åŠ¹ã§ã™ã€‚GroupActivateã€GroupDeactivateã€GroupCloseã§ã‚°ãƒ«ãƒ¼ãƒ—ã«æˆ»ã‚‹ã¨ã€æœ€ã‚‚å¤ã„ウィンドウã§ã¯ãªãã€ç›´è¿‘ã§ä½œæ¥­ã—ã¦ã„ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã‚Šã¾ã™ã€‚

    diff --git a/target/docs/lib/Gui.htm b/target/docs/lib/Gui.htm index 3f615d3a9..b476abec4 100644 --- a/target/docs/lib/Gui.htm +++ b/target/docs/lib/Gui.htm @@ -30,35 +30,35 @@

    目次

  35. Methods:
    • Add: Creates a new control and adds it to the window.
    • -
    • Destroy: Deletes the window.
    • -
    • Flash: Blinks the window and its taskbar button.
    • -
    • GetClientPos: Retrieves the position and size of the window's client area.
    • -
    • GetPos: Retrieves the position and size of the window.
    • -
    • Hide: Hides the window.
    • -
    • Maximize: Unhides and maximizes the window.
    • -
    • Minimize: Unhides and minimizes the window.
    • +
    • Destroy:ウィンドウを削除ã—ã¾ã™ã€‚
    • +
    • Flash:ウィンドウã¨ãã®ã‚¿ã‚¹ã‚¯ãƒãƒ¼ãƒœã‚¿ãƒ³ã‚’点滅ã•ã›ã¾ã™ã€‚
    • +
    • GetClientPos:ウィンドウã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã‚¨ãƒªã‚¢ã®ä½ç½®ã¨ã‚µã‚¤ã‚ºã‚’å–å¾—ã—ã¾ã™ã€‚
    • +
    • GetPos:ウィンドウã®ä½ç½®ã¨å¤§ãã•ã‚’å–å¾—ã—ã¾ã™ã€‚
    • +
    • Hide:ウィンドウを隠ã—ã¾ã™ã€‚
    • +
    • Maximize:ウィンドウã®éžè¡¨ç¤ºã¨æœ€å¤§åŒ–を解除ã—ã¾ã™ã€‚
    • +
    • Minimize:ウィンドウã®éžè¡¨ç¤ºã¨æœ€å°åŒ–ã‚’è¡Œã„ã¾ã™ã€‚
    • Move: Moves and/or resizes the window.
    • -
    • OnEvent: Registers a function or method to be called when the given event is raised.
    • -
    • Opt: Sets various options and styles for the appearance and behavior of the window.
    • +
    • OnEvent:与ãˆã‚‰ã‚ŒãŸã‚¤ãƒ™ãƒ³ãƒˆãŒç™ºç”Ÿã—ãŸã¨ãã«å‘¼ã³å‡ºã•ã‚Œã‚‹é–¢æ•°ã¾ãŸã¯ãƒ¡ã‚½ãƒƒãƒ‰ã‚’登録ã—ã¾ã™ã€‚
    • +
    • Opt:ウィンドウã®å¤–観や動作ã«é–¢ã™ã‚‹ã•ã¾ã–ã¾ãªã‚ªãƒ—ションやスタイルを設定ã—ã¾ã™ã€‚
    • Restore: Unhides and unminimizes or unmaximizes the window.
    • -
    • SetFont: Sets the typeface, size, style, and text color for subsequently created controls.
    • -
    • Show: Displays the window. ã¾ãŸã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®æœ€å°åŒ–ã€æœ€å¤§åŒ–ã€ç§»å‹•ã‚‚å¯èƒ½ã§ã™ã€‚
    • -
    • Submit: Collects the values from named controls and composes them into an Object. オプションã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’éžè¡¨ç¤ºã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
    • +
    • SetFont:続ã„ã¦ä½œæˆã•ã‚Œã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®æ›¸ä½“ã€ã‚µã‚¤ã‚ºã€ã‚¹ã‚¿ã‚¤ãƒ«ã€ãƒ†ã‚­ã‚¹ãƒˆã‚«ãƒ©ãƒ¼ã‚’設定ã—ã¾ã™ã€‚
    • +
    • Show:ウィンドウを表示ã—ã¾ã™ã€‚ã¾ãŸã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®æœ€å°åŒ–ã€æœ€å¤§åŒ–ã€ç§»å‹•ã‚‚å¯èƒ½ã§ã™ã€‚
    • +
    • Submit:åå‰ä»˜ãコントロールã‹ã‚‰å€¤ã‚’åŽé›†ã—ã€ã‚ªãƒ–ジェクトã«åˆæˆã—ã¾ã™ã€‚オプションã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’éžè¡¨ç¤ºã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
    • __Enum: Enumerates the window's controls.
    • -
    • __New: Constructs a new Gui instance.
    • +
    • __New:æ–°ã—ã„Guiインスタンスを構築ã—ã¾ã™ã€‚
  36. Properties:
      -
    • BackColor: Retrieves or sets the background color of the window.
    • +
    • BackColor:ウィンドウã®èƒŒæ™¯è‰²ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
    • FocusedCtrl: Retrieves the GuiControl object of the window's focused control.
    • Hwnd: Retrieves the window handle (HWND) of the window.
    • -
    • MarginX: Retrieves or sets the size of horizontal margins between sides and subsequently created controls.
    • -
    • MarginY: Retrieves or sets the size of vertical margins between sides and subsequently created controls.
    • -
    • MenuBar: Retrieves or sets the window's menu bar.
    • +
    • MarginX:å´é¢ã¨ãã®å¾Œã«ä½œæˆã•ã‚Œã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®é–“ã®æ°´å¹³ãƒžãƒ¼ã‚¸ãƒ³ã®ã‚µã‚¤ã‚ºã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
    • +
    • MarginY:å´é¢ã¨ãã®å¾Œã«ä½œæˆã•ã‚Œã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®é–“ã®åž‚直マージンã®ã‚µã‚¤ã‚ºã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
    • +
    • MenuBar:ウィンドウã®ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
    • Name: Retrieves or sets a custom name for the window.
    • Title: Retrieves or sets the window's title.
    • -
    • __Item: Retrieves the GuiControl object associated with the specified name, text, ClassNN or HWND.
    • +
    • __Item:指定ã•ã‚ŒãŸåå‰ã€ãƒ†ã‚­ã‚¹ãƒˆã€ClassNNã€HWND ã«é–¢é€£ã™ã‚‹GuiControl オブジェクトをå–å¾—ã—ã¾ã™ã€‚
  37. General: @@ -81,20 +81,20 @@

    Call

    パラメータ

    Options
    -

    Type: String

    +

    型:文字列

    Any of the options supported by Gui.Opt.

    タイトル
    -

    Type: String

    +

    型:文字列

    If omitted, it defaults to A_ScriptName. Otherwise, specify the window title.

    EventObj
    -

    Type: Object

    +

    型:Object

    「イベントシンクã€ã€ã¤ã¾ã‚Šã‚¤ãƒ™ãƒ³ãƒˆã‚’ãƒã‚¤ãƒ³ãƒ‰ã™ã‚‹ãŸã‚ã®ã‚ªãƒ–ジェクトã§ã™ã€‚EventObjを指定ã—ãŸå ´åˆã€OnEventã€OnNotifyã€OnCommandを使用ã—ã¦ã€ã‚¤ãƒ™ãƒ³ãƒˆãŒç™ºç”Ÿã—ãŸã¨ãã«å‘¼ã³å‡ºã•ã‚Œã‚‹EventObjã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’登録ã™ã‚‹ã“ã¨ãŒã§ãる。

    戻り値

    -

    Type: Object

    +

    型:Object

    This method or function returns a Gui object.

    @@ -107,34 +107,34 @@

    Add

    パラメータ

    ControlType
    -

    Type: String

    -

    This is one of the following: ActiveX, Button, CheckBox, ComboBox, Custom, DateTime, DropDownList (or DDL), Edit, GroupBox, Hotkey, Link, ListBox, ListView, MonthCal, Picture (or Pic), Progress, Radio, Slider, StatusBar, Tab, Tab2, Tab3, Text, TreeView, UpDown

    +

    型:文字列

    +

    ã“ã‚Œã¯ã€ä»¥ä¸‹ã®ã„ãšã‚Œã‹ã¨ãªã‚Šã¾ã™ï¼šActiveX, Button, CheckBox, ComboBox, Custom, DateTime, DropDownList (or DDL), Edit, GroupBox, Hotkey, Link, ListBox, ListView, MonthCal, Picture (or Pic), Progress, Radio, Slider, StatusBar, Tab, Tab2, Tab3, Text, TreeView, UpDown

    事例:

    MyGui := Gui()
     MyGui.Add("Text",, "Please enter your name:")
     MyGui.AddEdit("vName")
     MyGui.Show
    Options
    -

    Type: String

    +

    型:文字列

    If blank or omitted, the control starts off at its defaults. Otherwise, specify one or more of the following options and styles, each separated from the next with one or more spaces or tabs.

    コントロールã®ä½ç½®ã¥ã‘ã¨ã‚µã‚¤ã‚º

    オプションã§å¯¸æ³•ã‚„座標ãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¯ãã®æ€§è³ªã‚„内容ã«å¿œã˜ã¦ã€å‰ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¨ã®ç›¸å¯¾çš„ãªä½ç½®é–¢ä¿‚や大ãã•ã‚’自動的ã«æ±ºå®šã—ã¾ã™ã€‚

    以下ã®ã‚ªãƒ—ションã«å¯¾å¿œã—ã¦ã„ã¾ã™ï¼š

    -

    Rn: Rows of text (where n is any number, even a floating point number such as r2.5). R is often preferable to specifying H (Height). If both the R and H options are present, R will take precedence. グループボックスã®å ´åˆã€ãƒœãƒƒã‚¯ã‚¹å†…ã®ã‚¹ãƒšãƒ¼ã‚¹ã‚’確ä¿ã™ã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®æ•°ã‚’設定ã—ã¾ã™ã€‚For DropDownLists, ComboBoxes, and ListBoxes, it is the number of items visible at one time inside the list portion of the control (but it is often desirable to omit both the R and H options for DropDownList and ComboBox, as the popup list will automatically take advantage of the available height of the user's desktop). For other control types, R is the number of rows of text that can visibly fit inside the control.

    +

    Rn:Rows of text (where n is any number, even a floating point number such as r2.5). R is often preferable to specifying H (Height). If both the R and H options are present, R will take precedence. グループボックスã®å ´åˆã€ãƒœãƒƒã‚¯ã‚¹å†…ã®ã‚¹ãƒšãƒ¼ã‚¹ã‚’確ä¿ã™ã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®æ•°ã‚’設定ã—ã¾ã™ã€‚For DropDownLists, ComboBoxes, and ListBoxes, it is the number of items visible at one time inside the list portion of the control (but it is often desirable to omit both the R and H options for DropDownList and ComboBox, as the popup list will automatically take advantage of the available height of the user's desktop). For other control types, R is the number of rows of text that can visibly fit inside the control.

    Wn: Width (where n is any number in pixels). If omitted, the width is calculated automatically for some control types based on their contents; tab controls default to 30 times the current font size, plus 3 times the X-margin; vertical Progress Bars default to two times the current font size; and horizontal Progress Bars, horizontal Sliders, DropDownLists, ComboBoxes, ListBoxes, GroupBoxes, Edits, and Hotkeys default to 15 times the current font size (except GroupBoxes, which multiply by 18 to provide room inside for margins).

    -

    Hn: Height (where n is any number in pixels). If both the H and R options are absent, DropDownLists, ComboBoxes, ListBoxes, and empty multi-line Edit controls default to 3 rows; GroupBoxes default to 2 rows; vertical Sliders and Progress Bars default to 5 rows; horizontal Sliders default to 30 pixels (except if a thickness has been specified); horizontal Progress Bars default to 2 times the current font size; Hotkey controls default to 1 row; and Tab controls default to 10 rows. ãã®ä»–ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚¿ã‚¤ãƒ—ã«ã¤ã„ã¦ã¯ã€ãã®å†…容ã«åŸºã¥ã„ã¦é«˜ã•ãŒè‡ªå‹•çš„ã«è¨ˆç®—ã•ã‚Œã¾ã™ã€‚Note that for DropDownLists and ComboBoxes, H is the combined height of the control's always-visible portion and its list portion (but even if the height is set too low, at least one item will always be visible in the list). Also, for all types of controls, specifying the number of rows via the R option is usually preferable to using H because it prevents a control from showing partial/incomplete rows of text.

    +

    Hn:Height (where n is any number in pixels). If both the H and R options are absent, DropDownLists, ComboBoxes, ListBoxes, and empty multi-line Edit controls default to 3 rows; GroupBoxes default to 2 rows; vertical Sliders and Progress Bars default to 5 rows; horizontal Sliders default to 30 pixels (except if a thickness has been specified); horizontal Progress Bars default to 2 times the current font size; Hotkey controls default to 1 row; and Tab controls default to 10 rows. ãã®ä»–ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚¿ã‚¤ãƒ—ã«ã¤ã„ã¦ã¯ã€ãã®å†…容ã«åŸºã¥ã„ã¦é«˜ã•ãŒè‡ªå‹•çš„ã«è¨ˆç®—ã•ã‚Œã¾ã™ã€‚Note that for DropDownLists and ComboBoxes, H is the combined height of the control's always-visible portion and its list portion (but even if the height is set too low, at least one item will always be visible in the list). Also, for all types of controls, specifying the number of rows via the R option is usually preferable to using H because it prevents a control from showing partial/incomplete rows of text.

    WP±n, HP±n (where n is any number in pixels) can be used to set the width and/or height of a control equal to the previously added control's width or height, with an optional plus or minus adjustment. 例ãˆã°ã€wpã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å¹…ã‚’å‰ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å¹…ã«è¨­å®šã—ã€wp-50ã¯å‰ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å¹…より50å°ã•ã„å¹…ã«è¨­å®šã—ã¾ã™ã€‚

    Xn, Yn: X-position, Y-position (where n is any number in pixels). For example, specifying x0 y0 would position the control in the upper left corner of the window's client area, which is the area beneath the title bar and menu bar (if any).

    -

    X+n, Y+n (where n is any number in pixels): An optional plus sign can be included to position a control relative to the right or bottom edge (respectively) of the control that was previously added. For example, specifying y+10 would position the control 10 pixels beneath the bottom of the previous control rather than using the standard padding distance. Similarly, specifying x+10 would position the control 10 pixels to the right of the previous control's right edge. Since negative numbers such as x-10 are reserved for absolute positioning, to use a negative offset, include a plus sign in front of it. For example: x+-10.

    +

    X+n, Y+n (where n is any number in pixels):オプションã®ãƒ—ラス記å·ã¯ã€å…ˆã«è¿½åŠ ã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å³ç«¯ã¾ãŸã¯ä¸‹ç«¯ï¼ˆãã‚Œãžã‚Œï¼‰ã«å¯¾ã—ã¦ç›¸å¯¾çš„ã«ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’é…ç½®ã™ã‚‹ãŸã‚ã«å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚For example, specifying y+10 would position the control 10 pixels beneath the bottom of the previous control rather than using the standard padding distance. Similarly, specifying x+10 would position the control 10 pixels to the right of the previous control's right edge. Since negative numbers such as x-10 are reserved for absolute positioning, to use a negative offset, include a plus sign in front of it. 事例:x+-10.

    For X+ and Y+, the letter M can be used as a substitute for the window's current margin. For example, x+m uses the right edge of the previous control plus the standard padding distance. xp y+m positions a control below the previous control, whereas specifying a relative X coordinate on its own (with XP or X+) would normally imply yp by default.

    XP±n, YP±n (where n is any number in pixels) can be used to position controls relative to the previous control's upper left corner, which is often useful for enclosing controls in a GroupBox.

    XM±n and YM±n (where n is any number in pixels) can be used to position a control at the leftmost and topmost margins of the window, respectively, with an optional plus or minus adjustment.

    -

    XS±n and YS±n (where n is any number in pixels): These are similar to XM and YM except that they refer to coordinates that were saved by having previously added a control with the word Section in its options (the first control of the window always starts a new section, even if that word isn't specified in its options). 事例:

    +

    XS±n and YS±n (where n is any number in pixels):These are similar to XM and YM except that they refer to coordinates that were saved by having previously added a control with the word Section in its options (the first control of the window always starts a new section, even if that word isn't specified in its options). 事例:

    MyGui := Gui()
    -MyGui.Add("Edit", "w600")  ; Add a fairly wide edit control at the top of the window.
    +MyGui.Add("Edit", "w600")  ;ウィンドウã®ä¸Šéƒ¨ã«ã‹ãªã‚Šåºƒã„エディットコントロールを追加ã—ã¾ã™ã€‚
     MyGui.Add("Text", "Section", "First Name:")  ; Save this control's position and start a new section.
     MyGui.Add("Text",, "Last Name:")
    -MyGui.Add("Edit", "ys")  ; Start a new column within this section.
    +MyGui.Add("Edit","ys")  ; ã“ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³å†…ã§æ–°ã—ã„カラムを開始ã—ã¾ã™ã€‚
     MyGui.Add("Edit")
     MyGui.Show

    XS and YS may optionally be followed by a plus/minus sign and a number. Also, it is possible to specify both the word Section and XS/YS in a control's options; this uses the previous section for itself but establishes a new section for subsequent controls.

    @@ -159,14 +159,14 @@

    パラメータ

    Events: Event handlers (such as a function which is called automatically when the user clicks or changes a control) cannot be set within the control's Options. 代ã‚ã‚Šã«ã€OnEventを使用ã—ã¦ã€é–¢å¿ƒã®ã‚るイベントã”ã¨ã«ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯é–¢æ•°ã¾ãŸã¯ãƒ¡ã‚½ãƒƒãƒ‰ã‚’登録ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    Common Options and Styles for Controls

    -

    Note: In the absence of a preceding sign, a plus sign is assumed; for example, Wrap is the same as +Wrap. ã“ã‚Œã«å¯¾ã—ã¦ã€-Wrapã¯ã€å˜èªžã®æŠ˜ã‚Šè¿”ã—特性を削除ã—ã¾ã™ã€‚

    +

    注:先行ã™ã‚‹è¨˜å·ãŒãªã„å ´åˆã€ãƒ—ラス記å·ã¨ã¿ãªã•ã‚Œã¾ã™ã€‚例ãˆã°ã€Wrap㯠+Wrapã¨åŒã˜ã§ã™ã€‚ã“ã‚Œã«å¯¾ã—ã¦ã€-Wrapã¯ã€å˜èªžã®æŠ˜ã‚Šè¿”ã—特性を削除ã—ã¾ã™ã€‚

    AltSubmit: Uses alternate submit method. DropDownListã€ComboBoxã€ListBoxã€Tabã®å ´åˆã€Gui.Submitã«é¸æŠžé …ç›®ã®ãƒ†ã‚­ã‚¹ãƒˆã§ã¯ãªãã€ãã®ä½ç½®ãŒä¿å­˜ã•ã‚Œã‚‹ã‚ˆã†ã«ãªã‚‹ãŸã‚ã§ã™ã€‚é …ç›®ãŒé¸æŠžã•ã‚Œã¦ã„ãªã„å ´åˆã§ã‚‚ã€ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã¯ãã®ç·¨é›†ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’ä¿å­˜ã—ã¾ã™ã€‚

    -

    C: Color of text (has no effect on buttons and status bars). Specify the letter C followed immediately by a color name (see color chart) or RGB value (the 0x prefix is optional). Examples: cRed, cFF2211, c0xFF2211, cDefault.

    -

    Disabled: Makes an input-capable control appear in a disabled state, which prevents the user from focusing or modifying its contents. 後ã‹ã‚‰æœ‰åŠ¹ã«ã™ã‚‹å ´åˆã¯ã€GuiCtrl.Enabledを使用ã—ã¾ã™ã€‚Note: To make an Edit control read-only, specify the string ReadOnly instead. ã¾ãŸã€Disabledã®ç›´å¾Œã«0ã¾ãŸã¯1を付加ã—ã¦ã€é–‹å§‹çŠ¶æ…‹ï¼ˆ0ãŒæœ‰åŠ¹ã€1ãŒç„¡åŠ¹ï¼‰ã‚’示ã™ã“ã¨ã‚‚ä»»æ„ã«å¯èƒ½ã§ã™ã€‚ã¤ã¾ã‚Šã€Disabled㨠"Disabled" VarContainingOneã¯åŒã˜ã§ã™ã€‚

    +

    C: Color of text (has no effect on buttons and status bars). Specify the letter C followed immediately by a color name (see color chart) or RGB value (the 0x prefix is optional). 例:cRed, cFF2211, c0xFF2211, cDefault.

    +

    Disabled: Makes an input-capable control appear in a disabled state, which prevents the user from focusing or modifying its contents. 後ã‹ã‚‰æœ‰åŠ¹ã«ã™ã‚‹å ´åˆã¯ã€GuiCtrl.Enabledを使用ã—ã¾ã™ã€‚注:Editコントロールを読ã¿å–り専用ã«ã™ã‚‹ã«ã¯ã€ä»£ã‚ã‚Šã«æ–‡å­—列ReadOnlyを指定ã—ã¾ã™ã€‚ã¾ãŸã€Disabledã®ç›´å¾Œã«0ã¾ãŸã¯1を付加ã—ã¦ã€é–‹å§‹çŠ¶æ…‹ï¼ˆ0ãŒæœ‰åŠ¹ã€1ãŒç„¡åŠ¹ï¼‰ã‚’示ã™ã“ã¨ã‚‚ä»»æ„ã«å¯èƒ½ã§ã™ã€‚ã¤ã¾ã‚Šã€Disabled㨠"Disabled" VarContainingOneã¯åŒã˜ã§ã™ã€‚

    Hidden: The control is initially invisible. 後ã§è¡¨ç¤ºã™ã‚‹å ´åˆã¯GuiCtrl.Visibleを使用ã—ã¾ã™ã€‚Hiddenã®ç›´å¾Œã«0ã¾ãŸã¯1を付加ã—ã¦ã€é–‹å§‹æ™‚ã®çŠ¶æ…‹ã‚’示ã™ã“ã¨ã‚‚ã§ãる(0ã¯å¯è¦–ã€1ã¯éžè¡¨ç¤ºï¼‰ã€‚ã¤ã¾ã‚Šã€Hidden㨠「Hiddenã€VarContainingOneã¯åŒã˜ã§ã™ã€‚

    -

    Left: Left-justifies the control's text within its available width. This option affects the following controls: Text, Edit, Button, CheckBox, Radio, UpDown, Slider, Tab, Tab2, GroupBox, DateTime.

    -

    Right: Right-justifies the control's text within its available width. ãƒã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ã‚„ラジオボタンã®å ´åˆã€ãƒœãƒƒã‚¯ã‚¹è‡ªä½“もコントロールã®å·¦å´ã§ã¯ãªãã€å³å´ã«é…ç½®ã•ã‚Œã¾ã™ã€‚This option affects the following controls: Text, Edit, Button, CheckBox, Radio, UpDown, Slider, Tab, Tab2, GroupBox, DateTime, Link.

    -

    Center: Centers the control's text within its available width. This option affects the following controls: Text, Edit, Button, CheckBox, Radio, Slider, GroupBox.

    +

    Left: Left-justifies the control's text within its available width. ã“ã®ã‚ªãƒ—ションã¯ã€ä»¥ä¸‹ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«å½±éŸ¿ã—ã¾ã™ï¼šText, Edit, Button, CheckBox, Radio, UpDown, Slider, Tab, Tab2, GroupBox, DateTime.

    +

    Right: Right-justifies the control's text within its available width. ãƒã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ã‚„ラジオボタンã®å ´åˆã€ãƒœãƒƒã‚¯ã‚¹è‡ªä½“もコントロールã®å·¦å´ã§ã¯ãªãã€å³å´ã«é…ç½®ã•ã‚Œã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€ä»¥ä¸‹ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«å½±éŸ¿ã—ã¾ã™ï¼šText, Edit, Button, CheckBox, Radio, UpDown, Slider, Tab, Tab2, GroupBox, DateTime, Link.

    +

    Center: Centers the control's text within its available width. ã“ã®ã‚ªãƒ—ションã¯ã€ä»¥ä¸‹ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«å½±éŸ¿ã—ã¾ã™ï¼šText, Edit, Button, CheckBox, Radio, Slider, GroupBox.

    Section: Starts a new section and saves this control's position for later use with the XS and YS positioning options described above.

    Tabstop: Use -Tabstop (minus Tabstop) to have an input-capable control skipped over when the user presses Tab to navigate.

    Wrap: Enables word-wrapping of the control's contents within its available width. ã»ã¼ã™ã¹ã¦ã®åˆ¶å¾¡ã‚¿ã‚¤ãƒ—ã¯ã€æœ€åˆã«ãƒ¯ãƒ¼ãƒ‰ãƒ©ãƒƒãƒ”ングãŒæœ‰åŠ¹ã«ãªã£ã¦ã„ã‚‹ã®ã§ã€ãƒ¯ãƒ¼ãƒ‰ãƒ©ãƒƒãƒ”ングを無効ã«ã™ã‚‹ã«ã¯ã€-Wrapを使用ã—ã¾ã™ã€‚

    @@ -174,8 +174,8 @@

    パラメータ

    HScroll: Provides a horizontal scroll bar if appropriate for this type of control. ã“ã®æ®µè½ã®ç¶šãã¯ã€ListBoxã®ã¿ã«é©ç”¨ã•ã‚Œã¾ã™ã€‚水平スクロールã®å¹…ã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ListBoxã®å¹…ã®3å€ã«ãªã£ã¦ã„ã¾ã™ã€‚ç•°ãªã‚‹ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«å¹…を指定ã™ã‚‹å ´åˆã¯ã€HScrollã¨ã„ã†æ–‡å­—ã®ç›´å¾Œã«æ•°å­—ã‚’å«ã‚ã¦ãã ã•ã„。例ãˆã°ã€HScroll500を指定ã™ã‚‹ã¨ã€ListBox内ã§500ピクセルã®ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ãŒå¯èƒ½ã«ãªã‚Šã¾ã™ã€‚However, if the specified scrolling width is smaller than the width of the ListBox, no scroll bar will be shown (though the mere presence of HScroll makes it possible for the horizontal scroll bar to be added later via MyScrollBar.Opt("+HScroll500"), which is otherwise impossible).

    Uncommon Options and Styles for Controls

    -

    BackgroundTrans: Uses a transparent background, which allows any control that lies behind a Text, Picture, or GroupBox control to show through. 例ãˆã°ã€ãƒ”クãƒãƒ£ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ä¸Šã«é€æ˜Žãªãƒ†ã‚­ã‚¹ãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’表示ã™ã‚‹ã¨ã€ãƒ†ã‚­ã‚¹ãƒˆãŒãƒ”クãƒãƒ£ã®ä¸€éƒ¨ã«è¦‹ãˆã‚‹ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを後ã§å‰Šé™¤ã™ã‚‹ã«ã¯ã€GuiCtrl.Opt("+Background")を使用ã—ã¾ã™ã€‚é€éŽç”»åƒã«ã¤ã„ã¦ã¯ã€ãƒ”クãƒãƒ£ãƒ¼ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®AltSubmitã®é …ã‚’å‚ç…§ã—ã¦ãã ã•ã„。Known limitation: BackgroundTrans might not work properly for controls inside a Tab control that contains a ListView. 制御型ãŒã“ã®ã‚ªãƒ—ションをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„å ´åˆã€ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    -

    BackgroundColor: Changes the background color of the control. Colorを色å(カラーãƒãƒ£ãƒ¼ãƒˆå‚照)ã¾ãŸã¯RGB値(0x接頭辞ã¯ä»»æ„)ã«ç½®ãæ›ãˆã‚‹ã€‚Examples: BackgroundSilver, BackgroundFFDD99. If this option is not used, or if +Background is used with no suffix, a Text, Picture, GroupBox, CheckBox, Radio, Slider, Tab or Link control uses the background color set by Gui.BackColor (or if none or other control type, the system's default background color). Specifying BackgroundDefault or -Background applies the system's default background color. For example, a control can be restored to the system's default color via LV.Opt("+BackgroundDefault"). 制御型ãŒã“ã®ã‚ªãƒ—ションをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„å ´åˆã€ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    +

    BackgroundTrans: Uses a transparent background, which allows any control that lies behind a Text, Picture, or GroupBox control to show through. 例ãˆã°ã€ãƒ”クãƒãƒ£ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ä¸Šã«é€æ˜Žãªãƒ†ã‚­ã‚¹ãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’表示ã™ã‚‹ã¨ã€ãƒ†ã‚­ã‚¹ãƒˆãŒãƒ”クãƒãƒ£ã®ä¸€éƒ¨ã«è¦‹ãˆã‚‹ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを後ã§å‰Šé™¤ã™ã‚‹ã«ã¯ã€GuiCtrl.Opt("+Background")を使用ã—ã¾ã™ã€‚é€éŽç”»åƒã«ã¤ã„ã¦ã¯ã€ãƒ”クãƒãƒ£ãƒ¼ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®AltSubmitã®é …ã‚’å‚ç…§ã—ã¦ãã ã•ã„。既知ã®åˆ¶é™ï¼šListViewã‚’å«ã‚€Tabコントロール内ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã§ã€BackgroundTransãŒæ­£ã—ã動作ã—ãªã„å ´åˆãŒã‚る。制御型ãŒã“ã®ã‚ªãƒ—ションをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„å ´åˆã€ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    +

    BackgroundColor:コントロールã®èƒŒæ™¯è‰²ã‚’変更ã—ã¾ã™ã€‚Colorを色å(カラーãƒãƒ£ãƒ¼ãƒˆå‚照)ã¾ãŸã¯RGB値(0x接頭辞ã¯ä»»æ„)ã«ç½®ãæ›ãˆã‚‹ã€‚例:BackgroundSilver, BackgroundFFDD99. If this option is not used, or if +Background is used with no suffix, a Text, Picture, GroupBox, CheckBox, Radio, Slider, Tab or Link control uses the background color set by Gui.BackColor (or if none or other control type, the system's default background color). Specifying BackgroundDefault or -Background applies the system's default background color. For example, a control can be restored to the system's default color via LV.Opt("+BackgroundDefault"). 制御型ãŒã“ã®ã‚ªãƒ—ションをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„å ´åˆã€ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    Border: Provides a thin-line border around the control. ã»ã¨ã‚“ã©ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¯ã€ã™ã§ã«ã‚¿ã‚¤ãƒ—固有ã®ãƒœãƒ¼ãƒ€ãƒ¼ã‚’æŒã£ã¦ã„ã‚‹ãŸã‚ã€ã“ã‚Œã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“。既存ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«ãƒœãƒ¼ãƒ€ãƒ¼ã‚’追加ã™ã‚‹å ´åˆã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å¹…ã¨é«˜ã•ã‚’1ピクセルãšã¤å¤§ããã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã€‚

    Redraw: When used with GuiCtrl.Opt, this option enables or disables redraw (visual updates) for a control by sending it a WM_SETREDRAW message. 詳ã—ãã¯ã€Œå†æç”»ã€ã‚’ã”覧ãã ã•ã„。

    Theme: This option can be used to override the window's current theme setting for the newly created control. 既存ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«ä½¿ç”¨ã—ã¦ã‚‚効果ã¯ã‚ã‚Šã¾ã›ã‚“ãŒã€å°†æ¥ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§å¤‰æ›´ã•ã‚Œã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚詳ã—ãã¯GUIã®+/-Themeオプションをã”覧ãã ã•ã„。

    @@ -184,7 +184,7 @@

    パラメータ

    Text
    指定ã•ã‚ŒãŸåˆ¶å¾¡ã‚¿ã‚¤ãƒ—ã«å¿œã˜ã¦ã€æ–‡å­—列ã€æ•°å€¤ã€é…列ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ã€‚

    戻り値

    -

    Type: Object

    +

    型:Object

    This method returns a GuiControl object.

    @@ -202,7 +202,7 @@

    Flash

    パラメータ

    Blink
    -

    Type: Boolean

    +

    型:論ç†å€¤

    çœç•¥ã—ãŸã¨ãã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§Trueã«ãªã‚Šã¾ã™ã€‚

    If true, the window's button in the taskbar will blink. ã“ã‚Œã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã‚„タスクãƒãƒ¼ãƒœã‚¿ãƒ³ï¼ˆã‚ã‚‹å ´åˆï¼‰ã®è‰²ã‚’å転ã•ã›ã‚‹ã“ã¨ã«ã‚ˆã£ã¦è¡Œã‚ã‚Œã¾ã™ã€‚

    If false, the original colors of the title bar and taskbar button will be restored (but the actual behavior might vary depending on OS version).

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

    備考

    Loop 6
     {
         MyGui.Flash
    -    Sleep 500  ; It's quite sensitive to this value; altering it may change the behavior in unexpected ways.
    +    Sleep 500  ;ã“ã®å€¤ã«ã¯ã‹ãªã‚Šæ•æ„Ÿã§ã€å¤‰æ›´ã™ã‚‹ã¨äºˆæœŸã›ã¬å½¢ã§å‹•ä½œãŒå¤‰åŒ–ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚
     }
    @@ -225,12 +225,12 @@

    パラメータ

    &X, &Y
    -

    Type: VarRef

    +

    型:VarRef

    çœç•¥ã—ãŸå ´åˆã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify references to the output variables in which to store the X and Y coordinates of the client area's upper left corner.

    &Width, &Height
    -

    Type: VarRef

    +

    型:VarRef

    çœç•¥ã—ãŸå ´åˆã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify references to the output variables in which to store the width and height of the client area.

    widthã¯ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã‚¨ãƒªã‚¢ã®å·¦å³ã®æ°´å¹³è·é›¢ã€heightã¯ä¸Šä¸‹ã®åž‚ç›´è·é›¢ã§ã™ï¼ˆå˜ä½ï¼šãƒ”クセル)。

    @@ -248,12 +248,12 @@

    パラメータ

    &X, &Y
    -

    Type: VarRef

    +

    型:VarRef

    çœç•¥ã—ãŸå ´åˆã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify references to the output variables in which to store the X and Y coordinates of the window's upper left corner, in screen coordinates.

    &Width, &Height
    -

    Type: VarRef

    +

    型:VarRef

    çœç•¥ã—ãŸå ´åˆã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify references to the output variables in which to store the width and height of the window.

    widthã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å·¦å³ã®æ°´å¹³è·é›¢ã€heightã¯ä¸Šä¸‹ã®åž‚ç›´è·é›¢ã§ã™ï¼ˆå˜ä½ï¼šãƒ”クセル)。

    @@ -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.

    å¹…ã€é«˜ã•
    -

    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).

    @@ -304,7 +304,7 @@

    例

    MyGui.Move(10, 20, 200, 100)
     MyGui.Move(VarX+10, VarY+5, VarW*2, VarH*1.5)
     
    -; Expand the left and right side by 10 pixels.
    +; å·¦å³ã‚’10ピクセルãšã¤æ‹¡å¤§ã—ã¾ã™ã€‚
     MyGui.GetPos(&x,, &w)
     MyGui.Move(x-10,, w+20)
    @@ -323,14 +323,15 @@

    Opt

    パラメータ

    Options
    -

    Type: String

    +

    型:文字列

    Zero or more of the following options and styles, each separated from the next with one or more spaces or tabs.

    パフォーマンス上ã®ç†ç”±ã‹ã‚‰ã€ã™ã¹ã¦ã®ã‚ªãƒ—ションを1è¡Œã§è¨­å®šã—ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’作æˆã™ã‚‹å‰ã«ï¼ˆã¤ã¾ã‚Šã€Gui.Addãªã©ã®ä»–ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’使用ã™ã‚‹å‰ã«ï¼‰è¨­å®šã™ã‚‹ã“ã¨ã‚’ãŠå‹§ã‚ã—ã¾ã™ã€‚

    ã“ã®ãƒ‘ラメータã®åŠ¹æžœã¯ç´¯ç©çš„ã§ã™ã€‚ã¤ã¾ã‚Šã€æ˜Žç¤ºçš„ã«æŒ‡å®šã•ã‚ŒãŸè¨­å®šã®ã¿ã‚’変更ã—ã€ä»–ã®è¨­å®šã¯ã™ã¹ã¦å¤‰æ›´ã•ã‚Œãªã„ã¾ã¾ã§ã™ã€‚

    -

    オプションを追加ã™ã‚‹å ´åˆã¯ãƒ—ラス記å·ã‚’ã€å‰Šé™¤ã™ã‚‹å ´åˆã¯ãƒžã‚¤ãƒŠã‚¹è¨˜å·ã‚’指定ã—ã¾ã™ã€‚For example: MyGui.Opt("+Resize -MaximizeBox").

    +

    オプションを追加ã™ã‚‹å ´åˆã¯ãƒ—ラス記å·ã‚’ã€å‰Šé™¤ã™ã‚‹å ´åˆã¯ãƒžã‚¤ãƒŠã‚¹è¨˜å·ã‚’指定ã—ã¾ã™ã€‚事例:MyGui.Opt("+Resize -MaximizeBox").

    AlwaysOnTop: Makes the window stay on top of all other windows, which is the same effect as WinSetAlwaysOnTop.

    Border: Provides a thin-line border around the window. ã“ã‚Œã¯ä¸€èˆ¬çš„ã§ã¯ã‚ã‚Šã¾ã›ã‚“。

    -

    Caption (present by default): Provides a title bar and a thick window border/edge. WinSetTransColorを使用ã™ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‹ã‚‰ã‚­ãƒ£ãƒ—ションを削除ã™ã‚‹å ´åˆã€TransColorを設定ã—ãŸå¾Œã«å‰Šé™¤ã—ã¦ãã ã•ã„。

    +

    +Caption(デフォルトã§å­˜åœ¨ã—ã¾ã™ï¼‰ï¼šã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã¨å¤ªã„ウィンドウã®ãƒœãƒ¼ãƒ€ãƒ¼/エッジをæä¾›ã—ã¾ã™ã€‚WinSetTransColorを使用ã™ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‹ã‚‰ã‚­ãƒ£ãƒ—ションを削除ã™ã‚‹å ´åˆã€TransColorを設定ã—ãŸå¾Œã«å‰Šé™¤ã—ã¦ãã ã•ã„。

    Disabled: Disables the window, which prevents the user from interacting with its controls. ä»–ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’所有ã™ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§ã‚ˆã使ã‚ã‚Œã¾ã™ï¼ˆã€Œæ‰€æœ‰è€…ã€å‚照)。

    DPIScale: Use MyGui.Opt("-DPIScale") to disable DPI scaling, which is enabled by default. DPIスケーリングãŒæœ‰åŠ¹ãªå ´åˆã€GuiãŠã‚ˆã³GuiControlã®ãƒ¡ã‚½ãƒƒãƒ‰/プロパティã«æ¸¡ã•ã‚ŒãŸã‚Šã€ãã“ã‹ã‚‰å–å¾—ã•ã‚ŒãŸåº§æ¨™ã‚„サイズã¯ã€ç”»é¢ã®DPIã«åŸºã¥ã„ã¦è‡ªå‹•çš„ã«ã‚¹ã‚±ãƒ¼ãƒªãƒ³ã‚°ã•ã‚Œã¾ã™ã€‚For example, with a DPI of 144 (150 %), MyGui.Show("w100") would make the Gui 150 (100 * 1.5) pixels wide, and resizing the window to 200 pixels wide via the mouse or WinMove would cause MyGui.GetClientPos(,,&W) to set W to 133 (200 // 1.5). A_ScreenDPIã¯ã€ã‚·ã‚¹ãƒ†ãƒ ã®ç¾åœ¨ã® DPI ã‚’å«ã‚“ã§ã„ã¾ã™ã€‚

    DPIスケーリングã¯Guiã¨GuiControlã®ãƒ¡ã‚½ãƒƒãƒ‰/プロパティã«ã®ã¿é©ç”¨ã•ã‚Œã‚‹ã®ã§ã€ControlGetPosã‚„WinGetPosã®ã‚ˆã†ãªä»–ã®ã‚½ãƒ¼ã‚¹ã‹ã‚‰ç›´æŽ¥å¾—られる座標ã¯å‹•ä½œã—ã¾ã›ã‚“。対処法ã¯ã„ãã¤ã‚‚ã‚ã‚Šã¾ã™ï¼š

    @@ -344,14 +345,14 @@

    パラメータ

    WinSetTransColor(CustomColor " 150", MyGui) MyGui.Show()
  38. MaximizeBox: Enables the maximize button in the title bar. ã“ã‚Œã¯ã€ä¸‹è¨˜ã®Resizeã®ä¸€éƒ¨ã¨ã—ã¦ã‚‚å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚

    -

    MinimizeBox (present by default): Enables the minimize button in the title bar.

    -

    MinSize and MaxSize: Determines the minimum and/or maximum size of the window, such as when the user drags its edges to resize it. Specify +MinSize and/or +MaxSize (i.e. without suffix) to use the window's current size as the limit (if the window has no current size, it will use the size from the first use of Gui.Show). Alternatively, append the width, followed by an X, followed by the height; for example: MyGui.Opt("+Resize +MinSize640x480"). 寸法ã¯ãƒ”クセルå˜ä½ã§ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆé ˜åŸŸï¼ˆãƒœãƒ¼ãƒ€ãƒ¼ã€ã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼ã‚’除ã)ã®å¤§ãã•ã‚’指定ã—ã¾ã™ã€‚å„数値を16進数ã§ã¯ãªãã€10進数ã§æŒ‡å®šã—ã¾ã™ã€‚

    +

    MinimizeBox(デフォルトã§å­˜åœ¨ï¼‰ï¼šã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã®æœ€å°åŒ–ボタンを有効ã«ã—ã¾ã™ã€‚

    +

    MinSize ãŠã‚ˆã³ MaxSize:ユーザーãŒã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ç«¯ã‚’ドラッグã—ã¦ã‚µã‚¤ã‚ºã‚’変更ã™ã‚‹ã¨ããªã©ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®æœ€å°ãŠã‚ˆã³æœ€å¤§ã‚µã‚¤ã‚ºã‚’決定ã—ã¾ã™ã€‚Specify +MinSize and/or +MaxSize (i.e. without suffix) to use the window's current size as the limit (if the window has no current size, it will use the size from the first use of Gui.Show). ã¾ãŸã¯ã€å¹…ã®å¾Œã«Xを付ã‘ã€ãã®å¾Œã«é«˜ã•ã‚’付ã‘ã¾ã™ï¼šMyGui.Opt("+Resize +MinSize640x480"). 寸法ã¯ãƒ”クセルå˜ä½ã§ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆé ˜åŸŸï¼ˆãƒœãƒ¼ãƒ€ãƒ¼ã€ã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼ã‚’除ã)ã®å¤§ãã•ã‚’指定ã—ã¾ã™ã€‚å„数値を16進数ã§ã¯ãªãã€10進数ã§æŒ‡å®šã—ã¾ã™ã€‚

    å¹…ã¾ãŸã¯é«˜ã•ã®ã©ã¡ã‚‰ã‹ã‚’çœç•¥ã—ã¦å¤‰æ›´ã—ãªã„ã“ã¨ã‚‚å¯èƒ½ã§ã™ï¼ˆä¾‹ï¼š+MinSize640xã€+MinSizex480)。ã•ã‚‰ã«ã€Min/MaxSizeを複数回指定ã™ã‚‹ã“ã¨ã§ã€ä¸€æ–¹ã®æ¬¡å…ƒã«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ç¾åœ¨ã®ã‚µã‚¤ã‚ºã‚’ã€ä»–æ–¹ã®æ¬¡å…ƒã«æ˜Žç¤ºçš„ãªã‚µã‚¤ã‚ºã‚’使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚例ãˆã°ã€+MinSize +MinSize640xã¯ã€é«˜ã•ã«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ç¾åœ¨ã®ã‚µã‚¤ã‚ºã€å¹…ã«640を使用ã—ã¾ã™ã€‚

    -

    If MinSize and MaxSize are never used, the operating system's defaults are used (similarly, MyGui.Opt("-MinSize -MaxSize") can be used to return to the defaults). Note: the window must have +Resize to allow resizing by the user.

    +

    If MinSize and MaxSize are never used, the operating system's defaults are used (similarly, MyGui.Opt("-MinSize -MaxSize") can be used to return to the defaults). 注:the window must have +Resize to allow resizing by the user.

    OwnDialogs: MyGui.Opt("+OwnDialogs") should be specified in each thread (such as a event handling function of a Button control) for which subsequently displayed MsgBox, InputBox, FileSelect, and DirSelect dialogs should be owned by the window. ã“ã®ã‚ˆã†ãªãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã¯ãƒ¢ãƒ¼ãƒ€ãƒ«ã§ã‚ã‚Šã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’é–‰ã˜ã‚‹ã¾ã§GUIウィンドウã¨å¯¾è©±ã™ã‚‹ã“ã¨ãŒã§ãã¾ã›ã‚“。By contrast, ToolTip windows do not become modal even though they become owned; they will merely stay always on top of their owner. ã„ãšã‚Œã®å ´åˆã‚‚ã€æ‰€æœ‰ã™ã‚‹ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚„ウィンドウã¯ã€ãã®GUIウィンドウãŒç ´æ£„ã•ã‚Œã‚‹ã¨è‡ªå‹•çš„ã«ç ´æ£„ã•ã‚Œã¾ã™ã€‚

    ä»–ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã«å½±éŸ¿ã‚’与ãˆãªã„ãŸã‚ã€é€šå¸¸ã€ã“ã®è¨­å®šã‚’オフã«æˆ»ã™å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。ãŸã ã—ã€ã‚¹ãƒ¬ãƒƒãƒ‰ãŒæ‰€æœ‰ã¨æœªæ‰€æœ‰ã®ä¸¡æ–¹ã®ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’表示ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€MyGui.Opt("-OwnDialogs")ã«ã‚ˆã£ã¦ã“ã®è¨­å®šã‚’オフã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    Owner: Use +Owner to make the window owned by another. 所有ã™ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ã¯ã‚¿ã‚¹ã‚¯ãƒãƒ¼ãƒœã‚¿ãƒ³ãŒãªãã€è¡¨ç¤ºã•ã‚Œã¦ã„ã‚‹ã¨ãã¯å¸¸ã«æ‰€æœ‰è€…ã®ä¸Šã«è¡¨ç¤ºã•ã‚Œã¾ã™ã€‚ã¾ãŸã€æ‰€æœ‰è€…ãŒç ´å£Šã•ã‚Œã‚‹ã¨è‡ªå‹•çš„ã«ç ´å£Šã•ã‚Œã¾ã™ã€‚+Owner can be used before or after the owned window is created. There are two ways to use +Owner, as shown below:

    -
    MyGui.Opt("+Owner" OtherGui.Hwnd)  ; Make the GUI owned by OtherGui.
    +  
    MyGui.Opt("+Owner" OtherGui.Hwnd)  ;GUIã‚’OtherGuiã®æ‰€æœ‰ã«ã™ã‚‹ã€‚
     MyGui.Opt("+Owner")  ; Make the GUI owned by the script's main window to prevent display of a taskbar button.

    +Ownerã¯ã€ä»»æ„ã®ãƒˆãƒƒãƒ—レベルウィンドウã®HWNDã«ã™ãã«ç¶šãã“ã¨ãŒã§ãã¾ã™ã€‚

    オーナーウィンドウãŒè¡¨ç¤ºã•ã‚Œã¦ã„ã‚‹ã¨ãã«ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚ªãƒ¼ãƒŠãƒ¼ã¨å¯¾è©±ã§ããªã„よã†ã«ã™ã‚‹ã«ã¯ã€MyGui.Opt("+Disabled")ã§ã‚ªãƒ¼ãƒŠãƒ¼ã‚’無効化ã—ã¾ã™ã€‚後ã§ï¼ˆæ‰€æœ‰ã™ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’キャンセルã—ãŸã‚Šç ´æ£„ã™ã‚‹ã¨ã)ã€MyGui.Opt("-Disabled")ã§æ‰€æœ‰è€…ã‚’å†æœ‰åŠ¹åŒ–ã—ã¾ã™ã€‚オーナーãŒè‡ªå‹•çš„ã«å†æ´»æ€§åŒ–ã•ã‚Œã‚‹ã‚ˆã†ã«ã€ã‚­ãƒ£ãƒ³ã‚»ãƒ«/破棄ã®å‰ã«ã“ã®æ“作を行ã„ã¾ã™ã€‚

    @@ -361,8 +362,8 @@

    パラメータ

  39. The +Parent option may fail during GUI creation if the parent window is external, but may work after the GUI is created. This is due to differences in how styles are applied.
  40. Resize: Makes the window resizable and enables its maximize button in the title bar. 最大化ボタンを有効ã«ã—ãªã„å ´åˆã¯ã€+Resize -MaximizeBoxを指定ã—ã¾ã™ã€‚

    -

    SysMenu (present by default): Specify -SysMenu (minus SysMenu) to omit the system menu and icon in the window's upper left corner. ã“ã‚Œã«ã‚ˆã‚Šã€ã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã®æœ€å°åŒ–ã€æœ€å¤§åŒ–ã€ãŠã‚ˆã³é–‰ã˜ã‚‹ãƒœã‚¿ãƒ³ã‚‚çœç•¥ã•ã‚Œã¾ã™ã€‚

    -

    Theme: By specifying -Theme, all subsequently created controls in the window will have the Classic Theme appearance. ç¾åœ¨ã®ãƒ†ãƒ¼ãƒžã«å¾“ã£ãŸåˆ¶å¾¡ã‚’後ã‹ã‚‰è¿½åŠ ã§ä½œæˆã™ã‚‹å ´åˆã¯ã€+Themeã§ã‚ªãƒ³ã«æˆ»ã—ã¦ãã ã•ã„。Note: This option has no effect if the Classic Theme is in effect. ã“ã®è¨­å®šã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ä½œæˆæ™‚ã«ã‚ªãƒ—ションã§+Themeã¾ãŸã¯-Themeを指定ã™ã‚‹ã“ã¨ã§ã€å€‹ã€…ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«å¯¾ã—ã¦å¤‰æ›´ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    +

    SysMenu(デフォルトã§å­˜åœ¨ï¼‰ï¼šã‚¦ã‚£ãƒ³ãƒ‰ã‚¦å·¦ä¸Šã®ã‚·ã‚¹ãƒ†ãƒ ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã¨ã‚¢ã‚¤ã‚³ãƒ³ã‚’çœç•¥ã™ã‚‹å ´åˆã¯ã€-SysMenu(マイナスSysMenu)を指定ã—ã¾ã™ã€‚ã“ã‚Œã«ã‚ˆã‚Šã€ã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã®æœ€å°åŒ–ã€æœ€å¤§åŒ–ã€ãŠã‚ˆã³é–‰ã˜ã‚‹ãƒœã‚¿ãƒ³ã‚‚çœç•¥ã•ã‚Œã¾ã™ã€‚

    +

    Theme: By specifying -Theme, all subsequently created controls in the window will have the Classic Theme appearance. ç¾åœ¨ã®ãƒ†ãƒ¼ãƒžã«å¾“ã£ãŸåˆ¶å¾¡ã‚’後ã‹ã‚‰è¿½åŠ ã§ä½œæˆã™ã‚‹å ´åˆã¯ã€+Themeã§ã‚ªãƒ³ã«æˆ»ã—ã¦ãã ã•ã„。注:ã“ã®ã‚ªãƒ—ションã¯ã€ã€Œã‚¯ãƒ©ã‚·ãƒƒã‚¯ãƒ†ãƒ¼ãƒžã€ãŒæœ‰åŠ¹ãªå ´åˆã¯åŠ¹æžœãŒã‚ã‚Šã¾ã›ã‚“。ã“ã®è¨­å®šã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ä½œæˆæ™‚ã«ã‚ªãƒ—ションã§+Themeã¾ãŸã¯-Themeを指定ã™ã‚‹ã“ã¨ã§ã€å€‹ã€…ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«å¯¾ã—ã¦å¤‰æ›´ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    ToolWindow: Provides a narrower title bar but the window will have no taskbar button. WS_MAXIMIZEBOXã¨WS_MINIMIZEBOXã®ã‚¹ã‚¿ã‚¤ãƒ«ãŒå­˜åœ¨ã™ã‚‹ã‹ã©ã†ã‹ã«é–¢ã‚らãšã€å¸¸ã«æœ€å¤§åŒ–ã€æœ€å°åŒ–ボタンをéžè¡¨ç¤ºã«ã—ã¾ã™ã€‚

    (Unnamed Style): Specify a plus or minus sign followed immediately by a decimal or hexadecimal style number.

    (Unnamed ExStyle): Specify a plus or minus sign followed immediately by the letter E and a decimal or hexadecimal extended style number. 例ãˆã°ã€+E0x40000ã¯ã€WS_EX_APPWINDOWスタイルを追加ã—ã€ã‚¿ã‚¹ã‚¯ãƒãƒ¼ãƒœã‚¿ãƒ³ãŒãªã„ウィンドウã«ã€ã‚¿ã‚¹ã‚¯ãƒãƒ¼ãƒœã‚¿ãƒ³ã‚’æä¾›ã—ã¾ã™ã€‚ã“ã“ã«æ›¸ã‹ã‚Œã¦ã„ãªã„ä»–ã®æ‹¡å¼µã‚¹ã‚¿ã‚¤ãƒ«ï¼ˆã»ã¨ã‚“ã©ä½¿ç”¨ã•ã‚Œãªã„ãŸã‚)ã«ã¤ã„ã¦ã¯ã€ã€Œæ‹¡å¼µã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚¹ã‚¿ã‚¤ãƒ«ï½œMicrosoft Docsã€ã‚’å‚ç…§ã—ã€å®Œå…¨ãªãƒªã‚¹ãƒˆã‚’入手ã—ã¦ãã ã•ã„。

    @@ -382,13 +383,13 @@

    SetFont

    パラメータ

    Options
    -

    Type: String

    -

    é¸æŠžè‚¢ã¯0個以上。å„オプションã¯ã€1文字ã«ç¶šã‘ã¦å€¤ã‚’指定ã™ã‚‹ã‹ã€1ã¤ã®å˜èªžã‚’指定ã—ã¾ã™ã€‚複数ã®ã‚ªãƒ—ションを指定ã™ã‚‹å ´åˆã¯ã€å„オプションã®é–“ã«ã‚¹ãƒšãƒ¼ã‚¹ã‚’入れã¦ãã ã•ã„。For example: cBlue s12 bold.

    -

    The following words are supported: bold, italic, strike, underline, and norm. Normã¯ã€ãƒ•ã‚©ãƒ³ãƒˆã‚’通常ã®ã‚¦ã‚§ã‚¤ãƒˆ/太ã•ã«æˆ»ã—ã€ã‚¤ã‚¿ãƒªãƒƒã‚¯ã€ã‚¹ãƒˆãƒ©ã‚¤ã‚¯ã€ã‚¢ãƒ³ãƒ€ãƒ¼ãƒ©ã‚¤ãƒ³ã‚’オフã«ã—ã¾ã™ï¼ˆãŸã ã—ã€æ—¢å­˜ã®è‰²ã¨ã‚µã‚¤ã‚ºã¯ä¿æŒã•ã‚Œã¾ã™ï¼‰ã€‚ノームを使ã£ã¦ã™ã¹ã¦ã®å±žæ€§ã‚’オフã«ã—ã€ä»–ã®å±žæ€§ã‚’é¸æŠžçš„ã«ã‚ªãƒ³ã«ã™ã‚‹ã“ã¨ãŒå¯èƒ½ã§ã™ã€‚例ãˆã°ã€norm italicを指定ã™ã‚‹ã¨ã€ãƒ•ã‚©ãƒ³ãƒˆã¯ãƒŽãƒ¼ãƒžãƒ«ã«è¨­å®šã•ã‚ŒãŸå¾Œã€ã‚¤ã‚¿ãƒªãƒƒã‚¯ã«è¨­å®šã•ã‚Œã¾ã™ã€‚

    -

    C: Color name (see color chart) or RGB value -- or specify the word Default to return to the system's default color (black on most systems). Example values: cRed, cFFFFAA, cDefault. Note: Buttons and status bars do not obey custom colors. ã¾ãŸã€Cオプションをå«ã‚ã‚‹ã“ã¨ã§ã€ç¾åœ¨ã®ãƒ•ã‚©ãƒ³ãƒˆã‚«ãƒ©ãƒ¼ä»¥å¤–ã®ãƒ•ã‚©ãƒ³ãƒˆã‚«ãƒ©ãƒ¼ã‚’æŒã¤å€‹åˆ¥ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’作æˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚For example: MyGui.Add("Text", "cRed", "My Text").

    -

    S: Size (in points). For example: s12 (specify decimal, not hexadecimal)

    -

    W: Weight (boldness), which is a number between 1 and 1000 (400 is normal and 700 is bold). For example: w600 (specify decimal, not hexadecimal)

    -

    Q: Text rendering quality. For example: q3. Qã®å¾Œã«ã¯ã€æ¬¡ã®è¡¨ã‹ã‚‰ç•ªå·ã‚’é¸ã‚“ã§ãã ã•ã„:

    +

    型:文字列

    +

    é¸æŠžè‚¢ã¯0個以上。å„オプションã¯ã€1文字ã«ç¶šã‘ã¦å€¤ã‚’指定ã™ã‚‹ã‹ã€1ã¤ã®å˜èªžã‚’指定ã—ã¾ã™ã€‚複数ã®ã‚ªãƒ—ションを指定ã™ã‚‹å ´åˆã¯ã€å„オプションã®é–“ã«ã‚¹ãƒšãƒ¼ã‚¹ã‚’入れã¦ãã ã•ã„。事例:cBlue s12 bold.

    +

    以下ã®å˜èªžã«å¯¾å¿œã—ã¦ã„ã¾ã™ï¼šbold, italic, strike, underline, ãŠã‚ˆã³ norm. Normã¯ã€ãƒ•ã‚©ãƒ³ãƒˆã‚’通常ã®ã‚¦ã‚§ã‚¤ãƒˆ/太ã•ã«æˆ»ã—ã€ã‚¤ã‚¿ãƒªãƒƒã‚¯ã€ã‚¹ãƒˆãƒ©ã‚¤ã‚¯ã€ã‚¢ãƒ³ãƒ€ãƒ¼ãƒ©ã‚¤ãƒ³ã‚’オフã«ã—ã¾ã™ï¼ˆãŸã ã—ã€æ—¢å­˜ã®è‰²ã¨ã‚µã‚¤ã‚ºã¯ä¿æŒã•ã‚Œã¾ã™ï¼‰ã€‚ノームを使ã£ã¦ã™ã¹ã¦ã®å±žæ€§ã‚’オフã«ã—ã€ä»–ã®å±žæ€§ã‚’é¸æŠžçš„ã«ã‚ªãƒ³ã«ã™ã‚‹ã“ã¨ãŒå¯èƒ½ã§ã™ã€‚例ãˆã°ã€norm italicを指定ã™ã‚‹ã¨ã€ãƒ•ã‚©ãƒ³ãƒˆã¯ãƒŽãƒ¼ãƒžãƒ«ã«è¨­å®šã•ã‚ŒãŸå¾Œã€ã‚¤ã‚¿ãƒªãƒƒã‚¯ã«è¨­å®šã•ã‚Œã¾ã™ã€‚

    +

    C: Color name (see color chart) or RGB value -- or specify the word Default to return to the system's default color (black on most systems). 例値:cRed, cFFFFAA, cDefault. 注:Buttons and status bars do not obey custom colors. ã¾ãŸã€Cオプションをå«ã‚ã‚‹ã“ã¨ã§ã€ç¾åœ¨ã®ãƒ•ã‚©ãƒ³ãƒˆã‚«ãƒ©ãƒ¼ä»¥å¤–ã®ãƒ•ã‚©ãƒ³ãƒˆã‚«ãƒ©ãƒ¼ã‚’æŒã¤å€‹åˆ¥ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’作æˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚事例:MyGui.Add("Text", "cRed", "My Text").

    +

    S: Size (in points). 事例:s12(16進数ã§ã¯ãªãã€10進数を指定ã—ã¾ã™ã€‚)

    +

    W: Weight (boldness), which is a number between 1 and 1000 (400 is normal and 700 is bold). 事例:w600(16進数ã§ã¯ãªã10進数ã§æŒ‡å®šã—ã¦ãã ã•ã„。)

    +

    Q: Text rendering quality. 事例:q3. Qã®å¾Œã«ã¯ã€æ¬¡ã®è¡¨ã‹ã‚‰ç•ªå·ã‚’é¸ã‚“ã§ãã ã•ã„:

    @@ -426,10 +427,10 @@

    パラメータ

    Number 設定ã•ã‚Œã¦ã„ã‚‹å ´åˆã€ãƒ†ã‚­ã‚¹ãƒˆã¯ï¼ˆå¯èƒ½ãªé™ã‚Šï¼‰ClearTypeアンãƒã‚¨ã‚¤ãƒªã‚¢ã‚·ãƒ³ã‚°æ–¹å¼ã§ãƒ¬ãƒ³ãƒ€ãƒªãƒ³ã‚°ã•ã‚Œã¾ã™ã€‚
    -

    For more details of what these values mean, see Microsoft Docs: CreateFont.

    +

    ã“れらã®å€¤ã®æ„味ã®è©³ç´°ã«ã¤ã„ã¦ã¯ã€Microsoft Docs ã‚’å‚ç…§ã—ã¦ãã ã•ã„:CreateFont.

    通常ã€æœ€é«˜ç”»è³ªãŒãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ã‚ã‚‹ãŸã‚ã€ã“ã®æ©Ÿèƒ½ã¯ã€ã‚¢ãƒ³ãƒã‚¨ã‚¤ãƒªã‚¢ã‚¹ã‚’無効ã«ã™ã‚‹ã“ã¨ã§ã€ãƒ†ã‚­ã‚¹ãƒˆãŒã‚ˆã‚Šé®®æ˜Žã«ãªã‚‹ç‰¹å®šã®ã‚±ãƒ¼ã‚¹ã§ä½¿ç”¨ã•ã‚Œã‚‹ã“ã¨ãŒä¸€èˆ¬çš„ã§ã™ã€‚

    FontName
    -

    Type: String

    +

    型:文字列

    FontNameã«ã¯ã€ãƒ•ã‚©ãƒ³ãƒˆãƒ†ãƒ¼ãƒ–ルã®ã‚ˆã†ãªä»»æ„ã®ãƒ•ã‚©ãƒ³ãƒˆã®åå‰ã‚’指定ã™ã‚‹ã“ã¨ãŒã§ãる。FontNameãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ã¾ãŸã¯ã‚·ã‚¹ãƒ†ãƒ ä¸Šã«å­˜åœ¨ã—ãªã„å ´åˆã¯ã€ä»¥å‰ã®ãƒ•ã‚©ãƒ³ãƒˆã®æ›¸ä½“ãŒä½¿ç”¨ã•ã‚Œã¾ã™ï¼ˆå­˜åœ¨ã—ãªã„å ´åˆã¯ã€ã‚·ã‚¹ãƒ†ãƒ ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®GUI書体ãŒä½¿ç”¨ã•ã‚Œã¾ã™ï¼‰ã€‚ã“ã®å‹•ä½œã¯ã€GUIウィンドウãŒè¤‡æ•°ã®ã‚·ã‚¹ãƒ†ãƒ ã§åŒã˜ã‚ˆã†ãªãƒ•ã‚©ãƒ³ãƒˆã‚’æŒã¤ã‚ˆã†ã«ã™ã‚‹ã®ã«ä¾¿åˆ©ã§ã€ãれらã®ã‚·ã‚¹ãƒ†ãƒ ã®ä¸€éƒ¨ãŒå„ªå…ˆãƒ•ã‚©ãƒ³ãƒˆã‚’æŒãŸãªã„å ´åˆã§ã‚ã£ã¦ã‚‚ã€ã“ã®å‹•ä½œã¯æœ‰åŠ¹ã§ã™ã€‚For example, by using the following methods in order, Verdana will be given preference over Arial, which in turn is given preference over MS Sans Serif:

    MyGui.SetFont(, "MS Sans Serif")
     MyGui.SetFont(, "Arial")
    @@ -447,24 +448,24 @@ 

    Show

    パラメータ

    Options
    -

    Type: String

    +

    型:文字列

    以下ã®Xã€Yã€Wã€Hã®ã‚ªãƒ—ションをçœç•¥ã™ã‚‹ã¨ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯ä»¥å‰ã®ã‚µã‚¤ã‚ºã¨ä½ç½®ã‚’維æŒã—ã¾ã™ã€‚å‰ã®ä½ç½®ãŒãªã„å ´åˆã€å¾Œè¿°ã®XãŠã‚ˆã³YオプションãŒãªã‘ã‚Œã°ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯1次元ã¾ãŸã¯ä¸¡æ¬¡å…ƒã§è‡ªå‹•ä¸­å¿ƒåŒ–ã•ã‚Œã¾ã™ã€‚以å‰ã®ã‚µã‚¤ã‚ºãŒãªã„å ´åˆã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯ã€ãã‚ŒãŒå«ã‚€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ã‚µã‚¤ã‚ºã¨ä½ç½®ã«å¿œã˜ã¦è‡ªå‹•ã‚µã‚¤ã‚ºã«ãªã‚Šã¾ã™ã€‚

    オプションã«ã¯ã€ä»¥ä¸‹ã®æ–‡å­—列を0個以上指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼ˆå„数値ã¯16進数ã§ã¯ãªã10進数ã§æŒ‡å®šã—ã¦ãã ã•ã„):

    Wn: Specify for n the width (in pixels) of the window's client area (the client area excludes the window's borders, title bar, and menu bar).

    Hn: Specify for n the height of the window's client area, in pixels.

    -

    Xn: Specify for n the window's X-position on the screen, in pixels. ãƒã‚¸ã‚·ãƒ§ãƒ³0ã¯ã€ç”»é¢ä¸Šã§è¦‹ãˆã‚‹ãƒ”クセルã®ä¸€ç•ªå·¦ã®åˆ—ã§ã™ã€‚

    -

    Yn: Specify for n the window's Y-position on the screen, in pixels. ãƒã‚¸ã‚·ãƒ§ãƒ³0ã¯ã€ç”»é¢ä¸Šã§è¦‹ãˆã‚‹ä¸€ç•ªä¸Šã®ç”»ç´ åˆ—ã§ã™ã€‚

    +

    Xn:Specify for n the window's X-position on the screen, in pixels. ãƒã‚¸ã‚·ãƒ§ãƒ³0ã¯ã€ç”»é¢ä¸Šã§è¦‹ãˆã‚‹ãƒ”クセルã®ä¸€ç•ªå·¦ã®åˆ—ã§ã™ã€‚

    +

    Yn:Specify for n the window's Y-position on the screen, in pixels. ãƒã‚¸ã‚·ãƒ§ãƒ³0ã¯ã€ç”»é¢ä¸Šã§è¦‹ãˆã‚‹ä¸€ç•ªä¸Šã®ç”»ç´ åˆ—ã§ã™ã€‚

    Center: Centers the window horizontally and vertically on the screen.

    -

    xCenter: Centers the window horizontally on the screen. For example: MyGui.Show("xCenter y0").

    +

    xCenter: Centers the window horizontally on the screen. 事例:MyGui.Show("xCenter y0").

    yCenter: Centers the window vertically on the screen.

    -

    AutoSize: Resizes the window to accommodate only its currently visible controls. ã“ã‚Œã¯ã€æ–°ã—ã„コントロールãŒè¿½åŠ ã•ã‚ŒãŸã‚Šã€æ—¢å­˜ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒã‚µã‚¤ã‚ºå¤‰æ›´ã•ã‚ŒãŸã‚Šã€éš ã•ã‚ŒãŸã‚Šã€éš ã•ã‚Œãªã‹ã£ãŸã‚Šã—ãŸå¾Œã«ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚µã‚¤ã‚ºã‚’変更ã™ã‚‹ã®ã«ä¾¿åˆ©ã§ã™ã€‚For example: MyGui.Show("AutoSize Center").

    +

    AutoSize: Resizes the window to accommodate only its currently visible controls. ã“ã‚Œã¯ã€æ–°ã—ã„コントロールãŒè¿½åŠ ã•ã‚ŒãŸã‚Šã€æ—¢å­˜ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒã‚µã‚¤ã‚ºå¤‰æ›´ã•ã‚ŒãŸã‚Šã€éš ã•ã‚ŒãŸã‚Šã€éš ã•ã‚Œãªã‹ã£ãŸã‚Šã—ãŸå¾Œã«ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚µã‚¤ã‚ºã‚’変更ã™ã‚‹ã®ã«ä¾¿åˆ©ã§ã™ã€‚事例:MyGui.Show("AutoSize Center").

    ã¾ãŸã€ä»¥ä¸‹ã®ã„ãšã‚Œã‹ãŒå­˜åœ¨ã™ã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼š

    Minimize: Minimizes the window and activates the one beneath it.

    Maximize: Maximizes and activates the window.

    Restore: Unminimizes or unmaximizes the window, if necessary. ã¾ãŸã€å¿…è¦ã«å¿œã˜ã¦ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’表示ã—ã€èµ·å‹•ã—ã¾ã™ã€‚

    NoActivate: Unminimizes or unmaximizes the window, if necessary. ã¾ãŸã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’アクティブã«ã—ãªãã¦ã‚‚表示ã•ã‚Œã¾ã™ã€‚

    NA: Shows the window without activating it. ウィンドウãŒæœ€å°åŒ–ã•ã‚ŒãŸå ´åˆã€ãã®çŠ¶æ…‹ã‚’維æŒã—ã¾ã™ãŒã€ãŠãらãzオーダー(alt-tabセレクタã§è¦‹ã‚‰ã‚Œã‚‹é †åºï¼‰ã§ã‚ˆã‚Šé«˜ã上昇ã—ã¾ã™ã€‚ウィンドウãŒä»¥å‰ã¯éš ã‚Œã¦ã„ãŸå ´åˆã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒéžã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ãªã£ã¦ã„ãªã„ã«ã‚‚ã‹ã‹ã‚らãšã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ä¸Šã«è¡¨ç¤ºã•ã‚Œã¦ã—ã¾ã†ã“ã¨ãŒè€ƒãˆã‚‰ã‚Œã¾ã™ã€‚

    -

    Hide: Hides the window and activates the one beneath it. ã“ã®æ©Ÿèƒ½ã¯Gui.Hideã¨åŒã˜ã§ã™ãŒã€éžè¡¨ç¤ºã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’表示ã›ãšã«ç§»å‹•ã—ãŸã‚Šã‚µã‚¤ã‚ºã‚’変更ã—ãŸã‚Šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚For example: MyGui.Show("Hide x55 y66 w300 h200").

    +

    Hide: Hides the window and activates the one beneath it. ã“ã®æ©Ÿèƒ½ã¯Gui.Hideã¨åŒã˜ã§ã™ãŒã€éžè¡¨ç¤ºã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’表示ã›ãšã«ç§»å‹•ã—ãŸã‚Šã‚µã‚¤ã‚ºã‚’変更ã—ãŸã‚Šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚事例:MyGui.Show("Hide x55 y66 w300 h200").

    @@ -475,19 +476,19 @@

    Submit

    パラメータ

    Hide
    -

    Type: Boolean

    +

    型:論ç†å€¤

    çœç•¥ã—ãŸã¨ãã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§Trueã«ãªã‚Šã¾ã™ã€‚

    If true, the window will be hidden.

    If false, the window will not be hidden.

    戻り値

    -

    Type: Object

    +

    型:Object

    This method returns an object that contains one own property per named control, like NamedCtrlValues.%GuiCtrl.Name% := GuiCtrl.Value, with the exceptions noted below. GuiCtrl.Valueをサãƒãƒ¼ãƒˆã—ã€åå‰ãŒä»˜ä¸Žã•ã‚ŒãŸå…¥åŠ›å¯èƒ½ãªã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ã¿ãŒå«ã¾ã‚Œã¾ã™ã€‚Use NamedCtrlValues.NameOfControl to retrieve an individual value or OwnProps to enumerate them all.

    For DropDownList, ComboBox, ListBox and Tab, the text of the selected item/tab is stored instead of its position number if the control lacks the AltSubmit option, or if the ComboBox's text does not match a list item. ãれ以外ã®å ´åˆã¯ã€Value(アイテムã®ä½ç½®ç•ªå·ï¼‰ãŒæ ¼ç´ã•ã‚Œã¾ã™ã€‚

    ラジオグループã®ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã«1ã¤ã ã‘åå‰ãŒã‚ã‚‹å ´åˆã€Submitã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®Valueã§ã¯ãªãã€ç¾åœ¨é¸æŠžã•ã‚Œã¦ã„るボタンã®ç•ªå·ã‚’ä¿å­˜ã—ã¾ã™ã€‚1ã¯1番目ã®ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ï¼ˆã‚ªãƒªã‚¸ãƒŠãƒ«ä½œæˆé †ï¼‰ã€2ã¯2番目ã®ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã€ã¨ã„ã£ãŸå…·åˆã«ã€‚é¸æŠžã•ã‚Œã¦ã„るボタンãŒãªã„å ´åˆã¯ã€0ãŒæ ¼ç´ã•ã‚Œã¾ã™ã€‚

    -

    Excluded because they are not input-capable: Text, Pic, GroupBox, Button, Progress, Link, StatusBar.

    -

    Also excluded: ListView, TreeView, ActiveX, Custom.

    +

    入力å¯èƒ½ã§ãªã„ãŸã‚除外:Text, Pic, GroupBox, Button, Progress, Link, StatusBar.

    +

    åŒæ§˜ã«é™¤å¤–:ListView, TreeView, ActiveX, Custom.

    @@ -499,12 +500,12 @@

    __Enum

    Hwnd
    -

    Type: Integer

    +

    型:整数

    コントロールã®HWNDã§ã™ã€‚2パラメータモード時ã®ã¿å­˜åœ¨ã—ã¾ã™ã€‚

    Ctrl
    -

    Type: Object

    +

    型:Object

    The control's GuiControl object.

    @@ -529,13 +530,13 @@

    BackColor

    CurrentColor := MyGui.BackColor
    MyGui.BackColor := NewColor

    CurrentColor is a 6-digit RGB value of the current color previously set by this property, or an empty string if the default color is being used.

    -

    NewColorã¯ã€16ã®ä¸»è¦ãªHTMLカラーåã€16進数ã®RGBカラー値(接頭辞0xã¯ã‚ªãƒ—ション)ã€ç´”粋ãªæ•°å€¤ã®RGBカラー値ã€ã¾ãŸã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚«ãƒ©ãƒ¼ã‚’表ã™Default(ã¾ãŸã¯ç©ºã®æ–‡å­—列)ã®ã„ãšã‚Œã‹ã§ã™ã€‚Example values: "Silver", "FFFFAA", 0xFFFFAA, "Default", "".

    +

    NewColorã¯ã€16ã®ä¸»è¦ãªHTMLカラーåã€16進数ã®RGBカラー値(接頭辞0xã¯ã‚ªãƒ—ション)ã€ç´”粋ãªæ•°å€¤ã®RGBカラー値ã€ã¾ãŸã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚«ãƒ©ãƒ¼ã‚’表ã™Default(ã¾ãŸã¯ç©ºã®æ–‡å­—列)ã®ã„ãšã‚Œã‹ã§ã™ã€‚例値:"Silver", "FFFFAA", 0xFFFFAA, "Default", "".

    デフォルトã§ã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®èƒŒæ™¯è‰²ã¯ã€ãƒœã‚¿ãƒ³ã®è¡¨é¢ã®ã‚·ã‚¹ãƒ†ãƒ ã®è‰²ã«ãªã‚Šã¾ã™ã€‚

    -

    The color of the menu bar and its submenus can be changed as in this example: MyMenuBar.SetColor "White".

    +

    ã“ã®ä¾‹ã®ã‚ˆã†ã«ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼ã¨ã€ãã®ã‚µãƒ–メニューã®è‰²ã‚’変更ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼šMyMenuBar.SetColor "White".

    背景をé€æ˜Žã«ã™ã‚‹å ´åˆã¯ã€WinSetTransColorを使用ã—ã¾ã™ã€‚ãŸã ã—ã€Gui.BackColorã§ã‚«ã‚¹ã‚¿ãƒ ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’割り当ã¦ãšã«ã“ã®æ“作を行ã†ã¨ã€ãƒœã‚¿ãƒ³ã‚‚é€æ˜Žã«ãªã‚Šã¾ã™ã€‚ã“れを防ãã«ã¯ã€ã¾ãšã‚«ã‚¹ã‚¿ãƒ ã‚«ãƒ©ãƒ¼ã‚’割り当ã¦ã€ãã®ã‚«ãƒ©ãƒ¼ã‚’é€æ˜Žã«ã—ã¾ã™ã€‚事例:

    MyGui.BackColor := "EEAA99"
     WinSetTransColor("EEAA99", MyGui)
    -

    To additionally remove the border and title bar from a window with a transparent background, use the following: MyGui.Opt("-Caption")

    +

    背景ãŒé€æ˜Žãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‹ã‚‰ã€ãƒœãƒ¼ãƒ€ãƒ¼ã¨ã‚¿ã‚¤ãƒˆãƒ«ãƒãƒ¼ã‚’追加ã§å‰Šé™¤ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ï¼šMyGui.Opt("-Caption")

    上記を説明ã™ã‚‹ãŸã‚ã«ã€æœ¬ãƒšãƒ¼ã‚¸ã®ä¸‹éƒ¨ä»˜è¿‘ã«OSD(オンスクリーンディスプレイ)ã®ä¾‹ã‚’掲載ã—ã¦ã„ã¾ã™ã€‚

    @@ -543,7 +544,7 @@

    BackColor

    FocusedCtrl

    Retrieves the GuiControl object of the window's focused control.

    GuiCtrlObj := MyGui.FocusedCtrl
    -

    Note: To be effective, the window generally must not be minimized or hidden.

    +

    注:効果的ã«ä½¿ç”¨ã™ã‚‹ãŸã‚ã«ã¯ã€ä¸€èˆ¬çš„ã«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’最å°åŒ–ã¾ãŸã¯éžè¡¨ç¤ºã«ã™ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。

    @@ -579,12 +580,12 @@

    MenuBar

    MyGui.MenuBar := NewBar

    CurrentBar and NewBar are a MenuBar object created by MenuBar(). 事例:

    FileMenu := Menu()
    -FileMenu.Add "&Open`tCtrl+O", (*) => FileSelect()  ; See remarks below about Ctrl+O.
    +FileMenu.Add "&Open`tCtrl+O", (*) => FileSelect()  ; Ctrl+Oã«ã¤ã„ã¦ã¯å¾Œè¿°ã—ã¾ã™ã€‚
     FileMenu.Add "E&xit", (*) => ExitApp()
     HelpMenu := Menu()
     HelpMenu.Add "&About", (*) => MsgBox("Not implemented")
     Menus := MenuBar()
    -Menus.Add "&File", FileMenu  ; Attach the two submenus that were created above.
    +Menus.Add "&File", FileMenu  ; 上記ã§ä½œæˆã—ãŸ2ã¤ã®ã‚µãƒ–メニューを添付ã™ã‚‹ã€‚
     Menus.Add "&Help", HelpMenu
     MyGui := Gui()
     MyGui.MenuBar := Menus
    @@ -618,17 +619,17 @@ 

    __Item

    GUIウィンドウã¯Tabã§ç§»å‹•ã™ã‚‹ã“ã¨ãŒã§ãã€ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã¯æ¬¡ã®å…¥åŠ›å¯èƒ½ãªã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«ç§»å‹•ã—ã¾ã™ï¼ˆTabstopスタイルãŒå‰Šé™¤ã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¯ã‚¹ã‚­ãƒƒãƒ—ã•ã‚Œã¾ã™ï¼‰ã€‚ナビゲーションã®é †åºã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒæœ€åˆã«è¿½åŠ ã•ã‚ŒãŸé †åºã«ã‚ˆã£ã¦æ±ºå®šã•ã‚Œã¾ã™ã€‚ãŸã ã—ã€ãã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒãƒœã‚¿ãƒ³ã§ã‚ã‚Šã€ã‹ã¤ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®ãƒœã‚¿ãƒ³ãŒã‚ã‚‹å ´åˆã¯ã€å¾Œè€…ãŒä»£ã‚ã‚Šã«ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã•ã‚Œã¾ã™ã€‚

    一部ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«ã¯ã€ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚’作æˆã™ã‚‹ãŸã‚ã®ã‚¢ãƒ³ãƒ‘サンド(&)ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆãŒã‚ã‚Šã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ†ã‚­ã‚¹ãƒˆã«ä¸‹ç·šæ–‡å­—ã¨ã—ã¦è¡¨ç¤ºã•ã‚Œã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ï¼ˆã‚·ã‚¹ãƒ†ãƒ è¨­å®šã«ä¾å­˜ï¼‰ã€‚Altを押ã—ãªãŒã‚‰æ–‡å­—を入力ã™ã‚‹ã“ã¨ã§ã€ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚’有効ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ボタンã€ãƒã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ã€ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã®å ´åˆã€ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚’押ã™ã“ã¨ã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’クリックã™ã‚‹ã“ã¨ã¨åŒã˜ã§ã™ã€‚グループボックスã¨ãƒ†ã‚­ã‚¹ãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å ´åˆã€ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚’押ã™ã¨ã€ãã®å¾Œã«ä½œæˆã•ã‚ŒãŸæœ€åˆã®å…¥åŠ›å¯èƒ½ãªã‚¿ãƒ–ストップコントロールã«ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ãŒç§»å‹•ã™ã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚ãŸã ã—ã€è¤‡æ•°ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒåŒã˜ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚­ãƒ¼ã‚’æŒã¤å ´åˆã€ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚­ãƒ¼ã‚’押ã™ã¨ã€åŒã˜ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚­ãƒ¼ã‚’æŒã¤ã™ã¹ã¦ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®é–“ã§ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ãŒäº¤äº’ã«å¤‰ã‚ã‚Šã¾ã™ã€‚

    -

    To display a literal ampersand inside the control types mentioned above, specify two consecutive ampersands as in this example: MyGui.Add("Button",, "Save && Exit").

    +

    上記ã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚¿ã‚¤ãƒ—ã®ä¸­ã«ãƒªãƒ†ãƒ©ãƒ«ãªã‚¢ãƒ³ãƒ‘サンドを表示ã™ã‚‹ã«ã¯ã€ã“ã®ä¾‹ã®ã‚ˆã†ã«2ã¤ã®é€£ç¶šã—ãŸã‚¢ãƒ³ãƒ‘サンドを指定ã—ã¾ã™ï¼šMyGui.Add("Button",, "Save && Exit").

    ウィンドウã®å¤–観

    -

    For its icon, a GUI window uses the tray icon that was in effect at the time the window was created. ã—ãŸãŒã£ã¦ã€åˆ¥ã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’æŒã¤ã«ã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’作æˆã™ã‚‹å‰ã«ãƒˆãƒ¬ã‚¤ã‚¢ã‚¤ã‚³ãƒ³ã‚’変更ã—ã¾ã™ã€‚For example: TraySetIcon("MyIcon.ico"). ã¾ãŸã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å¤§ã‚¢ã‚¤ã‚³ãƒ³ã‚’å°ã‚¢ã‚¤ã‚³ãƒ³ã¨ç•°ãªã‚‹ã‚‚ã®ã«ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ï¼ˆå¤§ã‚¢ã‚¤ã‚³ãƒ³ã¯alt-tabタスクスイッãƒãƒ£ãƒ¼ã«è¡¨ç¤ºã•ã‚Œã¾ã™ï¼‰ã€‚This can be done via LoadPicture and SendMessage; for example:

    -
    iconsize := 32  ; Ideal size for alt-tab varies between systems and OS versions.
    +

    For its icon, a GUI window uses the tray icon that was in effect at the time the window was created. ã—ãŸãŒã£ã¦ã€åˆ¥ã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’æŒã¤ã«ã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’作æˆã™ã‚‹å‰ã«ãƒˆãƒ¬ã‚¤ã‚¢ã‚¤ã‚³ãƒ³ã‚’変更ã—ã¾ã™ã€‚事例:TraySetIcon("MyIcon.ico"). ã¾ãŸã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å¤§ã‚¢ã‚¤ã‚³ãƒ³ã‚’å°ã‚¢ã‚¤ã‚³ãƒ³ã¨ç•°ãªã‚‹ã‚‚ã®ã«ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ï¼ˆå¤§ã‚¢ã‚¤ã‚³ãƒ³ã¯alt-tabタスクスイッãƒãƒ£ãƒ¼ã«è¡¨ç¤ºã•ã‚Œã¾ã™ï¼‰ã€‚This can be done via LoadPicture and SendMessage; for example:

    +
    iconsize := 32  ; alt-tabã®ç†æƒ³çš„ãªã‚µã‚¤ã‚ºã¯ã€ã‚·ã‚¹ãƒ†ãƒ ã‚„OSã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚ˆã£ã¦ç•°ãªã‚‹ã€‚
     hIcon := LoadPicture("My Icon.ico", "Icon1 w" iconsize " h" iconsize, &imgtype)
     MyGui := Gui()
    -SendMessage(0x0080, 1, hIcon, MyGui)  ; 0x0080 is WM_SETICON; and 1 means ICON_BIG (vs. 0 for ICON_SMALL).
    +SendMessage(0x0080, 1, hIcon, MyGui)  ; 0x0080ã¯WM_SETICONã§ã€1ã¯ICON_BIG(ICON_SMALLã¯0)をæ„味ã—ã¾ã™ã€‚
     MyGui.Show()

    OSã®åˆ¶é™ã«ã‚ˆã‚Šã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆä»¥å¤–ã®æ–‡å­—色ãŒæŒ‡å®šã•ã‚ŒãŸãƒã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ã€ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã€ã‚°ãƒ«ãƒ¼ãƒ—ボックスã¯ã€ã‚¯ãƒ©ã‚·ãƒƒã‚¯ãƒ†ãƒ¼ãƒžã®å¤–観ã¨ãªã‚Šã¾ã™ã€‚

    -

    Related topic: window's margin.

    +

    関連トピックウィンドウã®ãƒžãƒ¼ã‚¸ãƒ³

    ç·è«–

    GUIウィンドウã®å„コントロールをæ“作ã™ã‚‹ã«ã¯ã€GuiControlオブジェクトを使用ã—ã¾ã™ã€‚

    @@ -645,9 +646,9 @@

    例

    ãƒãƒƒãƒ—アップウィンドウを作æˆã—ã¾ã™ã€‚

    MyGui := Gui(, "Title of Window")
    -MyGui.Opt("+AlwaysOnTop +Disabled -SysMenu +Owner")  ; +Owner avoids a taskbar button.
    +MyGui.Opt("+AlwaysOnTop +Disabled -SysMenu +Owner")  ; +Ownerã¯ã‚¿ã‚¹ã‚¯ãƒãƒ¼ãƒœã‚¿ãƒ³ã‚’回é¿ã™ã‚‹ã“ã¨ãŒã§ãる。
     MyGui.Add("Text",, "Some text to display.")
    -MyGui.Show("NoActivate")  ; NoActivate avoids deactivating the currently active window.
    +MyGui.Show("NoActivate") ; NoActivateã¯ã€ç¾åœ¨ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’éžã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ã™ã‚‹ã“ã¨ã‚’回é¿ã—ã¾ã™ã€‚
    @@ -655,7 +656,7 @@

    例

    MyGui := Gui(, "Simple Input Example")
     MyGui.Add("Text",, "First name:")
     MyGui.Add("Text",, "Last name:")
    -MyGui.Add("Edit", "vFirstName ym")  ; The ym option starts a new column of controls.
    +MyGui.Add("Edit", "vFirstName ym")  ; ymオプションã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®æ–°ã—ã„列を開始ã—ã¾ã™ã€‚
     MyGui.Add("Edit", "vLastName")
     MyGui.Add("Button", "default", "OK").OnEvent("Click", ProcessUserInput)
     MyGui.OnEvent("Close", ProcessUserInput)
    @@ -672,14 +673,14 @@ 

    例

    複数ã®ã‚¿ãƒ–ã‚’æŒã¤ã‚¿ãƒ–コントロールを作æˆã—ã€ãã‚Œãžã‚Œã®ã‚¿ãƒ–ã«ã¯ç•°ãªã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãŒé…ç½®ã•ã‚Œã€å¯¾è©±ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    MyGui := Gui()
     Tab := MyGui.Add("Tab3",, ["First Tab","Second Tab","Third Tab"])
    -MyGui.Add("CheckBox", "vMyCheckBox", "Sample checkbox") 
    +MyGui.Add("CheckBox", "vMyCheckBox", "Sample checkbox")
     Tab.UseTab(2)
     MyGui.Add("Radio", "vMyRadio", "Sample radio1")
     MyGui.Add("Radio",, "Sample radio2")
     Tab.UseTab(3)
    -MyGui.Add("Edit", "vMyEdit r5")  ; r5 means 5 rows tall.
    -Tab.UseTab()  ; i.e. subsequently-added controls will not belong to the tab control.
    -Btn := MyGui.Add("Button", "default xm", "OK")  ; xm puts it at the bottom left corner.
    +MyGui.Add("Edit", "vMyEdit r5")  ; r5ã¯5列ã®é«˜ã•ã‚’æ„味ã—ã¾ã™ã€‚
    +Tab.UseTab()  ; ã¤ã¾ã‚Šã€ãã®å¾Œã«è¿½åŠ ã•ã‚ŒãŸã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¯ã€ã‚¿ãƒ–コントロールã«å±žã•ãªã„。
    +Btn := MyGui.Add("Button", "default xm", "OK")  ; xmã¯å·¦ä¸‹ã«é…ç½®ã—ã¾ã™ã€‚
     Btn.OnEvent("Click", ProcessUserInput)
     MyGui.OnEvent("Close", ProcessUserInput)
     MyGui.OnEvent("Escape", ProcessUserInput)
    @@ -698,7 +699,7 @@ 

    例

    MyGui.Add("Text",, "Pick a file to launch from the list below.") LB := MyGui.Add("ListBox", "w640 r10") LB.OnEvent("DoubleClick", LaunchFile) -Loop Files, "C:\*.*" ; Change this folder and wildcard pattern to suit your preferences. +Loop Files, "C:\*.*" ; ã“ã®ãƒ•ã‚©ãƒ«ãƒ€ã¨ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã®ãƒ‘ターンをãŠå¥½ã¿ã§å¤‰æ›´ã—ã¦ãã ã•ã„。 LB.Add([A_LoopFilePath]) MyGui.Add("Button", "Default", "OK").OnEvent("Click", LaunchFile) MyGui.Show() @@ -719,7 +720,7 @@

    例

     MyGui := Gui()
     MyEdit := MyGui.Add("Edit")
    -; Store the tooltip text in a custom property:
    +; カスタムプロパティã«ãƒ„ールãƒãƒƒãƒ—テキストを格ç´ã™ã‚‹ï¼š
     MyEdit.ToolTip := "This is a tooltip for the control whose name is MyEdit."
     MyDDL := MyGui.Add("DropDownList",, ["Red","Green","Blue"])
     MyDDL.ToolTip := "Choose a color from the drop-down list."
    @@ -750,15 +751,15 @@ 

    例

    é€æ˜Žãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§ã‚ªãƒ³ã‚¹ã‚¯ãƒªãƒ¼ãƒ³ãƒ‡ã‚£ã‚¹ãƒ—レイ(OSD)を作æˆã—ã¾ã™ã€‚

    MyGui := Gui()
    -MyGui.Opt("+AlwaysOnTop -Caption +ToolWindow")  ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
    +MyGui.Opt("+AlwaysOnTop -Caption +ToolWindow")  ; +ToolWindowã¯ã€ã‚¿ã‚¹ã‚¯ãƒãƒ¼ãƒœã‚¿ãƒ³ã¨alt-tabメニュー項目を回é¿ã—ã¾ã™ã€‚
     MyGui.BackColor := "EEAA99"  ; Can be any RGB color (it will be made transparent below).
    -MyGui.SetFont("s32")  ; Set a large font size (32-point).
    -CoordText := MyGui.Add("Text", "cLime", "XXXXX YYYYY")  ; XX & YY serve to auto-size the window.
    -; Make all pixels of this color transparent and make the text itself translucent (150):
    +MyGui.SetFont("s32")  ; 大ããªãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚ºï¼ˆ32ãƒã‚¤ãƒ³ãƒˆï¼‰ã‚’設定ã—ã¾ã™ã€‚
    +CoordText := MyGui.Add("Text", "cLime", "XXXXX YYYY")  ; XXã¨YYã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚µã‚¤ã‚ºã‚’自動化ã™ã‚‹å½¹å‰²ã‚’æžœãŸã—ã¾ã™ã€‚
    +; ã“ã®è‰²ã®ã™ã¹ã¦ã®ãƒ”クセルをé€æ˜Žã«ã—ã€ãƒ†ã‚­ã‚¹ãƒˆè‡ªä½“ã‚’åŠé€æ˜Žã«ã™ã‚‹ï¼ˆ150):
     WinSetTransColor(MyGui.BackColor " 150", MyGui)
     SetTimer(UpdateOSD, 200)
    -UpdateOSD()  ; Make the first update immediate rather than waiting for the timer.
    -MyGui.Show("x0 y400 NoActivate")  ; NoActivate avoids deactivating the currently active window.
    +UpdateOSD()  ; 最åˆã®æ›´æ–°ã‚’タイマー待ã¡ã§ã¯ãªãã€å³æ™‚æ›´æ–°ã—ã¾ã™ã€‚
    +MyGui.Show("x0 y400 NoActivate")  ; NoActivateã¯ã€ç¾åœ¨ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’éžã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã«ã™ã‚‹ã“ã¨ã‚’回é¿ã—ã¾ã™ã€‚
     
     UpdateOSD(*)
     {
    @@ -775,7 +776,7 @@ 

    例

    MyBtn := MyGui.Add("Button", "Default xp+20 yp+250", "Start the Bar Moving") MyBtn.OnEvent("Click", MoveBar) MyProgress := MyGui.Add("Progress", "w416") -MyText := MyGui.Add("Text", "wp") ; wp means "use width of previous". +MyText := MyGui.Add("Text", "wp") ; wpã¯ã€Œå‰ã®å¹…を使ãˆã€ã¨ã„ã†æ„味ã§ã™ã€‚ MyGui.Show() MoveBar(*) @@ -819,7 +820,7 @@

    例

    } MyPic.Value := Format("*w{1} *h{2} {3}", Width, Height, Image) ; ç”»åƒã‚’読ã¿è¾¼ã¿ã¾ã™ã€‚ MyGui.Title := Image - MyGui.Show("xCenter y0 AutoSize") ; Resize the window to match the picture size. + MyGui.Show("xCenter y0 AutoSize") ; ç”»åƒã‚µã‚¤ã‚ºã«åˆã‚ã›ã¦ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’リサイズã—ã¾ã™ã€‚ }
    @@ -827,36 +828,36 @@

    例

    メニューãƒãƒ¼ã‚’æŒã¤ã‚·ãƒ³ãƒ—ルãªãƒ†ã‚­ã‚¹ãƒˆã‚¨ãƒ‡ã‚£ã‚¿ã‚’作æˆã—ã¾ã™ã€‚

     ; Create the MyGui window:
    -MyGui := Gui("+Resize", "Untitled")  ; Make the window resizable.
    +MyGui := Gui("+Resize", "Untitled")  ; ウィンドウをリサイズå¯èƒ½ã«ã—ã¾ã™ã€‚
     
    -; Create the submenus for the menu bar:
    +; メニューãƒãƒ¼ã®ã‚µãƒ–メニューを作æˆã™ã‚‹ï¼š
     FileMenu := Menu()
     FileMenu.Add("&New", MenuFileNew)
     FileMenu.Add("&Open", MenuFileOpen)
     FileMenu.Add("&Save", MenuFileSave)
     FileMenu.Add("Save &As", MenuFileSaveAs)
    -FileMenu.Add() ; Separator line.
    +FileMenu.Add()  ;区切り線ã§ã™ã€‚
     FileMenu.Add("E&xit", MenuFileExit)
     HelpMenu := Menu()
     HelpMenu.Add("&About", MenuHelpAbout)
     
    -; Create the menu bar by attaching the submenus to it:
    +; サブメニューをãã£ã¤ã‘ã¦ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒãƒ¼ã‚’作æˆã™ã‚‹ï¼š
     MyMenuBar := MenuBar()
     MyMenuBar.Add("&File", FileMenu)
     MyMenuBar.Add("&Help", HelpMenu)
     
    -; Attach the menu bar to the window:
    +; メニューãƒãƒ¼ã‚’ウィンドウã«è²¼ã‚Šä»˜ã‘る:
     MyGui.MenuBar := MyMenuBar
     
    -; Create the main Edit control:
    +; メインã®Editコントロールを作æˆã—ã¾ã™ï¼š
     MainEdit := MyGui.Add("Edit", "WantTab W600 R20")
     
    -; Apply events:
    +; イベントをé©ç”¨ã—ã¾ã™ï¼š
     MyGui.OnEvent("DropFiles", Gui_DropFiles)
     MyGui.OnEvent("Size", Gui_Size)
     
    -MenuFileNew()  ; Apply default settings.
    -MyGui.Show()  ; Display the window.
    +MenuFileNew()  ;デフォルトã®è¨­å®šã‚’é©ç”¨ã—ã¾ã™ã€‚
    +MyGui.Show()  ; ウィンドウを表示ã—ã¾ã™ã€‚
     
     MenuFileNew(*)
     {
    @@ -888,7 +889,7 @@ 

    例

    global CurrentFileName := saveContent(SelectedFileName) } -MenuFileExit(*) ; User chose "Exit" from the File menu. +MenuFileExit(*) ; ユーザーã¯ãƒ•ã‚¡ã‚¤ãƒ«ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã‹ã‚‰ "Exit"ã‚’é¸æŠžã—ã¾ã—ãŸã€‚ { WinClose() } @@ -903,7 +904,7 @@

    例

    About.OnEvent("Escape", About_Close) About.Show() - About_Close(*) +About_Close(*) { MyGui.Opt("-Disabled") ; メインウィンドウをå†åº¦æœ‰åŠ¹ã«ã—ã¾ã™ï¼ˆæ¬¡ã®ã‚¹ãƒ†ãƒƒãƒ—ã®å‰ã«è¡Œã†å¿…è¦ãŒã‚ã‚Šã¾ã™ï¼‰ã€‚ About.Destroy() ;ã‚¢ãƒã‚¦ãƒˆãƒœãƒƒã‚¯ã‚¹ã‚’破棄ã—ã¾ã™ã€‚ @@ -943,16 +944,16 @@

    例

    return FileName } -Gui_DropFiles(thisGui, Ctrl, FileArray, *) ; Support drag & drop. +Gui_DropFiles(thisGui, Ctrl, FileArray, *) ; ドラッグ&ドロップã«å¯¾å¿œã€‚ { - CurrentFileName := readContent(FileArray[1]) ; Read the first file only (in case there's more than one). + CurrentFileName := readContent(FileArray[1]) ; 最åˆã®ãƒ•ã‚¡ã‚¤ãƒ«ã ã‘読ã¿è¾¼ã‚€ï¼ˆè¤‡æ•°ã‚ã‚‹å ´åˆï¼‰ã€‚ } Gui_Size(thisGui, MinMax, Width, Height) { - if MinMax = -1 ; The window has been minimized. No action needed. + if MinMax = -1 ;ウィンドウã¯æœ€å°åŒ–ã•ã‚Œã¾ã—ãŸã€‚何もã™ã‚‹å¿…è¦ã¯ãªã„。 return - ; Otherwise, the window has been resized or maximized. Resize the Edit control to match. + ; ãれ以外ã®å ´åˆã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚µã‚¤ã‚ºãŒå¤‰æ›´ã•ã‚ŒãŸã‚Šã€æœ€å¤§åŒ–ã•ã‚ŒãŸã‚Šã—ã¦ã„ã¾ã™ã€‚ãã‚Œã«åˆã‚ã›ã¦Editコントロールã®ã‚µã‚¤ã‚ºã‚’変更ã—ã¾ã™ã€‚ MainEdit.Move(,, Width-20, Height-20) }
    @@ -974,13 +975,13 @@

    例

    m.Add("Destroy", (*) => g.Destroy()) ; For a GUI event, the callback parameter can be used to avoid a ; reference cycle (using the same name prevents accidental capture). - ; However, Hide() doesn't break the *other* reference cycles. +; However, Hide() doesn't break the *other* reference cycles.
    g.OnEvent("Escape", (g, *) => g.Hide()) ; Capturing the variable can work out in our favour. g.OnEvent("Close", (*) => g := unset) g.Show("w300 h200") ; __Delete is not called due to the reference cycle: - ; g -> mb -> m -> (*) -> g +; g -> mb -> m -> (*) -> g ; unless g is unset by triggering the Close event, ; or MenuBar and event handlers are released by Destroy. g.__Delete := this => MsgBox("GUI #" this.n " deleted") diff --git a/target/docs/lib/GuiControl.htm b/target/docs/lib/GuiControl.htm index a8c3ad148..5407dedfa 100644 --- a/target/docs/lib/GuiControl.htm +++ b/target/docs/lib/GuiControl.htm @@ -27,15 +27,15 @@

    目次

  41. Add: Appends items to a multi-item control.
  42. Choose: Selects an item in a multi-item control.
  43. Delete: Deletes one or all items from a multi-item control.
  44. -
  45. Focus: Sets keyboard focus to the control.
  46. -
  47. GetPos: Retrieves the position and size of the control.
  48. -
  49. Move: Moves and/or resizes the control.
  50. +
  51. Focus:コントロールã«ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã‚’設定ã—ã¾ã™ã€‚
  52. +
  53. GetPos:コントロールã®ä½ç½®ã¨å¤§ãã•ã‚’å–å¾—ã—ã¾ã™ã€‚
  54. +
  55. Move:コントロールã®ç§»å‹•ãŠã‚ˆã³ã‚µã‚¤ã‚ºå¤‰æ›´ã‚’è¡Œã„ã¾ã™ã€‚
  56. OnCommand: Registers a function or method to be called on WM_COMMAND.
  57. -
  58. OnEvent: Registers a function or method to be called when the given event is raised.
  59. +
  60. OnEvent:与ãˆã‚‰ã‚ŒãŸã‚¤ãƒ™ãƒ³ãƒˆãŒç™ºç”Ÿã—ãŸã¨ãã«å‘¼ã³å‡ºã•ã‚Œã‚‹é–¢æ•°ã¾ãŸã¯ãƒ¡ã‚½ãƒƒãƒ‰ã‚’登録ã—ã¾ã™ã€‚
  61. OnNotify: Registers a function or method to be called on WM_NOTIFY.
  62. -
  63. Opt: Sets various options and styles for the appearance and behavior of the control.
  64. -
  65. Redraw: Redraws the region of the GUI window occupied by the control.
  66. -
  67. SetFont: Sets the font typeface, size, style, and/or color for the control.
  68. +
  69. Opt:コントロールã®å¤–観や動作ã«é–¢ã™ã‚‹ã•ã¾ã–ã¾ãªã‚ªãƒ—ションやスタイルを設定ã—ã¾ã™ã€‚
  70. +
  71. Redraw:コントロールãŒå æœ‰ã™ã‚‹GUIウィンドウã®é ˜åŸŸã‚’å†æç”»ã—ã¾ã™ã€‚
  72. +
  73. SetFont:コントロールã®ãƒ•ã‚©ãƒ³ãƒˆã®æ›¸ä½“ã€ã‚µã‚¤ã‚ºã€ã‚¹ã‚¿ã‚¤ãƒ«ã€è‰²ãªã©ã‚’設定ã—ã¾ã™ã€‚
  74. Properties: @@ -44,17 +44,17 @@

    目次

  75. Enabled: Retrieves or sets the interaction state of the control.
  76. Focused: Retrieves the focus state of the control.
  77. Gui: Retrieves the Gui object of the control's parent window.
  78. -
  79. Hwnd: Retrieves the window handle (HWND) of the control.
  80. -
  81. Name: Retrieves or sets the explicit name of the control.
  82. -
  83. Text: Retrieves or sets the text/caption of the control.
  84. -
  85. Type: Retrieves the type of the control.
  86. +
  87. Hwnd:コントロールã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒãƒ³ãƒ‰ãƒ«(HWND)ã‚’å–å¾—ã—ã¾ã™ã€‚
  88. +
  89. Name:コントロールã®æ˜Žç¤ºçš„ãªåå‰ã‚’å–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
  90. +
  91. Text:コントロールã®ãƒ†ã‚­ã‚¹ãƒˆ/キャプションをå–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚
  92. +
  93. Type:コントロールã®ç¨®é¡žã‚’å–å¾—ã—ã¾ã™ã€‚
  94. Value: Retrieves or sets the contents of a value-capable control.
  95. Visible: Retrieves or sets the visibility state of the control.
  96. 一般的ãªå‚™è€ƒï¼š
      -
    • Redraw: Performance-related remarks about redraw behaviour of controls.
    • +
    • Redraw:コントロールã®å†æ画動作ã«é–¢ã™ã‚‹ãƒ‘フォーマンスã«é–¢ã™ã‚‹æ³¨æ„事項。
  97. @@ -67,7 +67,7 @@

    Add

    パラメータ

    Items
    -

    Type: Array

    +

    型:é…列

    An array of strings to be inserted as items at the end of the control's list, e.g. ["Red", "Green", "Blue"].

    @@ -84,16 +84,16 @@

    Choose

    パラメータ

    値
    -

    Type: Integer or String

    +

    型:整数ã¾ãŸã¯æ–‡å­—列

    Specify 1 for the first item, 2 for the second, etc.

    If Value is a string (even a numeric string), the item whose leading name part matches Value will be selected. 検索ã§ã¯ã€å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。例ãˆã°ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã«ã€ŒUNIXテキストã€ã¨ã„ã†é …ç›®ãŒã‚ã‚‹å ´åˆã€unix(å°æ–‡å­—)ã¨ã„ã†å˜èªžã‚’指定ã™ã‚Œã°ã€ãã‚Œã ã‘ã§é¸æŠžã§ãã¾ã™ã€‚複数é¸æŠžãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å ´åˆã€ä¸€è‡´ã™ã‚‹ã™ã¹ã¦ã®é …ç›®ãŒé¸æŠžã•ã‚Œã¾ã™ã€‚

    ValueãŒ0ã¾ãŸã¯ç©ºã®å ´åˆã€ç¾åœ¨ã®é¸æŠžé …ç›®ã¯å‰Šé™¤ã•ã‚Œã¾ã™ã€‚

    備考

    多項目é¸æŠžãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å…¨é …目をé¸æŠžã¾ãŸã¯é¸æŠžè§£é™¤ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ï¼š

    -
    PostMessage 0x0185, 1, -1, ListBox  ; Select all items. 0x0185 is LB_SETSEL.
    -PostMessage 0x0185, 0, -1, ListBox  ; Deselect all items.
    -ListBox.Choose(0)  ; Deselect all items.
    +
    PostMessage 0x0185, 1, -1, ListBox  ; 全項目をé¸æŠžã€‚0x0185ã¯LB_SETSELã§ã™ã€‚
    +PostMessage 0x0185, 0, -1, ListBox  ;ã™ã¹ã¦ã®ã‚¢ã‚¤ãƒ†ãƒ ã®é¸æŠžã‚’解除ã—ã¾ã™ã€‚
    +ListBox.Choose(0)  ; ã™ã¹ã¦ã®é …ç›®ã®é¸æŠžã‚’解除ã—ã¾ã™ã€‚

    ControlChooseIndexã¨ã¯ç•°ãªã‚Šã€ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã¯Changeã¾ãŸã¯DoubleClickイベントを発生ã•ã›ã¾ã›ã‚“。

    @@ -104,7 +104,7 @@

    Delete

    パラメータ

    値
    -

    Type: Integer

    +

    型:整数

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

    @@ -130,12 +130,12 @@

    パラメータ

    &X, &Y
    -

    Type: VarRef

    +

    型:VarRef

    çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。ãã†ã§ãªã„ã¨ãã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å·¦ä¸Šéš…ã®X座標ã¨Y座標をピクセルå˜ä½ã§æ ¼ç´ã™ã‚‹å‡ºåŠ›å¤‰æ•°ã¸ã®å‚照を指定ã—ã¾ã™ã€‚These 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: VarRef

    +

    型:VarRef

    çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。ãã†ã§ãªã„ã¨ãã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å¹…ã¨é«˜ã•ã‚’ピクセルå˜ä½ã§æ ¼ç´ã™ã‚‹å‡ºåŠ›å¤‰æ•°ã¸ã®å‚照を指定ã—ã¾ã™ã€‚

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

    パラメータ

    X, Y
    -

    Type: Integer

    +

    型:整数

    If either is omitted, the control's position in that dimension will not be changed. Otherwise, specify the X and Y coordinates (in pixels) of the upper left corner of the control's new location. 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

    +

    型:整数

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

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

    Opt

    パラメータ

    Options
    -

    Type: String

    +

    型:文字列

    Specify one or more control-specific or general options and styles, each separated from the next with one or more spaces or tabs.

    @@ -232,7 +232,7 @@

    ClassNN

    Retrieves the class name and sequence number (ClassNN) of the control.

    ClassNN := GuiCtrl.ClassNN

    コントロールã®ClassNNã¯ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚¯ãƒ©ã‚¹ã®åå‰ã¨ã€ãれをå«ã‚€ãƒˆãƒƒãƒ—レベルウィンドウ内ã®ã‚·ãƒ¼ã‚±ãƒ³ã‚¹ç•ªå·ã§æ§‹æˆã•ã‚Œã¾ã™ã€‚例ãˆã°ã€"Edit1"ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ä¸Šã®æœ€åˆã®Editコントロールã€"Button12"ã¯2番目ã®ãƒœã‚¿ãƒ³ã§ã™ã€‚

    -

    Related: ControlGetClassNN

    +

    関連:ControlGetClassNN

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

    Text

    コントロールã®ãƒ†ã‚­ã‚¹ãƒˆ/キャプションをå–å¾—ã¾ãŸã¯è¨­å®šã—ã¾ã™ã€‚

    CurrentText := GuiCtrl.Text
    GuiCtrl.Text := NewText
    -

    Note: If the control has no visible caption text and no (single) text value, this property corresponds to the control's hidden caption text (like ControlGetText/ControlSetText).

    +

    注:コントロールã«å¯è¦–キャプションテキストãŒãªãã€ï¼ˆå˜ä¸€ã®ï¼‰ãƒ†ã‚­ã‚¹ãƒˆå€¤ã‚‚ãªã„å ´åˆã€ã“ã®ãƒ—ロパティã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®éžè¡¨ç¤ºã‚­ãƒ£ãƒ—ションテキストã«å¯¾å¿œã—ã¾ã™ï¼ˆControlGetText/ControlSetTextã®ã‚ˆã†ã«ï¼‰ã€‚

    CurrentText and NewText depend on the control type:

    Button / CheckBox / Edit / GroupBox / Link / Radio / Text

    @@ -316,7 +316,7 @@

    値

    Retrieves or sets the contents of a value-capable control.

    CurrentValue := GuiCtrl.Value
    GuiCtrl.Value := NewValue
    -

    Note: If the control is not value-capable, CurrentValue will be blank and assigning NewValue will raise an error. 無効ãªå€¤ã§ã¯ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    +

    注:If the control is not value-capable, CurrentValue will be blank and assigning NewValue will raise an error. 無効ãªå€¤ã§ã¯ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    CurrentValue and NewValue depend on the control type:

    ActiveX

    @@ -343,12 +343,12 @@

    値

    To retrieve or set the text without translating `n to or from `r`n, use the Text property.

    Hotkey

    -

    CurrentValue is the modifiers and key name if there is a hotkey in the Hotkey control; otherwise blank. Examples: ^!C, ^Home, +^NumpadHome.

    -

    NewValueã«ã¯ã€ã‚­ãƒ¼åã‚’æŒã¤ä¿®é£¾èªžã®ã‚»ãƒƒãƒˆã€ã¾ãŸã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’クリアã™ã‚‹ãŸã‚ã®ãƒ–ランクを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚Examples: ^!c, ^Numpad1, +Home. The only modifiers supported are ^ (Control), !(Alt), and + (Shift). 使用å¯èƒ½ãªã‚­ãƒ¼åã«ã¤ã„ã¦ã¯ã€ã‚­ãƒ¼ãƒªã‚¹ãƒˆã‚’å‚ç…§ã—ã¦ãã ã•ã„。

    +

    CurrentValue is the modifiers and key name if there is a hotkey in the Hotkey control; otherwise blank. 例:^!C, ^Home, +^NumpadHome.

    +

    NewValueã«ã¯ã€ã‚­ãƒ¼åã‚’æŒã¤ä¿®é£¾èªžã®ã‚»ãƒƒãƒˆã€ã¾ãŸã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚’クリアã™ã‚‹ãŸã‚ã®ãƒ–ランクを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚例:^!c, ^Numpad1, +Home. The only modifiers supported are ^ (Control), ! (Alt), and + (Shift). 使用å¯èƒ½ãªã‚­ãƒ¼åã«ã¤ã„ã¦ã¯ã€ã‚­ãƒ¼ãƒªã‚¹ãƒˆã‚’å‚ç…§ã—ã¦ãã ã•ã„。

    ç”»åƒ

    CurrentValue is the picture's file name as it was originally specified when the Picture control was created. ã“ã®åå‰ã¯ã€æ–°ã—ã„ç”»åƒãƒ•ã‚¡ã‚¤ãƒ«åãŒæŒ‡å®šã•ã‚Œã¦ã‚‚変ã‚ã‚Šã¾ã›ã‚“。

    -

    NewValueã¯ã€èª­ã¿è¾¼ã‚€æ–°ã—ã„ç”»åƒã®ãƒ•ã‚¡ã‚¤ãƒ«å(ã¾ãŸã¯ãƒãƒ³ãƒ‰ãƒ«ï¼‰ã§ã™ï¼ˆã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„るファイルタイプã¯Pictureã‚’å‚ç…§ã—ã¦ãã ã•ã„)。Zero or more of the following options may be specified immediately in front of the filename: *wN (width N), *hN (height N), and *IconN (icon group number N in a DLL or EXE file). In the following example, the default icon from the second icon group is loaded with a width of 100 and an automatic height via "keep aspect ratio": MyPic.Value := "*icon2 *w100 *h-1 C:\My Application.exe". ç”»åƒã®å®Ÿéš›ã®å¹…ã¨é«˜ã•ã‚’使用ã™ã‚‹å ´åˆã¯ã€*w0 *h0を指定ã—ã¾ã™ã€‚wã¨hãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ç”»åƒã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ç¾åœ¨ã®ã‚µã‚¤ã‚ºã«åˆã†ã‚ˆã†ã«æ‹¡å¤§ç¸®å°ã•ã‚Œã¾ã™ã€‚マルãƒã‚¢ã‚¤ã‚³ãƒ³ã®.ICOファイルã‹ã‚‰èª­ã¿è¾¼ã‚€å ´åˆã€å¹…ã¨é«˜ã•ã‚’指定ã™ã‚‹ã“ã¨ã§ã€ã©ã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’読ã¿è¾¼ã‚€ã‹ã‚‚決ã¾ã‚Šã¾ã™ã€‚Note: Use only one space or tab between the final option and the filename itself; any other spaces and tabs are treated as part of the filename.

    +

    NewValueã¯ã€èª­ã¿è¾¼ã‚€æ–°ã—ã„ç”»åƒã®ãƒ•ã‚¡ã‚¤ãƒ«å(ã¾ãŸã¯ãƒãƒ³ãƒ‰ãƒ«ï¼‰ã§ã™ï¼ˆã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„るファイルタイプã¯Pictureã‚’å‚ç…§ã—ã¦ãã ã•ã„)。ファイルåã®ç›´å‰ã«ã€ä»¥ä¸‹ã®ã‚ªãƒ—ションを0個以上指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼š*wN(幅N)ã€*hN(高ã•N)ã€*IconN(DLLã¾ãŸã¯EXEファイル内ã®ã‚¢ã‚¤ã‚³ãƒ³ç¾¤ç•ªå·N)ã§ã™ã€‚次ã®ä¾‹ã§ã¯ã€2番目ã®ã‚¢ã‚¤ã‚³ãƒ³ã‚°ãƒ«ãƒ¼ãƒ—ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚¢ã‚¤ã‚³ãƒ³ãŒã€å¹…100ã€ã€Œç¸¦æ¨ªæ¯”ã‚’ä¿ã¤ã€ã«ã‚ˆã‚‹è‡ªå‹•é«˜ã•ã§èª­ã¿è¾¼ã¾ã‚Œã¾ã™ï¼šMyPic.Value := "*icon2 *w100 *h-1 C:\My Application.exe". ç”»åƒã®å®Ÿéš›ã®å¹…ã¨é«˜ã•ã‚’使用ã™ã‚‹å ´åˆã¯ã€*w0 *h0を指定ã—ã¾ã™ã€‚wã¨hãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ç”»åƒã¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ç¾åœ¨ã®ã‚µã‚¤ã‚ºã«åˆã†ã‚ˆã†ã«æ‹¡å¤§ç¸®å°ã•ã‚Œã¾ã™ã€‚マルãƒã‚¢ã‚¤ã‚³ãƒ³ã®.ICOファイルã‹ã‚‰èª­ã¿è¾¼ã‚€å ´åˆã€å¹…ã¨é«˜ã•ã‚’指定ã™ã‚‹ã“ã¨ã§ã€ã©ã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’読ã¿è¾¼ã‚€ã‹ã‚‚決ã¾ã‚Šã¾ã™ã€‚注:最後ã®ã‚ªãƒ—ションã¨ãƒ•ã‚¡ã‚¤ãƒ«åã®é–“ã«ã¯ã€ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯ã‚¿ãƒ–ã‚’1ã¤ã ã‘使用ã—ã¾ã™ã€‚ãã®ä»–ã®ã‚¹ãƒšãƒ¼ã‚¹ã‚„タブã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«åã®ä¸€éƒ¨ã¨ã—ã¦æ‰±ã‚ã‚Œã¾ã™ã€‚

    Progress / Slider / UpDown

    CurrentValue is the current position of the Progress, Slider or UpDown control.

    diff --git a/target/docs/lib/GuiControls.htm b/target/docs/lib/GuiControls.htm index 35011190f..ad450f8e3 100644 --- a/target/docs/lib/GuiControls.htm +++ b/target/docs/lib/GuiControls.htm @@ -50,7 +50,7 @@

    目次

    ActiveX

    MSIEブラウザコントロールãªã©ã®ActiveXコンãƒãƒ¼ãƒãƒ³ãƒˆã¯ã€æ¬¡ã®ã‚ˆã†ã«GUIウィンドウã«åŸ‹ã‚込むã“ã¨ãŒã§ãã¾ã™ã€‚以下ã§ä½¿ç”¨ã•ã‚Œã‚‹ ActiveXコンãƒãƒ¼ãƒãƒ³ãƒˆã¨ãã®ãƒ¡ã‚½ãƒƒãƒ‰ã®è©³ç´°ã«ã¤ã„ã¦ã¯ã€WebBrowserオブジェクト(Microsoft Docs)ãŠã‚ˆã³Navigateメソッド (Microsoft Docs)ã‚’å‚ç…§ã—ã¦ãã ã•ã„。

    MyGui := Gui()
    -WB := MyGui.Add("ActiveX", "w980 h640", "Shell.Explorer").Value  ; The last parameter is the name of the ActiveX component.
    +WB := MyGui.Add("ActiveX", "w980 h640", "Shell.Explorer").Value  ; 最後ã®ãƒ‘ラメータã¯ã€ActiveXコンãƒãƒ¼ãƒãƒ³ãƒˆã®åå‰ã§ã™ã€‚
     WB.Navigate("https://www.autohotkey.com/docs/")  ; This is specific to the web browser control.
     MyGui.Show()

    When the control is created, the ActiveX object can be retrieved via GuiCtrl.Value.

    @@ -93,7 +93,7 @@

    Button

    MyGui.Add("Button",, "&Pause")

    In the example above, the letter P will be underlined, which allows the user to press Alt+P as shortcut key. To display a literal ampersand, specify two consecutive ampersands (&&).

    -

    Known limitation: Certain desktop themes might not display a button's text properly. If this occurs, try including -Wrap (minus Wrap) in the control's options. However, this also prevents having more than one line of text.

    +

    既知ã®åˆ¶é™ï¼šCertain desktop themes might not display a button's text properly. If this occurs, try including -Wrap (minus Wrap) in the control's options. However, this also prevents having more than one line of text.

    CheckBox

    A small box that can be checked or unchecked to represent On/Off, Yes/No, etc.

    @@ -108,7 +108,7 @@

    Button

    Specify the word Check3 in Options to enable a third "indeterminate" state that displays a gray checkmark or a square instead of a black checkmark (the indeterminate state indicates that the checkbox is neither checked nor unchecked). Specify the word Checked or CheckedGray in Options to have the checkbox start off checked or indeterminate, respectively. The word Checked may optionally be followed immediately by a 0, 1, or -1 to indicate the starting state. In other words, "Checked" and "Checked" VarContainingOne are the same.

    Whenever the checkbox is clicked, it automatically cycles between its two or three possible states, and then raises the Click event, allowing the script to immediately respond to the user's input.

    The DoubleClick, Focus and LoseFocus events are also supported. As these events are only raised if the control has the BS_NOTIFY (0x4000) style, it is added automatically by OnEvent. This style is not applied by default as it prevents rapid clicks from changing the state of the checkmark (such as if the user clicks twice to toggle from unchecked to checked and then to indeterminate).

    -

    Known limitation: Certain desktop themes might not display a checkbox's text properly. If this occurs, try including -Wrap (minus Wrap) in the control's options. However, this also prevents having more than one line of text.

    +

    既知ã®åˆ¶é™ï¼šCertain desktop themes might not display a checkbox's text properly. If this occurs, try including -Wrap (minus Wrap) in the control's options. However, this also prevents having more than one line of text.

    ComboBox

    Same as DropDownList but also permits free-form text to be entered as an alternative to picking an item from the list.

    @@ -149,7 +149,7 @@

    Custom

    IP_EditChange(*) { - IPText.Text := "New text: " IP.Text + IPText.Text := "New text:" IP.Text } IP_FieldChange(thisCtrl, NMIPAddress) @@ -158,7 +158,7 @@

    Custom

    iField := NumGet(NMIPAddress, 3*A_PtrSize + 0, "int") iValue := NumGet(NMIPAddress, 3*A_PtrSize + 4, "int") if (iValue >= 0) - IPField.Text := "Field #" iField " modified: " iValue + IPField.Text := "Field #" iField " modified:" iValue else IPField.Text := "Field #" iField " left empty" } @@ -168,7 +168,7 @@

    Custom

    static WM_USER := 0x0400 static IPM_SETADDRESS := WM_USER + 101 - ; Pack the IP address into a 32-bit word for use with SendMessage. +; Pack the IP address into a 32-bit word for use with SendMessage. IPAddrWord := 0 Loop Parse IPAddress, "." IPAddrWord := (IPAddrWord * 256) + A_LoopField @@ -180,7 +180,7 @@

    Custom

    static WM_USER := 0x0400 static IPM_GETADDRESS := WM_USER + 102 - AddrWord := Buffer(4) +AddrWord := Buffer(4) SendMessage(IPM_GETADDRESS, 0, AddrWord, GuiCtrl) IPPart := [] Loop 4 @@ -205,12 +205,12 @@

    SetFormat

    GuiCtrl.SetFormat(Format)

    パラメータ

    Format
    -

    Type: String

    +

    型:文字列

    If blank or omitted, it defaults to ShortDate. Otherwise, specify one of the following formats:

    ShortDate: Uses the locale's short date format. For example, in some locales it would look like: 6/1/2005

    LongDate: Uses the locale's long date format. For example, in some locales it would look like: Wednesday, June 01, 2005

    Time: Shows only the time using the locale's time format. Although the date is not shown, it is still present in the control and will be retrieved along with the time in the YYYYMMDDHH24MISS format. For example, in some locales it would look like: 9:37:45 PM

    -

    (custom format): Specify any combination of date and time formats. For example, "M/d/yy HH:mm" would look like 6/1/05 21:37. Similarly, "dddd MMMM d, yyyy hh:mm:ss tt" would look like Wednesday June 1, 2005 09:37:45 PM. Letters and numbers to be displayed literally should be enclosed in single quotes as in this example: "'Date:' MM/dd/yy 'Time:' hh:mm:ss tt". By contrast, non-alphanumeric characters such as spaces, tabs, slashes, colons, commas, and other punctuation do not need to be enclosed in single quotes. The exception to this is the single quote character itself: to produce it literally, use four consecutive single quotes (''''), or just two if the quote is already inside an outer pair of quotes.

    +

    (custom format): Specify any combination of date and time formats. For example, "M/d/yy HH:mm" would look like 6/1/05 21:37. Similarly, "dddd MMMM d, yyyy hh:mm:ss tt" would look like Wednesday June 1, 2005 09:37:45 PM. Letters and numbers to be displayed literally should be enclosed in single quotes as in this example:"'Date:' MM/dd/yy 'Time:' hh:mm:ss tt". By contrast, non-alphanumeric characters such as spaces, tabs, slashes, colons, commas, and other punctuation do not need to be enclosed in single quotes. ãŸã ã—ã€ã‚·ãƒ³ã‚°ãƒ«ã‚¯ã‚©ãƒ¼ãƒˆæ–‡å­—ãã®ã‚‚ã®ã¯ä¾‹å¤–ã§ã™ï¼šã‚’文字通りã«è¡¨ç¤ºã™ã‚‹ã«ã¯ã€4ã¤ã®é€£ç¶šã—ãŸå˜ä¸€å¼•ç”¨ç¬¦ï¼ˆ''')を使用ã—ã¾ã™ï¼ˆå¼•ç”¨ç¬¦ãŒã™ã§ã«å¤–å´ã®å¼•ç”¨ç¬¦ã®ãƒšã‚¢ã®ä¸­ã«ã‚ã‚‹å ´åˆã¯2ã¤ã ã‘)。

    @@ -261,11 +261,11 @@

    Edit

    MyGui.AddEdit("r9 vMyEdit w135", "Text to appear inside the edit control (omit this parameter to start off empty).")

    アピアランス(外観):

    Edit -

    コントロールã¯ã€ãƒ†ã‚­ã‚¹ãƒˆãŒ2行以上ã‚ã‚‹å ´åˆã€è¤‡æ•°è¡Œã«ãªã‚Šã¾ã™ã€‚For example, specifying r3 in Options will create a 3-line edit control with the following default properties: a vertical scroll bar, word-wrapping enabled, and Enter captured as part of the input rather than triggering the window's default button.

    -

    複数行ã®ç·¨é›†ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã§æ”¹è¡Œã™ã‚‹ã«ã¯ã€æœ€å¾Œã®ãƒ‘ラメータ(contents)ã«å˜ç‹¬ã®ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`n)ã¾ãŸã¯ã‚­ãƒ£ãƒªãƒƒã‚¸ãƒªã‚¿ãƒ¼ãƒ³ã¨ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`r`n)を指定ã—ã¾ã™ã€‚ã©ã¡ã‚‰ã®æ–¹æ³•ã‚‚ã€Editコントロールã®ä¸­ã«ãƒªãƒ†ãƒ©ãƒ«ãª`r`nペアを生æˆã—ã¾ã™ã€‚ã—ã‹ã—ã€MyGui.Submitã‚„ GuiCtrl.Valueã§ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å†…容をå–å¾—ã™ã‚‹å ´åˆã€ãƒ†ã‚­ã‚¹ãƒˆå†…ã®å„`r`nã¯å¸¸ã«ãƒ—レーンãªãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`n)ã«å¤‰æ›ã•ã‚Œã¾ã™ã€‚ã“ã®è¡Œæœ«å¤‰æ›ã‚’回é¿ã™ã‚‹ãŸã‚ã«ã¯ã€GuiCtrl.Textを使用ã—ã¾ã™ã€‚To write the text to a file, follow this example: FileAppend(MyEdit.Text, "C:\Saved File.txt").

    +

    コントロールã¯ã€ãƒ†ã‚­ã‚¹ãƒˆãŒ2行以上ã‚ã‚‹å ´åˆã€è¤‡æ•°è¡Œã«ãªã‚Šã¾ã™ã€‚例ãˆã°ã€Options㧠r3を指定ã™ã‚‹ã¨ã€æ¬¡ã®ã‚ˆã†ãªãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®ãƒ—ロパティをæŒã¤3行エディットコントロールãŒä½œæˆã•ã‚Œã¾ã™ï¼šåž‚直スクロールãƒãƒ¼ã€ãƒ¯ãƒ¼ãƒ‰ãƒ©ãƒƒãƒ”ングを有効ã«ã—ã€Enterã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆãƒœã‚¿ãƒ³ã‚’トリガーã™ã‚‹ã®ã§ã¯ãªãã€å…¥åŠ›ã®ä¸€éƒ¨ã¨ã—ã¦ã‚­ãƒ£ãƒ—ãƒãƒ£ã•ã‚Œã¾ã™ã€‚

    +

    複数行ã®ç·¨é›†ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã§æ”¹è¡Œã™ã‚‹ã«ã¯ã€æœ€å¾Œã®ãƒ‘ラメータ(contents)ã«å˜ç‹¬ã®ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`n)ã¾ãŸã¯ã‚­ãƒ£ãƒªãƒƒã‚¸ãƒªã‚¿ãƒ¼ãƒ³ã¨ãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`r`n)を指定ã—ã¾ã™ã€‚ã©ã¡ã‚‰ã®æ–¹æ³•ã‚‚ã€Editコントロールã®ä¸­ã«ãƒªãƒ†ãƒ©ãƒ«ãª`r`nペアを生æˆã—ã¾ã™ã€‚ã—ã‹ã—ã€MyGui.Submitã‚„ GuiCtrl.Valueã§ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®å†…容をå–å¾—ã™ã‚‹å ´åˆã€ãƒ†ã‚­ã‚¹ãƒˆå†…ã®å„`r`nã¯å¸¸ã«ãƒ—レーンãªãƒ©ã‚¤ãƒ³ãƒ•ã‚£ãƒ¼ãƒ‰ï¼ˆ`n)ã«å¤‰æ›ã•ã‚Œã¾ã™ã€‚ã“ã®è¡Œæœ«å¤‰æ›ã‚’回é¿ã™ã‚‹ãŸã‚ã«ã¯ã€GuiCtrl.Textを使用ã—ã¾ã™ã€‚テキストをファイルã«æ›¸ã出ã™ã«ã¯ã€ã“ã®ä¾‹ã«å¾“ã„ã¾ã™ï¼šFileAppend(MyEdit.Text, "C:\Saved File.txt").

    コントロールãŒãƒ¯ãƒ¼ãƒ‰ãƒ©ãƒƒãƒ”ングを有効ã«ã—ã¦ã„ã‚‹å ´åˆï¼ˆè¤‡æ•°è¡Œç·¨é›†ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆï¼‰ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒå…¥åŠ›ã™ã‚‹éš›ã«ç™ºç”Ÿã™ã‚‹ãƒ©ãƒƒãƒ—ã¯ã€æ”¹è¡Œæ–‡å­—を生æˆã—ã¾ã›ã‚“(Enterã ã‘ãŒãれを行ã†ã“ã¨ãŒã§ãã¾ã™ï¼‰ã€‚

    Whenever the user changes the control's content, the Change event is raised.

    -

    TIP: To load a text file into an Edit control, use FileRead and GuiCtrl.Value. 事例:

    +

    TIP:To load a text file into an Edit control, use FileRead and GuiCtrl.Value. 事例:

    MyEdit := MyGui.Add("Edit", "R20")
     MyEdit.Value := FileRead("C:\My File.txt")
    @@ -275,15 +275,15 @@

    Edit Options

    Lowercase: The characters typed by the user are automatically converted to lowercase.

    Multi: Makes it possible to have more than one line of text. However, it is usually not necessary to specify this because it will be auto-detected based on height (H), rows (R), or contents (Text).

    Number: Prevents the user from typing anything other than digits into the field (however, it is still possible to paste non-digits into it). An alternate way of forcing a numeric entry is to attach an UpDown control to the Edit.

    -

    Password: Hides the user's input (such as for password entry) by substituting masking characters for what the user types. If a non-default masking character is desired, include it immediately after the word Password. For example, Password* would make the masking character an asterisk rather than the black circle (bullet). Note: This option has no effect for multi-line edit controls.

    +

    Password: Hides the user's input (such as for password entry) by substituting masking characters for what the user types. If a non-default masking character is desired, include it immediately after the word Password. For example, Password* would make the masking character an asterisk rather than the black circle (bullet). 注:This option has no effect for multi-line edit controls.

    ReadOnly: Prevents the user from changing the control's contents. However, the text can still be scrolled, selected and copied to the clipboard.

    -

    Tn: The letter T may be used to set tab stops inside a multi-line edit control (since tab stops determine the column positions to which literal TAB characters will jump, they can be used to format the text into columns). If the letter T is not used, tab stops are set at every 32 dialog units (the width of each "dialog unit" is determined by the operating system). If the letter T is used only once, tab stops are set at every n units across the entire width of the control. For example, MyGui.Add("Edit", "vMyEdit r16 t64") would double the default distance between tab stops. To have custom tab stops, specify the letter T multiple times as in the following example: MyGui.Add("Edit", "vMyEdit r16 t8 t16 t32 t64 t128"). One tab stop is set for each of the absolute column positions in the list, up to a maximum of 50 tab stops. Note: Tab stops require a multiline edit control.

    +

    Tn:The letter T may be used to set tab stops inside a multi-line edit control (since tab stops determine the column positions to which literal TAB characters will jump, they can be used to format the text into columns). If the letter T is not used, tab stops are set at every 32 dialog units (the width of each "dialog unit" is determined by the operating system). If the letter T is used only once, tab stops are set at every n units across the entire width of the control. For example, MyGui.Add("Edit", "vMyEdit r16 t64") would double the default distance between tab stops. To have custom tab stops, specify the letter T multiple times as in the following example:MyGui.Add("Edit", "vMyEdit r16 t8 t16 t32 t64 t128"). One tab stop is set for each of the absolute column positions in the list, up to a maximum of 50 tab stops. 注:Tab stops require a multiline edit control.

    Uppercase: The characters typed by the user are automatically converted to uppercase.

    WantCtrlA: Specify -WantCtrlA (minus WantCtrlA) to prevent the user's press of Ctrl+A from selecting all text in the edit control.

    WantReturn: Specify -WantReturn (minus WantReturn) to prevent a multi-line edit control from capturing Enter. Pressing Enter will then be the same as pressing the window's default button (if any). In this case, the user may press Ctrl+Enter to start a new line.

    -

    WantTab: Causes Tab to produce a tab character rather than navigating to the next control. Without this option, the user may press Ctrl+Tab to produce a tab character inside a multi-line edit control. Note: WantTab also works in a single-line edit control.

    +

    WantTab: Causes Tab to produce a tab character rather than navigating to the next control. Without this option, the user may press Ctrl+Tab to produce a tab character inside a multi-line edit control. 注:WantTab also works in a single-line edit control.

    Wrap: Specify -Wrap (minus Wrap) to turn off word-wrapping in a multi-line edit control. Since this style cannot be changed after the control has been created, use one of the following to change it: 1) Destroy then recreate the window and its control; or 2) Create two overlapping edit controls, one with wrapping enabled and the other without it. The one not currently in use can be kept empty and/or hidden.

    -

    Right, Center, and Hiddenãªã©ä»–ã®ã‚ªãƒ—ションã«ã¤ã„ã¦ã¯ã€ä¸€èˆ¬çš„ãªã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。See also: positioning and sizing of controls.

    +

    Right, Center, and Hiddenãªã©ä»–ã®ã‚ªãƒ—ションã«ã¤ã„ã¦ã¯ã€ä¸€èˆ¬çš„ãªã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:positioning and sizing of controls.

    A more powerful edit control: HiEdit is a free, multitabbed, large-file edit control consuming very little memory. It can edit both text and binary files. For details and a demonstration, see HiEdit on GitHub.

    GroupBox

    @@ -305,14 +305,14 @@

    Hotkey

    MyGui.AddHotkey("vChosenHotkey")

    アピアランス(外観):

    Hotkey -

    GuiCtrl.Value returns the control's hotkey modifiers and name, which are compatible with the Hotkey function. Examples: ^!C, +!Home, +^Down, ^Numpad1, !NumpadEnd. If there is no hotkey in the control, the value is blank.

    +

    GuiCtrl.Value returns the control's hotkey modifiers and name, which are compatible with the Hotkey function. 例:^!C, +!Home, +^Down, ^Numpad1, !NumpadEnd. If there is no hotkey in the control, the value is blank.

    Note: Some keys are displayed the same even though they are retrieved as different names. For example, both ^Numpad7 and ^NumpadHome might be displayed as Ctrl + Num 7.

    -

    By default, the control starts off with no hotkey specified. To instead have a default, specify its modifiers and name as the last parameter as in this example: MyGui.Add("Hotkey", "vChosenHotkey", "^!p"). The only modifiers supported are ^ (Ctrl), ! (Alt), and + (Shift). See the key list for available key names.

    +

    By default, the control starts off with no hotkey specified. To instead have a default, specify its modifiers and name as the last parameter as in this example:MyGui.Add("Hotkey", "vChosenHotkey", "^!p"). 対応ã™ã‚‹ä¿®é£¾èªžã¯ã€^ (Ctrl), ! (Alt) ãŠã‚ˆã³ +(Shift) ã®ã¿ã§ã™ã€‚See the key list for available key names.

    Whenever the user changes the control's content (by pressing a key), the Change event is raised.

    Note: The event is raised even when an incomplete hotkey is present. For example, if the user holds down Ctrl, the event is raised once and GuiCtrl.Value returns only a circumflex (^). When the user completes the hotkey, the event is raised again and GuiCtrl.Value returns the complete hotkey.

    To restrict the types of hotkeys the user may enter, include the word Limit followed by the sum of one or more of the following numbers:

    -

    The default implementation of this method is also defined as a function: ObjOwnProps(Obj).

    +

    ã¾ãŸã€ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å®Ÿè£…ã¯ã€é–¢æ•°ã¨ã—ã¦å®šç¾©ã•ã‚Œã¦ã„ã¾ã™ï¼šObjOwnProps(Obj).

    属性

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

    属性

    æ–°ã—ã„ベースを割り当ã¦ã‚‹ã¨ã€ã‚ªãƒ–ジェクトã®ãƒã‚¤ãƒ†ã‚£ãƒ–タイプãŒå¤‰æ›´ã•ã‚Œã‚‹å ´åˆã¯ã€ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚オブジェクトã®ãƒã‚¤ãƒ†ã‚£ãƒ–タイプã¯ã€Object.Prototypeã‚„ Array.Prototypeãªã©ã®çµ„ã¿è¾¼ã¿ã‚¯ãƒ©ã‚¹ã«å±žã™ã‚‹ã€æœ€ã‚‚è¿‘ã„プロトタイプオブジェクトã«ã‚ˆã£ã¦æ±ºå®šã•ã‚Œã¾ã™ã€‚例ãˆã°ã€Arrayã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã¯å¿…ãšArray.Prototypeã‹ã‚‰ç›´æŽ¥ã¾ãŸã¯é–“接的ã«æ´¾ç”Ÿã—ã¦ã„ãªã‘ã‚Œã°ãªã‚‰ãªã„。

    プロパティやメソッドã¯ãƒ™ãƒ¼ã‚¹ã‚ªãƒ–ジェクトã‹ã‚‰å‹•çš„ã«ç¶™æ‰¿ã•ã‚Œã‚‹ãŸã‚ã€ã‚ªãƒ–ジェクトã®ãƒ™ãƒ¼ã‚¹ã‚’変更ã™ã‚‹ã¨ã€ç¶™æ‰¿ã•ã‚ŒãŸãƒ—ロパティやメソッドを利用ã§ãã‚‹ã‚‚ã®ã‚‚変更ã•ã‚Œã¾ã™ã€‚

    ã“ã®ãƒ—ロパティã¯Anyã‹ã‚‰ç¶™æ‰¿ã•ã‚Œã¾ã™ãŒã€Objectã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã«å¯¾ã—ã¦ã®ã¿è¨­å®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

    -

    See also: ObjGetBase, ObjSetBase

    +

    ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:ObjGetBase, ObjSetBase

    関数

    @@ -206,7 +206,7 @@

    ObjSetBase

    ObjSetBase(Obj, BaseObj)

    メタファンクションや プロパティファンクションã¯å‘¼ã³å‡ºã•ã‚Œã¾ã›ã‚“。Baseプロパティをオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã‚‚ã€ã“ã®é–¢æ•°ã®å‹•ä½œã«å½±éŸ¿ã¯ã‚ã‚Šã¾ã›ã‚“。

    Objã¾ãŸã¯BaseObjãŒä¸æ­£ãªåž‹ã§ã‚ã‚‹å ´åˆã€ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã™ã€‚

    -

    See also: ObjGetBase, Base property

    +

    ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:ObjGetBase, Base property

    ObjOwnPropCount

    オブジェクトãŒæ‰€æœ‰ã™ã‚‹ãƒ—ロパティã®æ•°ã‚’è¿”ã—ã¾ã™ã€‚

    @@ -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 70135179d..f84ccfe18 100644 --- a/target/docs/lib/OnClipboardChange.htm +++ b/target/docs/lib/OnClipboardChange.htm @@ -19,7 +19,7 @@

    パラメータ

    Callback
    -

    Type: Function Object

    +

    型:機能オブジェクト

    The function to call.

    The callback accepts one parameter and can be defined as follows:

    MyCallback(DataType) { ...
    @@ -35,7 +35,7 @@

    パラメータ

    AddRemove
    -

    Type: Integer

    +

    型:整数

    çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€åˆæœŸå€¤ã¯ 1 ã§ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã®ç•ªå·ã‚’指定ã—ã¦ãã ã•ã„:

    • 1 = 以å‰ã«ç™»éŒ²ã•ã‚ŒãŸã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã®å¾Œã«ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã‚’呼ã³å‡ºã—ã¾ã™ã€‚
    • @@ -59,9 +59,9 @@

      例

      OnClipboardChange ClipChanged
       
       ClipChanged(DataType) {
      -    ToolTip "Clipboard data type: " DataType
      +    ToolTip "Clipboard data type:" DataType
           Sleep 1000
      -    ToolTip  ; Turn off the tip.
      +    ToolTip  ;ãƒãƒƒãƒ—を切る。
       }
      diff --git a/target/docs/lib/OnError.htm b/target/docs/lib/OnError.htm index 994c072af..ba99bb645 100644 --- a/target/docs/lib/OnError.htm +++ b/target/docs/lib/OnError.htm @@ -20,7 +20,7 @@

      パラメータ

      Callback
      -

      Type: Function Object

      +

      型:機能オブジェクト

      The function to call.

      The callback accepts two parameters and can be defined as follows:

      MyCallback(Thrown, Mode) { ...
      @@ -32,15 +32,15 @@

      パラメータ

      対応ã™ã‚‹æƒ…å ±ãŒä¸è¦ãªå ´åˆã€ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã®ãƒ‘ラメータリストã®æœ€å¾Œã‹ã‚‰1ã¤ä»¥ä¸Šã®ãƒ‘ラメータをçœç•¥ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ãŒã€ã“ã®å ´åˆã€MyCallback(Param1, *)ã®ã‚ˆã†ã«ã€æœ€å¾Œã®ãƒ‘ラメータã¨ã—ã¦ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã‚’指定ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚

      The callback can return one of the following values (other values are reserved for future use and should be avoided):

        -
      • 0, "" or no Return: Allow error handling to proceed as normal.
      • -
      • 1: Suppress the default error dialog and any remaining error callbacks.
      • +
      • 0, "" or no Return:エラー処ç†ã‚’通常通り行ã†ã“ã¨ãŒã§ãるよã†ã«ã—ã¾ã™ã€‚
      • +
      • 1:デフォルトã®ã‚¨ãƒ©ãƒ¼ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã¨æ®‹ã‚Šã®ã‚¨ãƒ©ãƒ¼ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã‚’抑制ã—ã¾ã™ã€‚
      • -1: As above, but if Mode (the second parameter) contains the word Return, execution of the current thread is permitted to continue.
      AddRemove
      -

      Type: Integer

      +

      型:整数

      çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€åˆæœŸå€¤ã¯ 1 ã§ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã®ç•ªå·ã‚’指定ã—ã¦ãã ã•ã„:

      • 1 = 以å‰ã«ç™»éŒ²ã•ã‚ŒãŸã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã®å¾Œã«ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã‚’呼ã³å‡ºã—ã¾ã™ã€‚
      • @@ -86,14 +86,14 @@

        例

        i := Integer("cause_error") LogError(exception, mode) { - FileAppend "Error on line " exception.Line ": " exception.Message "`n" + FileAppend "Error on line " exception.Line ":" exception.Message "`n" , "errorlog.txt" return true }
        -

        OnErrorを使用ã—ã¦ã€ä»£æ›¿ã®ã‚¨ãƒ©ãƒ¼å‡¦ç†æ–¹æ³•ã‚’実装ã—ã¾ã™ã€‚Caveat: OnError is ineffective while Try is active.

        +

        OnErrorを使用ã—ã¦ã€ä»£æ›¿ã®ã‚¨ãƒ©ãƒ¼å‡¦ç†æ–¹æ³•ã‚’実装ã—ã¾ã™ã€‚Caveat:TryãŒæœ‰åŠ¹ãªé–“ã¯OnErrorã¯ç„¡åŠ¹ã§ã™ã€‚

         AccumulateErrors()
         {
        @@ -125,7 +125,7 @@ 

        例

        ; Try to print the error to stdout. FileAppend Format("{1} ({2}) : ({3}) {4}`n", e.File, e.Line, e.What, e.Message), "*" if HasProp(e, "extra") - FileAppend " Specifically: " e.Extra "`n", "*" + FileAppend " Specifically:" e.Extra "`n", "*" } errors.Push(e) return -1 ; Continue. @@ -136,22 +136,22 @@

        例

        ; Start accumulating errors in 'err'. local err := AccumulateErrors() - ; Do some things that might fail... +; Do some things that might fail... MonitorGetWorkArea , &left, &top, &right, &bottom width := (right-left)//2, height := bottom-top WinMove left, top, width, height, A_ScriptFullPath WinMove left+width, top, width, height, "AutoHotkey v2 Help" - ; Check if any errors occurred. +; Check if any errors occurred. if err.Count MsgBox err.Count " error(s); last error at line #" err.Last.Line else MsgBox "No errors" - ; Stop is called automatically when the variable goes out of scope, +; Stop is called automatically when the variable goes out of scope, ; since only we have a reference to the object. This causes OnError ; to be called to unregister the callback. - ;err.Stop() +;err.Stop() } ; Call the test function which suppresses and accumulates errors. diff --git a/target/docs/lib/OnExit.htm b/target/docs/lib/OnExit.htm index 8b104ebde..e3e1faa63 100644 --- a/target/docs/lib/OnExit.htm +++ b/target/docs/lib/OnExit.htm @@ -20,7 +20,7 @@

        パラメータ

        Callback
        -

        Type: Function Object

        +

        型:機能オブジェクト

        The function to call.

        The callback accepts two parameters and can be defined as follows:

        MyCallback(ExitReason, ExitCode) { ...
        @@ -35,7 +35,7 @@

        パラメータ

        AddRemove
        -

        Type: Integer

        +

        型:整数

        çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€åˆæœŸå€¤ã¯ 1 ã§ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã®ç•ªå·ã‚’指定ã—ã¦ãã ã•ã„:

        • 1 = 以å‰ã«ç™»éŒ²ã•ã‚ŒãŸã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã®å¾Œã«ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯ã‚’呼ã³å‡ºã—ã¾ã™ã€‚
        • @@ -105,7 +105,7 @@

          例

          スクリプトを終了ã™ã‚‹å‰ã«ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«å•ã„ã‹ã‘ã¾ã™ã€‚To test this example, right-click the tray icon and click Exit.

          -
          Persistent  ; Prevent the script from exiting automatically.
          +
          Persistent; スクリプトãŒè‡ªå‹•çš„ã«çµ‚了ã™ã‚‹ã®ã‚’防ãŽã¾ã™ã€‚
           OnExit ExitFunc
           
           ExitFunc(ExitReason, ExitCode)
          diff --git a/target/docs/lib/OnMessage.htm b/target/docs/lib/OnMessage.htm
          index a3867a0ca..ee191f3fc 100644
          --- a/target/docs/lib/OnMessage.htm
          +++ b/target/docs/lib/OnMessage.htm
          @@ -20,13 +20,13 @@ 

          パラメータ

          MsgNumber
          -

          Type: Integer

          +

          型:整数

          監視ã¾ãŸã¯å•ã„åˆã‚ã›ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®ç•ªå·ã§ã€0ã‹ã‚‰4294967295(0xFFFFFFF)ã®é–“ã§ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。システムメッセージ(ã¤ã¾ã‚Š0x0400以下ã®ã‚‚ã®ï¼‰ã‚’監視ã—ãŸããªã„å ´åˆã¯ã€é¸æŠžã®ä½™åœ°ãŒã‚る範囲ã§4096(0x1000)より大ãã„æ•°å­—ã‚’é¸ã¶ã¨ã‚ˆã„ã§ã—ょã†ã€‚ã“ã‚Œã«ã‚ˆã‚Šã€AutoHotkeyã®ç¾åœ¨ãŠã‚ˆã³å°†æ¥ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§å†…部的ã«ä½¿ç”¨ã•ã‚Œã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã«å¹²æ¸‰ã™ã‚‹å¯èƒ½æ€§ã‚’低減ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          Callback
          -

          Type: Function Object

          +

          型:機能オブジェクト

          The function to call.

          The callback accepts four parameters and can be defined as follows:

          MyCallback(wParam, lParam, msg, hwnd) { ...
          @@ -45,7 +45,7 @@

          パラメータ

          MaxThreads
          -

          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.

          @@ -96,7 +96,7 @@

          CallbackCreate, OnExit, OnClipboardChange, PostMessage, SendMessage, Functions, Windows Messages, Threads, Critical, DllCall

          例

          -

          GUIウィンドウã®ãƒžã‚¦ã‚¹ã‚¯ãƒªãƒƒã‚¯ã‚’監視ã™ã‚‹ã€‚Related topic: ContextMenu event

          +

          GUIウィンドウã®ãƒžã‚¦ã‚¹ã‚¯ãƒªãƒƒã‚¯ã‚’監視ã™ã‚‹ã€‚関連トピックContextMenuイベント

          MyGui := Gui(, "Example Window")
           MyGui.Add("Text",, "Click anywhere in this window.")
           MyGui.Add("Edit", "w200")
          @@ -120,7 +120,7 @@ 

          例

          -

          システムã®ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³/ログオフを検出ã—ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãれを中止ã§ãるよã†ã«ã—ã¾ã™ã€‚Windows Vista以é™ã§ã¯ã€ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³/ログオフをブロックã—ã¦ã„るプログラムを示ã™ãƒ¦ãƒ¼ã‚¶ãƒ¼ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ã‚¤ã‚¹ã‚’表示ã—ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒå¼·åˆ¶çš„ã«ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³/ログオフã§ãるよã†ã«ã—ã¾ã™ã€‚å¤ã„OSã®å ´åˆã€ã‚¹ã‚¯ãƒªãƒ—トã¯ç¢ºèªãƒ—ロンプトを表示ã—ã¾ã™ã€‚Related topic: OnExit

          +

          システムã®ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³/ログオフを検出ã—ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãれを中止ã§ãるよã†ã«ã—ã¾ã™ã€‚Windows Vista以é™ã§ã¯ã€ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³/ログオフをブロックã—ã¦ã„るプログラムを示ã™ãƒ¦ãƒ¼ã‚¶ãƒ¼ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ã‚¤ã‚¹ã‚’表示ã—ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒå¼·åˆ¶çš„ã«ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³/ログオフã§ãるよã†ã«ã—ã¾ã™ã€‚å¤ã„OSã®å ´åˆã€ã‚¹ã‚¯ãƒªãƒ—トã¯ç¢ºèªãƒ—ロンプトを表示ã—ã¾ã™ã€‚関連トピックOnExit

          ; The following DllCall is optional: it tells the OS to shut down this script first (prior to all other applications).
           DllCall("kernel32.dll\SetProcessShutdownParameters", "UInt", 0x4FF, "UInt", 0)
           OnMessage(0x0011, On_WM_QUERYENDSESSION)
          @@ -177,7 +177,7 @@ 

          例

          { ; Since returning quickly is often important, it is better to use ToolTip than ; something like MsgBox that would prevent the callback from finishing: - ToolTip "Message " msg " arrived:`nWPARAM: " wParam "`nLPARAM: " lParam + ToolTip "Message " msg " arrived:`nWPARAM:" wParam "`nLPARAM:" lParam } ; The following could be used inside some other script to run the callback inside the above script: diff --git a/target/docs/lib/Ord.htm b/target/docs/lib/Ord.htm index 6b80013ef..169b4805d 100644 --- a/target/docs/lib/Ord.htm +++ b/target/docs/lib/Ord.htm @@ -20,14 +20,14 @@

          パラメータ

          String
          -

          Type: String

          +

          型:文字列

          åºåˆ—ã®å€¤ã‚’å–å¾—ã™ã‚‹æ–‡å­—列。

          戻り値

          -

          Type: Integer

          +

          型:整数

          ã“ã®é–¢æ•°ã¯ã€Stringã®åºæ•°å€¤ã‚’è¿”ã—ã€StringãŒç©ºã®å ´åˆã¯0ã‚’è¿”ã—ã¾ã™ã€‚StringãŒUnicode補助文字ã§å§‹ã¾ã‚‹ã¨ãã¯ã€å¯¾å¿œã™ã‚‹Unicode文字コード(0x10000ã‹ã‚‰0x10FFFFã®é–“ã®æ•°å€¤ï¼‰ã‚’è¿”ã—ã¾ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€0~0xFF(ANSIã®å ´åˆï¼‰ã¾ãŸã¯0~0xFFFF(Unicodeã®å ´åˆï¼‰ã®ç¯„囲内ã®å€¤ã‚’è¿”ã—ã¾ã™ã€‚詳ã—ãã¯ã€<a0>Unicode vs ANSI</a0>ã‚’ã”覧ãã ã•ã„。

          @@ -35,7 +35,7 @@

          例

          以下ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãƒœãƒƒã‚¯ã‚¹ã¯ã„ãšã‚Œã‚‚116ã¨è¡¨ç¤ºã•ã‚Œã¾ã™ãŒã€ã“ã‚Œã¯æœ€åˆã®æ–‡å­—ã—ã‹è€ƒæ…®ã•ã‚Œã¦ã„ãªã„ãŸã‚ã§ã™ã€‚

          -
          MsgBox Ord("t") 
          +
          MsgBox Ord("t")
           MsgBox Ord("test")
          diff --git a/target/docs/lib/OutputDebug.htm b/target/docs/lib/OutputDebug.htm index 4d20ad4d5..8f03e222e 100644 --- a/target/docs/lib/OutputDebug.htm +++ b/target/docs/lib/OutputDebug.htm @@ -20,7 +20,7 @@

          パラメータ

          Text
          -

          Type: String

          +

          型:文字列

          デãƒãƒƒã‚¬ã«é€ä¿¡ã—ã¦è¡¨ç¤ºã•ã›ã‚‹ãƒ†ã‚­ã‚¹ãƒˆã§ã™ã€‚ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã«ã¯ã€æ”¹è¡Œæ–‡å­—(`n)ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã¾ãŸã€1本ã®é•·ã„ç·šã‚’ã€ç¶™ç¶šéƒ¨ã«ã‚ˆã£ã¦ã„ãã¤ã‹ã®çŸ­ã„ç·šã«åˆ†å‰²ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          @@ -29,13 +29,13 @@

          パラメータ

          備考

          スクリプトã®ãƒ—ロセスã«ãƒ‡ãƒãƒƒã‚¬ãŒãªã„å ´åˆã€ã‚·ã‚¹ãƒ†ãƒ ãƒ‡ãƒãƒƒã‚¬ãŒæ–‡å­—列を表示ã—ã¾ã™ã€‚システムデãƒãƒƒã‚¬ãŒã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã§ãªã„å ´åˆã€ã“ã®æ©Ÿèƒ½ã¯ä½•ã®åŠ¹æžœã‚‚ã‚ã‚Šã¾ã›ã‚“。

          デãƒãƒƒã‚¬ã®ä¸€ä¾‹ã¨ã—ã¦ã€DebugViewãŒã‚ã‚Šã€microsoft.comã§ç„¡å„Ÿé…布ã•ã‚Œã¦ã„ã¾ã™ã€‚

          -

          See also: other debugging methods

          +

          ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:他ã®ãƒ‡ãƒãƒƒã‚°æ–¹æ³•

          FileAppend, continuation sections

          例

          デãƒãƒƒã‚¬ãŒã‚ã‚‹å ´åˆã«æ–‡å­—列をé€ä¿¡ã—ã¦è¡¨ç¤ºã•ã›ã¾ã™ã€‚

          -
          OutputDebug A_Now ': Because the window "' TargetWindowTitle '" did not exist, the process was aborted.'
          +
          OutputDebug A_Now ':Because the window "' TargetWindowTitle '" did not exist, the process was aborted.'
          diff --git a/target/docs/lib/Pause.htm b/target/docs/lib/Pause.htm index 091e8556c..d92eca163 100644 --- a/target/docs/lib/Pause.htm +++ b/target/docs/lib/Pause.htm @@ -22,11 +22,11 @@

          パラメータ

          NewState
          -

          Type: Integer

          +

          型:整数

          çœç•¥ã•ã‚ŒãŸå ´åˆã€ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã¯ä¸€æ™‚åœæ­¢ã•ã‚Œã¾ã™ã€‚ãれ以外ã®ã¨ãã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã®å€¤ã‚’指定ã—ã¾ã™ï¼š

          -

          1 or True: Marks the thread beneath the current thread as paused so that when it resumes, it will finish the function it was running (if any) and then enter a paused state. ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã®ä¸‹ã«ã‚¹ãƒ¬ãƒƒãƒ‰ãŒãªã„å ´åˆã€ã‚¹ã‚¯ãƒªãƒ—ト自体ãŒä¸€æ™‚åœæ­¢ã•ã‚Œã€ã‚¿ã‚¤ãƒžãƒ¼ã®å®Ÿè¡ŒãŒå¦¨ã’られã¾ã™ï¼ˆã“ã®åŠ¹æžœã¯ã€ã‚¹ã‚¯ãƒªãƒ—トã«ã‚¹ãƒ¬ãƒƒãƒ‰ãŒãªã„ã¨ãã«ãƒ¡ãƒ‹ãƒ¥ãƒ¼é …目「スクリプトã®ä¸€æ™‚åœæ­¢ã€ã‚’使用ã—ãŸå ´åˆã¨åŒã˜ã§ã™ï¼‰ã€‚

          -

          0 or False: Unpauses the underlying thread.

          -

          -1: Toggles the pause state of the underlying thread.

          +

          1 ã¾ãŸã¯ True:ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã®ä¸‹ã«ã‚るスレッドを一時åœæ­¢çŠ¶æ…‹ã¨ã—ã¦ãƒžãƒ¼ã‚¯ã—ã€å†é–‹æ™‚ã«å®Ÿè¡Œä¸­ã®é–¢æ•°ãŒã‚ã‚Œã°ãれを終了ã•ã›ã€ä¸€æ™‚åœæ­¢çŠ¶æ…‹ã«å…¥ã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã®ä¸‹ã«ã‚¹ãƒ¬ãƒƒãƒ‰ãŒãªã„å ´åˆã€ã‚¹ã‚¯ãƒªãƒ—ト自体ãŒä¸€æ™‚åœæ­¢ã•ã‚Œã€ã‚¿ã‚¤ãƒžãƒ¼ã®å®Ÿè¡ŒãŒå¦¨ã’られã¾ã™ï¼ˆã“ã®åŠ¹æžœã¯ã€ã‚¹ã‚¯ãƒªãƒ—トã«ã‚¹ãƒ¬ãƒƒãƒ‰ãŒãªã„ã¨ãã«ãƒ¡ãƒ‹ãƒ¥ãƒ¼é …目「スクリプトã®ä¸€æ™‚åœæ­¢ã€ã‚’使用ã—ãŸå ´åˆã¨åŒã˜ã§ã™ï¼‰ã€‚

          +

          0 ã¾ãŸã¯ False:基礎ã¨ãªã‚‹ã‚¹ãƒ¬ãƒƒãƒ‰ã®ä¸€æ™‚åœæ­¢ã‚’解除ã—ã¾ã™ã€‚

          +

          -1:基礎ã¨ãªã‚‹ã‚¹ãƒ¬ãƒƒãƒ‰ã®ä¸€æ™‚åœæ­¢çŠ¶æ…‹ã‚’トグルã—ã¾ã™ã€‚

          diff --git a/target/docs/lib/Persistent.htm b/target/docs/lib/Persistent.htm index 23743c251..874e05d82 100644 --- a/target/docs/lib/Persistent.htm +++ b/target/docs/lib/Persistent.htm @@ -20,7 +20,7 @@

          パラメータ

          Persist
          -

          Type: Boolean

          +

          型:論ç†å€¤

          çœç•¥ã—ãŸã¨ãã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§Trueã«ãªã‚Šã¾ã™ã€‚

          If true, the script will be kept running after all threads have exited, even if none of the other conditions for keeping the script running are met.

          If false, the default behaviour is restored.

          @@ -28,7 +28,7 @@

          パラメータ

          戻り値

          -

          Type: Integer (boolean)

          +

          型:整数(ブーリアン)

          This function returns the previous setting; either 0 (false) or 1 (true).

          備考

          diff --git a/target/docs/lib/PixelGetColor.htm b/target/docs/lib/PixelGetColor.htm index 7f4836715..45788c40d 100644 --- a/target/docs/lib/PixelGetColor.htm +++ b/target/docs/lib/PixelGetColor.htm @@ -20,22 +20,22 @@

          パラメータ

          X, Y
          -

          Type: Integer

          +

          型:整数

          画素㮠X 座標㨠Y 座標を指定ã—ã¾ã™ã€‚座標ã¯ã€CoordMode関数を使用ã—ã¦å¤‰æ›´ã—ãŸå ´åˆã‚’除ã„ã¦ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ウィンドウã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆé ˜åŸŸã‚’基準ã«ã—ã¦ã„ã¾ã™ã€‚

          Mode
          -

          Type: String

          +

          型:文字列

          If blank or omitted, the pixel is retrieved using the normal method. Otherwise, specify one or more of the following words. 複数ã®å˜èªžãŒã‚ã‚‹å ´åˆã¯ã€ãã‚Œãžã‚Œã‚’スペースã§åŒºåˆ‡ã£ã¦ãã ã•ã„(例:"Alt Slow")。

          Alt: Uses an alternate method to retrieve the color, which should be used when the normal method produces invalid or inaccurate colors for a particular type of window. This method is about 10 % slower than the normal method.

          -

          Slow: Uses a more elaborate method to retrieve the color, which may work in certain full-screen applications when the other methods fail. ã“ã®æ–¹æ³•ã¯ã€é€šå¸¸ã®æ–¹æ³•ã¨æ¯”較ã—ã¦ç´„3å€ã®é€Ÿåº¦ãŒã‹ã‹ã‚Šã¾ã™ã€‚Note: Slow takes precedence over Alt, so there is no need to specify Alt in this case.

          +

          Slow: Uses a more elaborate method to retrieve the color, which may work in certain full-screen applications when the other methods fail. ã“ã®æ–¹æ³•ã¯ã€é€šå¸¸ã®æ–¹æ³•ã¨æ¯”較ã—ã¦ç´„3å€ã®é€Ÿåº¦ãŒã‹ã‹ã‚Šã¾ã™ã€‚注:Slow㯠Altより優先ã•ã‚Œã‚‹ã®ã§ã€ã“ã®å ´åˆã¯Altを指定ã™ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。

          戻り値

          -

          Type: String

          +

          型:文字列

          画素ã®RGB(赤緑é’)色を16進数ã§è¡¨ã™æ–‡å­—列を返ã™é–¢æ•°ã§ã™ã€‚例ãˆã°ã€ç´«ã¯é’ã¨èµ¤ã®å¼·åº¦ãŒ0x80(128)ã€ç·‘ã®å¼·åº¦ãŒ0x00(0)ã§ã‚ã‚‹ãŸã‚ã€0x800080ã¨å®šç¾©ã•ã‚Œã¦ã„ã¾ã™ã€‚

          エラー処ç†

          diff --git a/target/docs/lib/PixelSearch.htm b/target/docs/lib/PixelSearch.htm index 2359bea96..a5fe7b43a 100644 --- a/target/docs/lib/PixelSearch.htm +++ b/target/docs/lib/PixelSearch.htm @@ -20,38 +20,38 @@

          パラメータ

          &OutputVarX, &OutputVarY
          -

          Type: VarRef

          +

          型:VarRef

          ColorIDã«ä¸€è‡´ã™ã‚‹æœ€åˆã®ãƒ”クセル㮠X 座標㨠Y 座標を格ç´ã™ã‚‹å‡ºåŠ›å¤‰æ•°ã¸ã®å‚照(一致ã—ãªã„å ´åˆã€å¤‰æ•°ã¯ç©ºç™½ã«ã•ã‚Œã¾ã™ï¼‰ã€‚Coordinates are relative to the active window's client area unless CoordMode was used to change that.

          X1, Y1
          -

          Type: Integer

          +

          型:整数

          検索ã™ã‚‹çŸ©å½¢ã®é–‹å§‹è§’ã®Xã€Y座標。座標ã¯ã€CoordMode関数を使用ã—ã¦å¤‰æ›´ã—ãŸå ´åˆã‚’除ã„ã¦ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ウィンドウã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆé ˜åŸŸã‚’基準ã«ã—ã¦ã„ã¾ã™ã€‚

          X2, Y2
          -

          Type: Integer

          +

          型:整数

          検索ã™ã‚‹çŸ©å½¢ã®çµ‚了角ã®Xã€Y座標。座標ã¯ã€CoordMode関数を使用ã—ã¦å¤‰æ›´ã—ãŸå ´åˆã‚’除ã„ã¦ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ウィンドウã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆé ˜åŸŸã‚’基準ã«ã—ã¦ã„ã¾ã™ã€‚

          ColorID
          -

          Type: Integer

          -

          検索ã™ã‚‹ã‚«ãƒ©ãƒ¼IDを指定ã—ã¾ã™ã€‚This is typically expressed as a hexadecimal number in Red-Green-Blue (RGB) format. For example: 0x9d6346. カラーIDã¯ã€Window Spy(トレイメニューã‹ã‚‰ã‚¢ã‚¯ã‚»ã‚¹å¯èƒ½ï¼‰ã¾ãŸã¯PixelGetColorを使用ã—ã¦æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          +

          型:整数

          +

          検索ã™ã‚‹ã‚«ãƒ©ãƒ¼IDを指定ã—ã¾ã™ã€‚This is typically expressed as a hexadecimal number in Red-Green-Blue (RGB) format. 事例:0x9d6346. カラーIDã¯ã€Window Spy(トレイメニューã‹ã‚‰ã‚¢ã‚¯ã‚»ã‚¹å¯èƒ½ï¼‰ã¾ãŸã¯PixelGetColorを使用ã—ã¦æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          Variation
          -

          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. For example, if 2 is specified and ColorID is 0x444444, any color from 0x424242 to 0x464646 will be considered a match. ã“ã®ãƒ‘ラメータã¯ã€æ±‚ã‚る色ãŒå¸¸ã«å…¨ãåŒã˜è‰²åˆã„ã§ãªã„å ´åˆã«æœ‰åŠ¹ã§ã™ã€‚255色ã®ãƒãƒªã‚¨ãƒ¼ã‚·ãƒ§ãƒ³ã‚’指定ã—ãŸå ´åˆã€ã™ã¹ã¦ã®è‰²ãŒä¸€è‡´ã—ã¾ã™ã€‚

          戻り値

          -

          Type: Integer (boolean)

          +

          型:整数(ブーリアン)

          ã“ã®é–¢æ•°ã¯ã€æŒ‡å®šã•ã‚ŒãŸé ˜åŸŸã§è‰²ãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã¯ 1(真)をã€è¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸå ´åˆã¯ 0(å½ï¼‰ã‚’è¿”ã—ã¾ã™ã€‚

          エラー処ç†

          diff --git a/target/docs/lib/PostMessage.htm b/target/docs/lib/PostMessage.htm index 7990d0ee0..df3dea5f1 100644 --- a/target/docs/lib/PostMessage.htm +++ b/target/docs/lib/PostMessage.htm @@ -20,13 +20,13 @@

          パラメータ

          MsgNumber
          -

          Type: Integer

          +

          型:整数

          é€ä¿¡ã™ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ç•ªå·ã§ã™ã€‚メッセージリストをå‚ç…§ã—ã¦ç•ªå·ã‚’決定ã—ã¦ãã ã•ã„。

          wParam, lParam
          -

          Type: Integer

          +

          型:整数

          If either is omitted, 0 will be sent. Otherwise, specify the first and second component of the message.

          å„パラメータã¯æ•´æ•°å€¤ã§ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

          AutoHotkeyã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒ32ビットã®å ´åˆã€ãƒ‘ラメータã®ä¸‹ä½32ビットã®ã¿ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ã¤ã¾ã‚Šã€ç¬¦å·ä»˜ã値ã®å ´åˆã¯-2147483648~2147483647(-0x80000000~0x7FFFFFFF)ã€ç¬¦å·ãªã—値ã®å ´åˆã¯0~4294967295(0xFFFFFF)範囲外ã®å ´åˆã¯å€¤ãŒåˆ‡ã‚Šæ¨ã¦ã‚‰ã‚Œã¾ã™ã€‚AutoHotkeyã¨ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ä¸¡æ–¹ãŒ64ビットã§ã‚ã‚‹å ´åˆã€AutoHotkeyãŒã‚µãƒãƒ¼ãƒˆã™ã‚‹ä»»æ„ã®æ•´æ•°å€¤ã‚’使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          @@ -34,14 +34,14 @@

          パラメータ

          Control
          -

          Type: String, Integer or Object

          +

          型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

          If omitted, the message will be posted directly to the target window rather than one of its controls. Otherwise, specify the control's ClassNN, text or HWND, or an object with a Hwnd property. 詳ã—ãã¯åˆ¶å¾¡ãƒ‘ラメータをã”覧ãã ã•ã„。

          本パラメータã§HWND(整数ã¾ãŸã¯ã‚ªãƒ–ジェクト)を指定ã™ã‚‹å ´åˆã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ï¼ˆå­ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ï¼‰ã®HWNDã§ã‚ã‚‹ã“ã¨ã¯å¿…é ˆã§ã¯ã‚ã‚Šã¾ã›ã‚“。ã¤ã¾ã‚Šã€ãƒˆãƒƒãƒ—レベルウィンドウã®HWNDã«ã‚‚ãªã‚Šå¾—ã‚‹ã®ã§ã™ã€‚

          WinTitleã€WinTextã€ExcludeTitleã€ExcludeText
          -

          Type: String, Integer or Object

          +

          型:文字列ã€æ•´æ•°ã¾ãŸã¯ã‚ªãƒ–ジェクト

          ã‚‚ã—ã“れらã®é …ç›®ãŒæœªè¨­å®šã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€æœ€å¾Œã«è¦‹ã¤ã‹ã£ãŸã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãã†ã§ãªã„ã¨ãã¯ã€WinTitle㫠ウィンドウタイトルã¾ãŸã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’識別ã™ã‚‹ãŸã‚ã®ä»–ã®åŸºæº–ã€ãŠã‚ˆã³/ã¾ãŸã¯WinTextã«ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®å˜ä¸€ã®ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ ã‹ã‚‰ã®éƒ¨åˆ†æ–‡å­—列(付属ã®Window Spyユーティリティを使ãˆã°ã‚ã‹ã‚Šã¾ã™ï¼‰ã‚’指定ã—ã¾ã™ã€‚

          ExcludeTitleã¨ExcludeTextã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã§é™¤å¤–ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚指定ã®ä»•æ–¹ã¯WinTitleã¨WinTextã«ä¼¼ã¦ã„ã¾ã™ãŒã€ExcludeTitleã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã®åŸºæº–(ウィンドウクラスやHWNDãªã©ï¼‰ã‚’èªè­˜ã—ã¾ã›ã‚“。

          ウィンドウã®ã‚¿ã‚¤ãƒˆãƒ«ã¨ãƒ†ã‚­ã‚¹ãƒˆã¯å¤§æ–‡å­—ã¨å°æ–‡å­—を区別ã—ã¾ã™ã€‚DetectHiddenWindows関数 㨠DetectHiddenText関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯éžè¡¨ç¤ºã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯æ¤œå‡ºã•ã‚Œãšã€éžè¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¯æ¤œå‡ºã•ã‚Œã¾ã™ã€‚SetTitleMatchMode関数ã§å¤‰æ›´ã—ãªã„é™ã‚Šã€åˆæœŸè¨­å®šã§ã¯ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ãã®ä¸­ã®ã©ã“ã‹ã«WinTitleã¾ãŸã¯ExcludeTitleã‚’å«ã‚“ã§ã„ã‚Œã°ä¸€è‡´ã—ã¾ã™ã€‚

          diff --git a/target/docs/lib/ProcessClose.htm b/target/docs/lib/ProcessClose.htm index 2f46f7f03..020110063 100644 --- a/target/docs/lib/ProcessClose.htm +++ b/target/docs/lib/ProcessClose.htm @@ -21,7 +21,7 @@

          パラメータ

          PIDOrName
          -

          Type: Integer or String

          +

          型:整数ã¾ãŸã¯æ–‡å­—列

          数字(PID)ã¾ãŸã¯ãƒ—ロセスåã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          PID:プロセスID。ã“ã‚Œã¯ã€ã‚る特定ã®ãƒ—ロセスを一æ„ã«è­˜åˆ¥ã™ã‚‹ãŸã‚ã®ç•ªå·ã§ã™ã€‚(ã“ã®ç•ªå·ã¯ã€ãã®ãƒ—ロセスãŒç”Ÿãã¦ã„ã‚‹é–“ã ã‘有効ã§ã™ï¼‰ã€‚æ–°ã—ãç«‹ã¡ä¸Šã’ãŸãƒ—ロセスã®PIDã¯ã€Run関数ã§æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚åŒæ§˜ã«ã€WinGetPIDã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®PIDを知るã“ã¨ãŒã§ãã¾ã™ã€‚ProcessExistã¯ã€PIDを発見ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚

          åå‰ï¼šãƒ—ロセスã®åå‰ã¯é€šå¸¸ã€notepad.exeã‚„winword.exeãªã©ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒã˜ã§ã™ï¼ˆãƒ‘スãªã—)。一ã¤ã®åå‰ãŒè¤‡æ•°ã®å®Ÿè¡Œä¸­ã®ãƒ—ロセスã«ä¸€è‡´ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æœ€åˆã®ãƒ—ロセスã®ã¿ãŒæ“作ã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚åå‰ã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。

          @@ -29,7 +29,7 @@

          パラメータ

          戻り値

          -

          Type: Integer

          +

          型:整数

          説明: 指定ã•ã‚ŒãŸãƒ—ロセスã®ãƒ—ロセスID(PID)を返ã—ã¾ã™ã€‚一致ã™ã‚‹ãƒ—ロセスãŒè¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸã‚Šã€æ“作ã§ããªã‹ã£ãŸã‚Šã—ãŸå ´åˆã¯ã€0ã‚’è¿”ã—ã¾ã™ã€‚

          備考

          diff --git a/target/docs/lib/ProcessExist.htm b/target/docs/lib/ProcessExist.htm index 46d76b290..8eac292d7 100644 --- a/target/docs/lib/ProcessExist.htm +++ b/target/docs/lib/ProcessExist.htm @@ -21,7 +21,7 @@

          パラメータ

          PIDOrName
          -

          Type: Integer or String

          +

          型:整数ã¾ãŸã¯æ–‡å­—列

          空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ã‚¹ã‚¯ãƒªãƒ—ト自身ã®ãƒ—ロセスãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ•°å­—(PID)ã¾ãŸã¯ãƒ—ロセスåã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          PID:プロセスID。ã“ã‚Œã¯ã€ã‚る特定ã®ãƒ—ロセスを一æ„ã«è­˜åˆ¥ã™ã‚‹ãŸã‚ã®ç•ªå·ã§ã™ã€‚(ã“ã®ç•ªå·ã¯ã€ãã®ãƒ—ロセスãŒç”Ÿãã¦ã„ã‚‹é–“ã ã‘有効ã§ã™ï¼‰ã€‚æ–°ã—ãç«‹ã¡ä¸Šã’ãŸãƒ—ロセスã®PIDã¯ã€Run関数ã§æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚åŒæ§˜ã«ã€WinGetPIDã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®PIDを知るã“ã¨ãŒã§ãã¾ã™ã€‚

          åå‰ï¼šãƒ—ロセスã®åå‰ã¯é€šå¸¸ã€notepad.exeã‚„winword.exeãªã©ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒã˜ã§ã™ï¼ˆãƒ‘スãªã—)。一ã¤ã®åå‰ãŒè¤‡æ•°ã®å®Ÿè¡Œä¸­ã®ãƒ—ロセスã«ä¸€è‡´ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æœ€åˆã®ãƒ—ロセスã®ã¿ãŒæ“作ã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚åå‰ã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。

          @@ -29,7 +29,7 @@

          パラメータ

          戻り値

          -

          Type: Integer

          +

          型:整数

          説明: 指定ã•ã‚ŒãŸãƒ—ロセスã®ãƒ—ロセスID(PID)を返ã—ã¾ã™ã€‚一致ã™ã‚‹å‡¦ç†ãŒãªã„å ´åˆã¯ã€0ãŒè¿”ã•ã‚Œã¾ã™ã€‚

          diff --git a/target/docs/lib/ProcessGetName.htm b/target/docs/lib/ProcessGetName.htm index 88de3413c..bed9d4274 100644 --- a/target/docs/lib/ProcessGetName.htm +++ b/target/docs/lib/ProcessGetName.htm @@ -22,7 +22,7 @@

          パラメータ

          PIDOrName
          -

          Type: Integer or String

          +

          型:整数ã¾ãŸã¯æ–‡å­—列

          空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ã‚¹ã‚¯ãƒªãƒ—ト自身ã®ãƒ—ロセスãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ•°å­—(PID)ã¾ãŸã¯ãƒ—ロセスåã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          PID:プロセスID。ã“ã‚Œã¯ã€ã‚る特定ã®ãƒ—ロセスを一æ„ã«è­˜åˆ¥ã™ã‚‹ãŸã‚ã®ç•ªå·ã§ã™ã€‚(ã“ã®ç•ªå·ã¯ã€ãã®ãƒ—ロセスãŒç”Ÿãã¦ã„ã‚‹é–“ã ã‘有効ã§ã™ï¼‰ã€‚æ–°ã—ãç«‹ã¡ä¸Šã’ãŸãƒ—ロセスã®PIDã¯ã€Run関数ã§æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚åŒæ§˜ã«ã€WinGetPIDã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®PIDを知るã“ã¨ãŒã§ãã¾ã™ã€‚ProcessExistã¯ã€PIDを発見ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚

          åå‰ï¼šãƒ—ロセスã®åå‰ã¯é€šå¸¸ã€notepad.exeã‚„winword.exeãªã©ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒã˜ã§ã™ï¼ˆãƒ‘スãªã—)。一ã¤ã®åå‰ãŒè¤‡æ•°ã®å®Ÿè¡Œä¸­ã®ãƒ—ロセスã«ä¸€è‡´ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æœ€åˆã®ãƒ—ロセスã®ã¿ãŒæ“作ã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚åå‰ã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。

          @@ -30,9 +30,9 @@

          パラメータ

          戻り値

          -

          Type: String

          -

          ProcessGetName ã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒ—ロセスã®åå‰ã‚’è¿”ã—ã¾ã™ã€‚For example: notepad.exe.

          -

          ProcessGetPath ã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒ—ロセスã®ãƒ‘スを返ã—ã¾ã™ã€‚For example: C:\Windows\notepad.exe.

          +

          型:文字列

          +

          ProcessGetName ã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒ—ロセスã®åå‰ã‚’è¿”ã—ã¾ã™ã€‚事例:notepad.exe.

          +

          ProcessGetPath ã¯ã€æŒ‡å®šã•ã‚ŒãŸãƒ—ロセスã®ãƒ‘スを返ã—ã¾ã™ã€‚事例:C:\Windows\notepad.exe.

          エラー処ç†

          プロセスãŒè¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸå ´åˆã€TargetErrorãŒã‚¹ãƒ­ãƒ¼ã•ã‚Œã¾ã™ã€‚

          @@ -49,8 +49,8 @@

          例

          name := ProcessGetName(pid) path := ProcessGetPath(pid) } -MsgBox "Name: " (name ??"could not be retrieved") "`n" - . "Path: " (path ??"could not be retrieved") +MsgBox "Name:" (name ?? "could not be retrieved") "`n" + . "Path:" (path ?? "could not be retrieved")
          diff --git a/target/docs/lib/ProcessGetParent.htm b/target/docs/lib/ProcessGetParent.htm index 5125e3666..5a1637b65 100644 --- a/target/docs/lib/ProcessGetParent.htm +++ b/target/docs/lib/ProcessGetParent.htm @@ -21,7 +21,7 @@

          パラメータ

          PIDOrName
          -

          Type: Integer or String

          +

          型:整数ã¾ãŸã¯æ–‡å­—列

          空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ã‚¹ã‚¯ãƒªãƒ—ト自身ã®ãƒ—ロセスãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ•°å­—(PID)ã¾ãŸã¯ãƒ—ロセスåã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          PID:プロセスID。ã“ã‚Œã¯ã€ã‚る特定ã®ãƒ—ロセスを一æ„ã«è­˜åˆ¥ã™ã‚‹ãŸã‚ã®ç•ªå·ã§ã™ã€‚(ã“ã®ç•ªå·ã¯ã€ãã®ãƒ—ロセスãŒç”Ÿãã¦ã„ã‚‹é–“ã ã‘有効ã§ã™ï¼‰ã€‚æ–°ã—ãç«‹ã¡ä¸Šã’ãŸãƒ—ロセスã®PIDã¯ã€Run関数ã§æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚åŒæ§˜ã«ã€WinGetPIDã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®PIDを知るã“ã¨ãŒã§ãã¾ã™ã€‚ProcessExistã¯ã€PIDを発見ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚

          åå‰ï¼šãƒ—ロセスã®åå‰ã¯é€šå¸¸ã€notepad.exeã‚„winword.exeãªã©ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒã˜ã§ã™ï¼ˆãƒ‘スãªã—)。一ã¤ã®åå‰ãŒè¤‡æ•°ã®å®Ÿè¡Œä¸­ã®ãƒ—ロセスã«ä¸€è‡´ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æœ€åˆã®ãƒ—ロセスã®ã¿ãŒæ“作ã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚åå‰ã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。

          @@ -29,7 +29,7 @@

          パラメータ

          戻り値

          -

          Type: Integer

          +

          型:整数

          説明: 指定ã•ã‚ŒãŸãƒ—ロセスを作æˆã—ãŸãƒ—ロセスã®ãƒ—ロセス ID(PID)を返ã—ã¾ã™ã€‚

          エラー処ç†

          diff --git a/target/docs/lib/ProcessSetPriority.htm b/target/docs/lib/ProcessSetPriority.htm index bde56f39c..148b82c9d 100644 --- a/target/docs/lib/ProcessSetPriority.htm +++ b/target/docs/lib/ProcessSetPriority.htm @@ -21,7 +21,7 @@

          パラメータ

          Level
          -

          Type: String

          +

          型:文字列

          次ã®å˜èªžã¾ãŸã¯æ–‡å­—ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          • Low (or L)
          • @@ -35,7 +35,7 @@

            パラメータ

          PIDOrName
          -

          Type: Integer or String

          +

          型:整数ã¾ãŸã¯æ–‡å­—列

          空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸå ´åˆã€ã‚¹ã‚¯ãƒªãƒ—ト自身ã®ãƒ—ロセスãŒä½¿ç”¨ã•ã‚Œã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€æ•°å­—(PID)ã¾ãŸã¯ãƒ—ロセスåã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          PID:プロセスID。ã“ã‚Œã¯ã€ã‚る特定ã®ãƒ—ロセスを一æ„ã«è­˜åˆ¥ã™ã‚‹ãŸã‚ã®ç•ªå·ã§ã™ã€‚(ã“ã®ç•ªå·ã¯ã€ãã®ãƒ—ロセスãŒç”Ÿãã¦ã„ã‚‹é–“ã ã‘有効ã§ã™ï¼‰ã€‚æ–°ã—ãç«‹ã¡ä¸Šã’ãŸãƒ—ロセスã®PIDã¯ã€Run関数ã§æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚åŒæ§˜ã«ã€WinGetPIDã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®PIDを知るã“ã¨ãŒã§ãã¾ã™ã€‚ProcessExistã¯ã€PIDを発見ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚

          åå‰ï¼šãƒ—ロセスã®åå‰ã¯é€šå¸¸ã€notepad.exeã‚„winword.exeãªã©ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒã˜ã§ã™ï¼ˆãƒ‘スãªã—)。一ã¤ã®åå‰ãŒè¤‡æ•°ã®å®Ÿè¡Œä¸­ã®ãƒ—ロセスã«ä¸€è‡´ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æœ€åˆã®ãƒ—ロセスã®ã¿ãŒæ“作ã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚åå‰ã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。

          @@ -43,7 +43,7 @@

          パラメータ

          戻り値

          -

          Type: Integer

          +

          型:整数

          説明: 指定ã•ã‚ŒãŸãƒ—ロセスã®ãƒ—ロセスID(PID)を返ã—ã¾ã™ã€‚一致ã™ã‚‹ãƒ—ロセスãŒè¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸã‚Šã€æ“作ã§ããªã‹ã£ãŸã‚Šã—ãŸå ´åˆã¯ã€0ã‚’è¿”ã—ã¾ã™ã€‚

          備考

          @@ -63,7 +63,7 @@

          例

          ホットキーを押ã—ã¦ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ウィンドウã®ãƒ—ロセスã®å„ªå…ˆé †ä½ã‚’変更ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          -
          #z:: ; Win+Z hotkey
          +
          #z:: ; Win+Z 
           {
               active_pid := WinGetPID("A")
               active_title := WinGetTitle("A")
          @@ -72,7 +72,7 @@ 

          例

          ( ESCAPEキーを押ã—ã¦ã‚­ãƒ£ãƒ³ã‚»ãƒ«ã™ã‚‹ã‹ã€ãƒ€ãƒ–ルクリックã§æ–°ã—ㄠ優先順ä½ã¯ã€æ¬¡ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§è¨­å®šã—ã¾ã™ï¼š - )") +)") MyGui.Add("Text", "wp", active_title) LB := MyGui.Add("ListBox", "r5 Choose1", ["Normal","High","Low","BelowNormal","AboveNormal"]) LB.OnEvent("DoubleClick", SetPriority) @@ -81,14 +81,14 @@

          例

          MyGui.OnEvent("Close", (*) => MyGui.Destroy()) MyGui.Show() - SetPriority(*) +SetPriority(*) { new_prio := LB.Text MyGui.Destroy() if ProcessSetPriority(new_prio, active_pid) - MsgBox "Success: Its priority was changed to " new_prio + MsgBox "Success:Its priority was changed to " new_prio else - MsgBox "Error: Its priority could not be changed to " new_prio + MsgBox "Error:Its priority could not be changed to " new_prio } }
          diff --git a/target/docs/lib/ProcessWait.htm b/target/docs/lib/ProcessWait.htm index 57d4bd80d..96f2ddf41 100644 --- a/target/docs/lib/ProcessWait.htm +++ b/target/docs/lib/ProcessWait.htm @@ -21,20 +21,20 @@

          パラメータ

          PIDOrName
          -

          Type: Integer or String

          +

          型:整数ã¾ãŸã¯æ–‡å­—列

          数字(PID)ã¾ãŸã¯ãƒ—ロセスåã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          PID:プロセスID。ã“ã‚Œã¯ã€ã‚る特定ã®ãƒ—ロセスを一æ„ã«è­˜åˆ¥ã™ã‚‹ãŸã‚ã®ç•ªå·ã§ã™ã€‚(ã“ã®ç•ªå·ã¯ã€ãã®ãƒ—ロセスãŒç”Ÿãã¦ã„ã‚‹é–“ã ã‘有効ã§ã™ï¼‰ã€‚æ–°ã—ãç«‹ã¡ä¸Šã’ãŸãƒ—ロセスã®PIDã¯ã€Run関数ã§æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚åŒæ§˜ã«ã€WinGetPIDã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®PIDを知るã“ã¨ãŒã§ãã¾ã™ã€‚ProcessExistã¯ã€PIDを発見ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚

          åå‰ï¼šãƒ—ロセスã®åå‰ã¯é€šå¸¸ã€notepad.exeã‚„winword.exeãªã©ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒã˜ã§ã™ï¼ˆãƒ‘スãªã—)。一ã¤ã®åå‰ãŒè¤‡æ•°ã®å®Ÿè¡Œä¸­ã®ãƒ—ロセスã«ä¸€è‡´ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æœ€åˆã®ãƒ—ロセスã®ã¿ãŒæ“作ã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚åå‰ã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。

          タイムアウト
          -

          Type: Integer or Float

          +

          型:整数ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°

          çœç•¥ã—ãŸå ´åˆã¯ã€ç„¡æœŸé™ã«å¾…æ©Ÿã—ã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ã‚¿ã‚¤ãƒ ã‚¢ã‚¦ãƒˆã¾ã§ã®å¾…ã¡æ™‚間を秒数(å°æ•°ç‚¹ä»¥ä¸‹ï¼‰ã§æŒ‡å®šã—ã¾ã™ã€‚

          戻り値

          -

          Type: Integer

          +

          型:整数

          指定ã•ã‚ŒãŸãƒ—ロセスãŒç™ºè¦‹ã•ã‚ŒãŸå ´åˆã€ãã®ãƒ—ロセスã®ãƒ—ロセス ID(PID)を返ã™ã€‚関数ãŒã‚¿ã‚¤ãƒ ã‚¢ã‚¦ãƒˆã—ãŸå ´åˆã¯ã€0ãŒè¿”ã•ã‚Œã¾ã™ã€‚

          備考

          @@ -53,7 +53,7 @@

          例

          MsgBox "The specified process did not appear within 5.5 seconds." return } -; Otherwise: +; ãれ以外ã®å ´åˆã€‚ MsgBox "A matching process has appeared (Process ID is " NewPID ")." ProcessSetPriority "Low", NewPID ProcessSetPriority "High" ; Have the script set itself to high priority. diff --git a/target/docs/lib/ProcessWaitClose.htm b/target/docs/lib/ProcessWaitClose.htm index e79904d00..ec8e3eef8 100644 --- a/target/docs/lib/ProcessWaitClose.htm +++ b/target/docs/lib/ProcessWaitClose.htm @@ -21,20 +21,20 @@

          パラメータ

          PIDOrName
          -

          Type: Integer or String

          +

          型:整数ã¾ãŸã¯æ–‡å­—列

          数字(PID)ã¾ãŸã¯ãƒ—ロセスåã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ï¼š

          PID:プロセスID。ã“ã‚Œã¯ã€ã‚る特定ã®ãƒ—ロセスを一æ„ã«è­˜åˆ¥ã™ã‚‹ãŸã‚ã®ç•ªå·ã§ã™ã€‚(ã“ã®ç•ªå·ã¯ã€ãã®ãƒ—ロセスãŒç”Ÿãã¦ã„ã‚‹é–“ã ã‘有効ã§ã™ï¼‰ã€‚æ–°ã—ãç«‹ã¡ä¸Šã’ãŸãƒ—ロセスã®PIDã¯ã€Run関数ã§æ±ºå®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚åŒæ§˜ã«ã€WinGetPIDã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®PIDを知るã“ã¨ãŒã§ãã¾ã™ã€‚ProcessExistã¯ã€PIDを発見ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚

          åå‰ï¼šãƒ—ロセスã®åå‰ã¯é€šå¸¸ã€notepad.exeã‚„winword.exeãªã©ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒã˜ã§ã™ï¼ˆãƒ‘スãªã—)。一ã¤ã®åå‰ãŒè¤‡æ•°ã®å®Ÿè¡Œä¸­ã®ãƒ—ロセスã«ä¸€è‡´ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€æœ€åˆã®ãƒ—ロセスã®ã¿ãŒæ“作ã•ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚åå‰ã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•ã‚Œã¾ã›ã‚“。

          タイムアウト
          -

          Type: Integer or Float

          +

          型:整数ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°

          çœç•¥ã—ãŸå ´åˆã¯ã€ç„¡æœŸé™ã«å¾…æ©Ÿã—ã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ã‚¿ã‚¤ãƒ ã‚¢ã‚¦ãƒˆã¾ã§ã®å¾…ã¡æ™‚間を秒数(å°æ•°ç‚¹ä»¥ä¸‹ï¼‰ã§æŒ‡å®šã—ã¾ã™ã€‚

          戻り値

          -

          Type: Integer

          +

          型:整数

          一致ã™ã‚‹ã™ã¹ã¦ã®ãƒ—ロセスãŒçµ‚了ã—ã¦ã„ã‚‹å ´åˆã¯ã€0ãŒè¿”ã•ã‚Œã¾ã™ã€‚ã“ã®é–¢æ•°ãŒã‚¿ã‚¤ãƒ ã‚¢ã‚¦ãƒˆã—ãŸå ´åˆã€ã¾ã å­˜åœ¨ã™ã‚‹æœ€åˆã®ãƒžãƒƒãƒãƒ³ã‚°ãƒ—ロセスã®ãƒ—ロセスID(PID)を返ã—ã¾ã™ã€‚

          備考

          diff --git a/target/docs/lib/Random.htm b/target/docs/lib/Random.htm index a0c39bbae..d29800ab5 100644 --- a/target/docs/lib/Random.htm +++ b/target/docs/lib/Random.htm @@ -20,7 +20,7 @@

          パラメータ

          A, B
          -

          Type: Integer or Float

          +

          型:整数ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°

          両方ãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯0.0~1.0ã¨ãªã‚‹ã€‚パラメータを1ã¤ã ã‘指定ã—ãŸå ´åˆã€ã‚‚ã†1ã¤ã®ãƒ‘ラメータã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯0ã«ãªã‚Šã¾ã™ã€‚Otherwise, specify the minimum and maximum number to be generated, in either order.

          æ•´æ•°ã®å ´åˆã€æœ€å°å€¤ã¨æœ€å¤§å€¤ã®ä¸¡æ–¹ãŒã€è¿”ã•ã‚Œã‚‹å¯èƒ½æ€§ã®ã‚る数値ã®é›†åˆã«å«ã¾ã‚Œã¾ã™ã€‚64ビット整数ã®å…¨ç¯„囲をサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚

          浮動å°æ•°ç‚¹æ•°ã®å ´åˆã€ä¸€èˆ¬çš„ã«æœ€å¤§å€¤ã¯é™¤å¤–ã•ã‚Œã¾ã™ã€‚

          @@ -29,7 +29,7 @@

          パラメータ

          戻り値

          -

          Type: Integer or Float

          +

          型:整数ã¾ãŸã¯æµ®å‹•å°æ•°ç‚¹æ•°

          ã“ã®é–¢æ•°ã¯ã€æ“¬ä¼¼ä¹±æ•°ï¼ˆæœ¬å½“ã®ä¹±æ•°ã‚’模ã—ãŸæ•°å€¤ã§ã‚ã‚‹ãŒã€å®Ÿéš›ã«ã¯æ¬¡ã®æ•°å€¤ã®æ±ºå®šãƒ»æŽ¨æ¸¬ã‚’極ã‚ã¦å›°é›£ã«ã™ã‚‹è¤‡é›‘ãªè¨ˆç®—å¼ã«åŸºã¥ã„ãŸæ•°å€¤ï¼‰ã‚’è¿”ã™ã‚‚ã®ã§ã‚る。

          Aã¾ãŸã¯Bã®ã©ã¡ã‚‰ã‹ãŒæµ®å‹•å°æ•°ç‚¹æ•°ã§ã‚ã‚‹ã‹ã€ã¾ãŸã¯ä¸¡æ–¹ãŒçœç•¥ã•ã‚ŒãŸå ´åˆã€çµæžœã¯æµ®å‹•å°æ•°ç‚¹æ•°ã¨ãªã‚‹ã€‚ãã†ã§ãªã„å ´åˆã¯ã€çµæžœã¯æ•´æ•°ã«ãªã‚Šã¾ã™ã€‚

          @@ -51,7 +51,7 @@

          例

          0.0~1.0 ã®ç¯„囲ã§ãƒ©ãƒ³ãƒ€ãƒ ãªæµ®å‹•å°æ•°ç‚¹æ•°ã‚’生æˆã—ã€fractionã«æ ¼ç´ã™ã‚‹ã€‚

          fraction := Random(0.0, 1.0)
          -fraction := Random()  ; Equivalent to the line above.
          +fraction := Random() ; 上ã®è¡Œã¨åŒã˜ã§ã™ã€‚
          diff --git a/target/docs/lib/RegCreateKey.htm b/target/docs/lib/RegCreateKey.htm index 1a8ca56e0..208a95275 100644 --- a/target/docs/lib/RegCreateKey.htm +++ b/target/docs/lib/RegCreateKey.htm @@ -21,7 +21,7 @@

          パラメータ

          KeyName
          -

          Type: String

          +

          型:文字列

          レジストリキーã®ãƒ•ãƒ«ãƒãƒ¼ãƒ ã§ã™ã€‚例:"HKLM\Software\SomeApplication".

          キーã¯ã€HKEY_LOCAL_MACHINE (ã¾ãŸã¯ HKLM), HKEY_USERS (ã¾ãŸã¯ HKU), HKEY_CURRENT_USER (ã¾ãŸã¯ HKCU), HKEY_CLASSES_ROOT (ã¾ãŸã¯ HKCR), or HKEY_CURRENT_CONFIG (ã¾ãŸã¯ HKCC)ã§å§‹ã¾ã‚‰ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

          リモートレジストリã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€"\\workstation01\HKLM"ã®ã‚ˆã†ã«ã‚³ãƒ³ãƒ”ューターåã¨ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’å‰ã«è¿½åŠ ã—ã¦ãã ã•ã„。.

          diff --git a/target/docs/lib/RegDelete.htm b/target/docs/lib/RegDelete.htm index 4b69a2df0..d39383c18 100644 --- a/target/docs/lib/RegDelete.htm +++ b/target/docs/lib/RegDelete.htm @@ -20,7 +20,7 @@

          パラメータ

          KeyName
          -

          Type: String

          +

          型:文字列

          レジストリキーã®ãƒ•ãƒ«ãƒãƒ¼ãƒ ã§ã™ã€‚例:"HKLM\Software\SomeApplication".

          キーã¯ã€HKEY_LOCAL_MACHINE (ã¾ãŸã¯ HKLM), HKEY_USERS (ã¾ãŸã¯ HKU), HKEY_CURRENT_USER (ã¾ãŸã¯ HKCU), HKEY_CLASSES_ROOT (ã¾ãŸã¯ HKCR), or HKEY_CURRENT_CONFIG (ã¾ãŸã¯ HKCC)ã§å§‹ã¾ã‚‰ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

          リモートレジストリã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€"\\workstation01\HKLM"ã®ã‚ˆã†ã«ã‚³ãƒ³ãƒ”ューターåã¨ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’å‰ã«è¿½åŠ ã—ã¦ãã ã•ã„。.

          @@ -29,7 +29,7 @@

          パラメータ

          ValueName
          -

          Type: String

          +

          型:文字列

          空白ã¾ãŸã¯çœç•¥ã•ã‚ŒãŸã¨ãã¯ã€ä¸Šè¨˜ã®å ´åˆã‚’除ã„ã¦ã‚­ãƒ¼ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã¯å‰Šé™¤ã•ã‚Œã¾ã™ã€‚ã“ã‚Œã¯RegEditã§"(Default)"ã¨ã—ã¦è¡¨ç¤ºã•ã‚Œã‚‹å€¤ã§ã™ã€‚ãã†ã§ãªã‘ã‚Œã°ã€å‰Šé™¤ã™ã‚‹å€¤ã®åå‰ã‚’指定ã—ã¾ã™ã€‚

          diff --git a/target/docs/lib/RegDeleteKey.htm b/target/docs/lib/RegDeleteKey.htm index b5ce29f0e..111eee9fa 100644 --- a/target/docs/lib/RegDeleteKey.htm +++ b/target/docs/lib/RegDeleteKey.htm @@ -21,7 +21,7 @@

          パラメータ

          KeyName
          -

          Type: String

          +

          型:文字列

          レジストリキーã®ãƒ•ãƒ«ãƒãƒ¼ãƒ ã§ã™ã€‚例:"HKLM\Software\SomeApplication".

          キーã¯ã€HKEY_LOCAL_MACHINE (ã¾ãŸã¯ HKLM), HKEY_USERS (ã¾ãŸã¯ HKU), HKEY_CURRENT_USER (ã¾ãŸã¯ HKCU), HKEY_CLASSES_ROOT (ã¾ãŸã¯ HKCR), or HKEY_CURRENT_CONFIG (ã¾ãŸã¯ HKCC)ã§å§‹ã¾ã‚‰ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

          リモートレジストリã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€"\\workstation01\HKLM"ã®ã‚ˆã†ã«ã‚³ãƒ³ãƒ”ューターåã¨ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’å‰ã«è¿½åŠ ã—ã¦ãã ã•ã„。.

          diff --git a/target/docs/lib/RegExMatch.htm b/target/docs/lib/RegExMatch.htm index 178180eb8..9878f5f9b 100644 --- a/target/docs/lib/RegExMatch.htm +++ b/target/docs/lib/RegExMatch.htm @@ -20,27 +20,27 @@

          パラメータ

          Haystack
          -

          Type: String

          +

          型:文字列

          内容を検索ã™ã‚‹æ–‡å­—列。ãƒã‚¤ãƒŠãƒªãƒ¼ã‚¼ãƒ­ã‚’å«ã‚€å ´åˆãŒã‚ã‚Šã¾ã™ã€‚

          NeedleRegEx
          -

          Type: String

          +

          型:文字列

          検索ã™ã‚‹ãƒ‘ターンã§ã€Perl互æ›æ­£è¦è¡¨ç¾ï¼ˆPCRE)ã§ã™ã€‚パターンã®ã‚ªãƒ—ションãŒã‚ã‚‹å ´åˆã¯ã€æ–‡å­—列ã®å…ˆé ­ã«å«ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã€ãã®å¾Œã«é–‰ã˜æ‹¬å¼§ãŒç¶šãã¾ã™ã€‚例ãˆã°ã€i)abc.*123ã¨ã„ã†ãƒ‘ターンã¯ã€å¤§æ–‡å­—å°æ–‡å­—を区別ã—ãªã„オプションをオンã«ã—ã€"abc "ã®å¾Œã«ä»»æ„ã®æ–‡å­—ãŒ0回以上出ç¾ã—ã€ãã®å¾Œã« "123 "ãŒç¶šãã‚‚ã®ã‚’検索対象ã¨ã—ã¾ã™ã€‚オプションãŒãªã„å ´åˆã€")"ã¯ã‚ªãƒ—ションã§ã™ã€‚例ãˆã°ã€)abc㯠abcã¨åŒç­‰ã§ã™ã€‚

          NeedleRegExã¯ãƒã‚¤ãƒŠãƒªãƒ¼ã‚¼ãƒ­ã‚’å«ã‚€ã“ã¨ãŒã§ãã¾ã›ã‚“ãŒã€Haystack内ã®ãƒã‚¤ãƒŠãƒªãƒ¼ã‚¼ãƒ­ã«ä¸€è‡´ã•ã›ã‚‹ãŸã‚ã«ã€ãƒ‘ターン\x00を使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          &OutputVar
          -

          Type: VarRef

          +

          型:VarRef

          If omitted, no output variable will be used. Otherwise, specify a reference to the output variable in which to store a match object, which can be used to retrieve the position, length and value of the overall match and of each captured subpattern, if any are present.

          パターンãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆï¼ˆã¤ã¾ã‚Šã€é–¢æ•°ãŒ0ã‚’è¿”ã™å ´åˆï¼‰ã€ã“ã®å¤‰æ•°ã¯ç©ºç™½ã«ã•ã‚Œã‚‹ã€‚

          StartingPos
          -

          Type: Integer

          +

          型:整数

          If omitted, it defaults to 1 (the beginning of Haystack). ãれ以外ã®å ´åˆã¯ã€2文字目ã‹ã‚‰å§‹ã‚ã‚‹å ´åˆã¯2ã€3文字目ã‹ã‚‰å§‹ã‚ã‚‹å ´åˆã¯3ã€ã¨ã„ã£ãŸå…·åˆã«æŒ‡å®šã—ã¾ã™ã€‚If StartingPos is beyond the length of Haystack, the search starts at the empty string that lies at the end of Haystack (which typically results in no match).

          è² ã®StartingPosを指定ã™ã‚‹ã¨ã€ãã®ä½ç½®ã§å³ã‹ã‚‰ã‚¹ã‚¿ãƒ¼ãƒˆã™ã‚‹ã€‚例ãˆã°ã€-1ã¯æœ€å¾Œã®æ–‡å­—ã‹ã‚‰ã€-2ã¯ãã®æ¬¡ã®æ–‡å­—ã‹ã‚‰å§‹ã¾ã‚Šã¾ã™ã€‚StartingPos㌠Haystackã®å·¦ç«¯ã‚’越ãˆã‚ˆã†ã¨ã—ãŸå ´åˆã€Haystackã®å…¨ã¦ãŒæ¤œç´¢ã•ã‚Œã‚‹ã€‚

          0を指定ã™ã‚‹ã¨ã€Haystackã®æœ«å°¾ã€ã¤ã¾ã‚Šæœ€å¾Œã®æ–‡å­—ã®å³å´ã®ä½ç½®ã‹ã‚‰é–‹å§‹ã—ã¾ã™ã€‚ã“ã‚Œã¯ã€(?<=a)ã®ã‚ˆã†ãªã‚¼ãƒ­å¹…ã®ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã§ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

          @@ -50,11 +50,11 @@

          パラメータ

          戻り値

          -

          Type: Integer

          +

          型:整数

          ã“ã®é–¢æ•°ã¯ã€æ–‡å­—列Haystackã®ä¸­ã§NeedleRegExãŒæœ€ã‚‚å·¦å´ã«å‡ºç¾ã™ã‚‹ä½ç½®ã‚’è¿”ã—ã¾ã™ã€‚ãƒã‚¸ã‚·ãƒ§ãƒ³1ãŒæœ€åˆã®æ–‡å­—ã§ã™ã€‚パターンãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã¯0ãŒè¿”ã•ã‚Œã‚‹ã€‚

          エラー

          -

          Syntax errors: If the pattern contains a syntax error, an Error is thrown with a message in the following form: Compile error N at offset M: description. ãã®æ–‡å­—列ã®ä¸­ã§ã€Nã¯PCREã®ã‚¨ãƒ©ãƒ¼ç•ªå·ã€Mã¯æ­£è¦è¡¨ç¾å†…ã®å•é¡Œã®ã‚る文字ã®ä½ç½®ã€descriptionã¯ã‚¨ãƒ©ãƒ¼ã‚’説明ã™ã‚‹ãƒ†ã‚­ã‚¹ãƒˆã§ã‚る。

          +

          シンタックスエラーパターンã«æ§‹æ–‡ã‚¨ãƒ©ãƒ¼ãŒå«ã¾ã‚Œã‚‹å ´åˆã€ä»¥ä¸‹ã®ã‚ˆã†ãªãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã¨ã¨ã‚‚ã«ErrorãŒæŠ•ã’られる:オフセットMã§ã‚³ãƒ³ãƒ‘イルエラーN:description. ãã®æ–‡å­—列ã®ä¸­ã§ã€Nã¯PCREã®ã‚¨ãƒ©ãƒ¼ç•ªå·ã€Mã¯æ­£è¦è¡¨ç¾å†…ã®å•é¡Œã®ã‚る文字ã®ä½ç½®ã€descriptionã¯ã‚¨ãƒ©ãƒ¼ã‚’説明ã™ã‚‹ãƒ†ã‚­ã‚¹ãƒˆã§ã‚る。

          実行エラー:正è¦è¡¨ç¾ã®å®Ÿè¡Œä¸­ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ãŸå ´åˆã€ErrorãŒæŠ•ã’られã¾ã™ã€‚エラーオブジェクトã®Extraプロパティã«ã¯ã€PCREã®ã‚¨ãƒ©ãƒ¼ç•ªå·ãŒè¨˜è¼‰ã•ã‚Œã¦ã„ã¾ã™ã€‚ã“ã®ã‚ˆã†ãªã‚¨ãƒ©ãƒ¼ã¯ç¨€ã§ã™ãŒã€ç™ºç”Ÿã—ã‚„ã™ã„ã®ã¯ã€Œç©ºæ–‡å­—列ã®å¯èƒ½æ€§ãŒå¤šã™ãŽã‚‹ã€ï¼ˆ-22)ã€ã€Œå†å¸°ãŒæ·±ã™ãŽã‚‹ã€ï¼ˆ-21)ã€ã€Œãƒžãƒƒãƒã®é™ç•Œã«é”ã—ãŸã€ï¼ˆ-8)ã§ã™ã€‚ã“ã®ã‚ˆã†ãªå ´åˆã¯ã€å¯èƒ½ãªé™ã‚Š * ã‚’ ?ã€+ã€{0,3} ã®ã‚ˆã†ãªåˆ¶é™ã«ç½®ãæ›ãˆã‚‹ãªã©ã€ã‚ˆã‚Šåˆ¶é™ã®å¤šã„パターンã«è¨­è¨ˆã—ç›´ã™ã‚ˆã†ã«ã—ã¦ãã ã•ã„。

          Options

          @@ -62,12 +62,12 @@

          Options

          マッãƒã‚ªãƒ–ジェクト(RegExMatchInfo)

          一致ã—ãŸå ´åˆã€ä¸€è‡´ã—ãŸæƒ…報をå«ã‚€ã‚ªãƒ–ジェクトãŒOutputVarã«æ ¼ç´ã•ã‚Œã‚‹ã€‚ã“ã®ã‚ªãƒ–ジェクトã¯ã€ä»¥ä¸‹ã®ãƒ¡ã‚½ãƒƒãƒ‰ã¨ãƒ—ロパティをæŒã¡ã¾ã™ï¼š

          -

          Match.Pos, Match.Pos[N] or Match.Pos(N): Returns the position of the overall match or a captured subpattern.

          -

          Match.Len, Match.Len[N] or Match.Len(N): Returns the length of the overall match or a captured subpattern.

          -

          Match.Name[N] or Match.Name(N): Returns the name of the given subpattern, if it has one.

          +

          Match.Pos, Match.Pos[N] ã¾ãŸã¯ Match.Pos(N):全体一致ã®ä½ç½®ã€ã¾ãŸã¯å–り込んã ã‚µãƒ–パターンã®ä½ç½®ã‚’è¿”ã—ã¾ã™ã€‚

          +

          Match.Len, Match.Len[N] ã¾ãŸã¯ Match.Len(N):全体的ãªãƒžãƒƒãƒã®é•·ã•ã€ã¾ãŸã¯ã‚­ãƒ£ãƒ—ãƒãƒ£ã—ãŸã‚µãƒ–パターンã®é•·ã•ã‚’è¿”ã—ã¾ã™ã€‚

          +

          Match.Name[N] ã¾ãŸã¯ Match.Name(N):与ãˆã‚‰ã‚ŒãŸã‚µãƒ–パターンãŒã‚ã‚‹å ´åˆã€ãã®åå‰ã‚’è¿”ã—ã¾ã™ã€‚

          Match.Count: Returns the overall number of subpatterns (capturing groups), which is also the maximum value for N.

          Match.Mark: Returns the NAME of the last encountered (*MARK:NAME), when applicable.

          -

          Match[] or Match[N]: Returns the overall match or a captured subpattern.

          +

          Match[] ã¾ãŸã¯ Match[N]:全体的ãªãƒžãƒƒãƒã€ã¾ãŸã¯ã‚­ãƒ£ãƒ—ãƒãƒ£ã—ãŸã‚µãƒ–パターンを返ã—ã¾ã™ã€‚

          以上ã®ã“ã¨ã‹ã‚‰ã€Nã¯ä»¥ä¸‹ã®ã„ãšã‚Œã‹ã«ãªã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼š

          • 全体ã®è©¦åˆã§ã¯0。
          • @@ -84,14 +84,14 @@

            パフォーマンス

            備考

            サブパターンã«ã¯ã€ãƒ‘ターン(?P<Year>d{4})ã«ãŠã‘ã‚‹Yearã¨ã„ã†å˜èªžã®ã‚ˆã†ãªåå‰ã‚’付ã‘ã‚‹ã“ã¨ãŒã§ãる。ã“ã®ã‚ˆã†ãªåå‰ã¯ã€æœ€å¤§32文字ã®è‹±æ•°å­—ã¨ã‚¢ãƒ³ãƒ€ãƒ¼ã‚¹ã‚³ã‚¢ã§æ§‹æˆã•ã‚Œã¾ã™ã€‚åå‰ä»˜ãサブパターンã«ã‚‚番å·ãŒæŒ¯ã‚‰ã‚Œã‚‹ãŸã‚ã€ã€ŒYearã€ã®å¾Œã«åå‰ãªã—サブパターンãŒç™ºç”Ÿã—ãŸå ´åˆã€OutputVar[1]ã§ã¯ãªãOutputVar[2]ã«æ ¼ç´ã•ã‚Œã‚‹ã“ã¨ã«æ³¨æ„ã—ã¾ã—ょã†ã€‚

            -

            abc123 ã®ã‚ˆã†ãªã»ã¨ã‚“ã©ã®æ–‡å­—ã¯ã€æ­£è¦è¡¨ç¾ã®ä¸­ã§æ–‡å­—通り使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚However, any of the characters in the set \.*?+[{|()^$ must be preceded by a backslash to be seen as literal. 例ãˆã°ã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒ”リオドã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã§ã™ã€‚エスケープを回é¿ã™ã‚‹ã«ã¯ã€\Q...\E.を使用ã—ã¾ã™ã€‚For example: \QLiteral Text\E.

            +

            abc123 ã®ã‚ˆã†ãªã»ã¨ã‚“ã©ã®æ–‡å­—ã¯ã€æ­£è¦è¡¨ç¾ã®ä¸­ã§æ–‡å­—通り使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚However, any of the characters in the set \.*?+[{|()^$ must be preceded by a backslash to be seen as literal. 例ãˆã°ã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒ”リオドã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã§ã™ã€‚エスケープを回é¿ã™ã‚‹ã«ã¯ã€\Q...\E.を使用ã—ã¾ã™ã€‚事例:\QLiteral Text\E.

            æ­£è¦è¡¨ç¾ã®ä¸­ã§ã€ã‚¿ãƒ–や改行ãªã©ã®ç‰¹æ®Šæ–‡å­—ã¯ã€ã‚¢ã‚¯ã‚»ãƒ³ãƒˆè¨˜å·(`)ã¾ãŸã¯ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥(\)ã§ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚For example, `t is the same as \t except when the x option is used.

            æ­£è¦è¡¨ç¾ã®åŸºæœ¬ã‚’å­¦ã¶ï¼ˆã¾ãŸã¯ãƒ‘ターン構文ã®è¨˜æ†¶ã‚’å–り戻ã™ï¼‰ã«ã¯ã€RegExクイックリファレンスをã”覧ãã ã•ã„。

            AutoHotkeyã®æ­£è¦è¡¨ç¾ã¯ã€www.pcre.orgã®Perl-compatible Regular Expressions (PCRE)を使用ã—ã¦å®Ÿè£…ã•ã‚Œã¦ã„ã¾ã™ã€‚

            Within an expression, a ~= b can be used as shorthand for RegExMatch(a, b).

            RegExReplace, RegEx Quick Reference, Regular Expression Callouts, InStr, SubStr, SetTitleMatchMode RegEx, Global matching and Grep (forum link)

            -

            Common sources of text data: FileRead, Download, A_Clipboard, GUI Edit controls

            +

            テキストデータã®ä¸€èˆ¬çš„ãªã‚½ãƒ¼ã‚¹ï¼šFileRead, Download, A_Clipboard, GUI Edit controls

            例

            一般的ãªRegExã®ä¾‹ã«ã¤ã„ã¦ã¯ã€RegExクイックリファレンスをã”覧ãã ã•ã„。

            @@ -124,7 +124,7 @@

            例

            Matchオブジェクトã®ä½¿ã„方を説明ã—ã¾ã™ã€‚

            FoundPos := RegExMatch("Michiganroad 72", "(.*) (?<nr>\d+)", &SubPat)
            -MsgBox SubPat.Count ": " SubPat[1] " " SubPat.Name[2] "=" SubPat.nr  ; Displays "2: Michiganroad nr=72"
            +MsgBox SubPat.Count ":" SubPat[1] " " SubPat.Name[2] "=" SubPat.nr ; Displays "2: Michiganroad nr=72"
        @@ -152,14 +152,14 @@

        例

        out .= %m[2]% else switch (m[3]) { - case "a": out .= "`a" - case "b": out .= "`b" - case "f": out .= "`f" - case "n": out .= "`n" - case "r": out .= "`r" - case "t": out .= "`t" - case "v": out .= "`v" - default: out .= m[3] + case "a":out .= "`a" + case "b":out .= "`b" + case "f":out .= "`f" + case "n":out .= "`n" + case "r":out .= "`r" + case "t":out .= "`t" + case "v":out .= "`v" + default:out .= m[3] } } return out SubStr(Str, spo) diff --git a/target/docs/lib/RegExReplace.htm b/target/docs/lib/RegExReplace.htm index 4f8e7901a..29a749a1d 100644 --- a/target/docs/lib/RegExReplace.htm +++ b/target/docs/lib/RegExReplace.htm @@ -20,41 +20,41 @@

        パラメータ

        Haystack
        -

        Type: String

        +

        型:文字列

        内容を検索・置æ›ã™ã‚‹æ–‡å­—列。ãƒã‚¤ãƒŠãƒªãƒ¼ã‚¼ãƒ­ã‚’å«ã‚€å ´åˆãŒã‚ã‚Šã¾ã™ã€‚

        NeedleRegEx
        -

        Type: String

        +

        型:文字列

        検索ã™ã‚‹ãƒ‘ターンã§ã€Perl互æ›æ­£è¦è¡¨ç¾ï¼ˆPCRE)ã§ã™ã€‚パターンã®ã‚ªãƒ—ションãŒã‚ã‚‹å ´åˆã¯ã€æ–‡å­—列ã®å…ˆé ­ã«å«ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã€ãã®å¾Œã«é–‰ã˜æ‹¬å¼§ãŒç¶šãã¾ã™ã€‚例ãˆã°ã€i)abc.*123ã¨ã„ã†ãƒ‘ターンã¯ã€å¤§æ–‡å­—å°æ–‡å­—を区別ã—ãªã„オプションをオンã«ã—ã€"abc "ã®å¾Œã«ä»»æ„ã®æ–‡å­—ãŒ0回以上出ç¾ã—ã€ãã®å¾Œã« "123 "ãŒç¶šãã‚‚ã®ã‚’検索対象ã¨ã—ã¾ã™ã€‚オプションãŒãªã„å ´åˆã€")"ã¯ã‚ªãƒ—ションã§ã™ã€‚例ãˆã°ã€)abc㯠abcã¨åŒç­‰ã§ã™ã€‚

        NeedleRegExã¯ãƒã‚¤ãƒŠãƒªãƒ¼ã‚¼ãƒ­ã‚’å«ã‚€ã“ã¨ãŒã§ãã¾ã›ã‚“ãŒã€Haystack内ã®ãƒã‚¤ãƒŠãƒªãƒ¼ã‚¼ãƒ­ã«ä¸€è‡´ã•ã›ã‚‹ãŸã‚ã«ã€ãƒ‘ターン\x00を使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

        ç½®æ›
        -

        Type: String

        +

        型:文字列

        If blank or omitted, NeedleRegEx will be replaced with blank (empty), meaning it will be omitted from the return value. Otherwise, specify the string to be substituted for each match, which is plain text (not a regular expression).

        This parameter may include backreferences like $1, which brings in the substring from Haystack that matched the first subpattern. 最もå˜ç´”ãªå¾Œæ–¹å‚ç…§ã¯$0ã‹ã‚‰$9ã§ã€$0ã¯ãƒ‘ターン全体ã«ä¸€è‡´ã—ãŸéƒ¨åˆ†æ–‡å­—列ã€$1ã¯æœ€åˆã®éƒ¨åˆ†ãƒ‘ターンã«ä¸€è‡´ã—ãŸéƒ¨åˆ†æ–‡å­—列ã€$2ã¯2番目ã€ã¨ã„ã£ãŸå…·åˆã«ãªã‚Šã¾ã™ã€‚For backreferences greater than 9 (and optionally those less than or equal to 9), enclose the number in braces; e.g. ${10}, ${11}, and so on. åå‰ä»˜ãサブパターンã®å ´åˆã¯ã€åå‰ã‚’中括弧ã§å›²ã¿ã¾ã™ï¼ˆä¾‹ï¼š${SubpatternName})。リテラルã§$を指定ã™ã‚‹å ´åˆã¯$$を使用ã—ã¾ã™ï¼ˆã“ã®ã‚ˆã†ãªç‰¹åˆ¥ãªæ‰±ã„ãŒå¿…è¦ãªæ–‡å­—ã¯ã“ã®æ–‡å­—ã ã‘ã§ã€ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã¯ä½•ã‚‚エスケープã™ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“)。

        -

        To convert the case of a subpattern, follow the $ with one of the following characters: U or u (uppercase), L or l (lowercase), T or t (title case, in which the first letter of each word is capitalized but all others are made lowercase). 例ãˆã°ã€$U1ã¨$U{1}ã¯ã€ã©ã¡ã‚‰ã‚‚最åˆã®ã‚µãƒ–パターンã®å¤§æ–‡å­—を転写ã™ã‚‹ã€‚

        +

        サブパターンã®å¤§æ–‡å­—ã¨å°æ–‡å­—を変æ›ã™ã‚‹ã«ã¯ã€$ã®å¾Œã«æ¬¡ã®ã„ãšã‚Œã‹ã®æ–‡å­—を記述ã—ã¾ã™ï¼šUã¾ãŸã¯u(大文字)ã€Lã¾ãŸã¯l(å°æ–‡å­—)ã€Tã¾ãŸã¯t(タイトルケースã€å„å˜èªžã®æœ€åˆã®æ–‡å­—を大文字ã«ã—ã€ä»–ã‚’å°æ–‡å­—ã«ã—ãŸã‚‚ã®ï¼‰ã€‚例ãˆã°ã€$U1ã¨$U{1}ã¯ã€ã©ã¡ã‚‰ã‚‚最åˆã®ã‚µãƒ–パターンã®å¤§æ–‡å­—を転写ã™ã‚‹ã€‚

        存在ã—ãªã„後方å‚照やã€Haystackã§ä½•ã‚‚マッãƒã—ãªã‹ã£ãŸã‚‚ã®(abc)|(xyz)ã®ã‚µãƒ–パターンã®1ã¤ãªã©ï¼‰ã¯ã€ç©ºæ–‡å­—列ã¨ã—ã¦æ›¸ã出ã•ã‚Œã¾ã™ã€‚

        &OutputVarCount
        -

        Type: VarRef

        +

        型:VarRef

        çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。ãã†ã§ãªã„å ´åˆã¯ã€ç½®æ›ãŒç™ºç”Ÿã—ãŸå›žæ•°ã‚’æ ¼ç´ã™ã‚‹å‡ºåŠ›å¤‰æ•°ã¸ã®å‚照を指定ã™ã‚‹ï¼ˆä½•ã‚‚ãªã„å ´åˆã¯0)。

        Limit
        -

        Type: Integer

        +

        型:整数

        If omitted, it defaults to -1, which replaces all occurrences of the pattern found in Haystack. ãれ以外ã®å ´åˆã¯ã€ç½®æ›ã‚’許å¯ã™ã‚‹æœ€å¤§æ•°ã‚’指定ã—ã¾ã™ã€‚ヘイスタックã®å³å´ã¯ãã®ã¾ã¾ã€‚

        StartingPos
        -

        Type: Integer

        +

        型:整数

        If omitted, it defaults to 1 (the beginning of Haystack). ãれ以外ã®å ´åˆã¯ã€2文字目ã‹ã‚‰å§‹ã‚ã‚‹å ´åˆã¯2ã€3文字目ã‹ã‚‰å§‹ã‚ã‚‹å ´åˆã¯3ã€ã¨ã„ã£ãŸå…·åˆã«æŒ‡å®šã—ã¾ã™ã€‚If StartingPos is beyond the length of Haystack, the search starts at the empty string that lies at the end of Haystack (which typically results in no replacements).

        è² ã®StartingPosを指定ã™ã‚‹ã¨ã€ãã®ä½ç½®ã§å³ã‹ã‚‰ã‚¹ã‚¿ãƒ¼ãƒˆã™ã‚‹ã€‚例ãˆã°ã€-1ã¯æœ€å¾Œã®æ–‡å­—ã‹ã‚‰ã€-2ã¯ãã®æ¬¡ã®æ–‡å­—ã‹ã‚‰å§‹ã¾ã‚Šã¾ã™ã€‚StartingPos㌠Haystackã®å·¦ç«¯ã‚’越ãˆã‚ˆã†ã¨ã—ãŸå ´åˆã€Haystackã®å…¨ã¦ãŒæ¤œç´¢ã•ã‚Œã‚‹ã€‚

        0を指定ã™ã‚‹ã¨ã€Haystackã®æœ«å°¾ã€ã¤ã¾ã‚Šæœ€å¾Œã®æ–‡å­—ã®å³å´ã®ä½ç½®ã‹ã‚‰é–‹å§‹ã—ã¾ã™ã€‚ã“ã‚Œã¯ã€(?<=a)ã®ã‚ˆã†ãªã‚¼ãƒ­å¹…ã®ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã§ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

        @@ -64,7 +64,7 @@

        パラメータ

        戻り値

        -

        Type: String

        +

        型:文字列

        ã“ã®é–¢æ•°ã¯ã€æ“作ã«ã‚ˆã£ã¦å†…容ãŒç½®æ›ã•ã‚ŒãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®Haystackã‚’è¿”ã—ã¾ã™ã€‚交æ›ã®å¿…è¦ãŒãªã„å ´åˆã¯ã€Haystackã¯ãã®ã¾ã¾è¿”å´ã•ã‚Œã¾ã™ã€‚

        エラー

        @@ -83,12 +83,12 @@

        パフォーマンス

        パフォーマンスをå‘上ã•ã›ã‚‹ãŸã‚ã€æœ€è¿‘使用ã•ã‚ŒãŸ100個ã®æ­£è¦è¡¨ç¾ã‚’メモリ上ã«ã‚­ãƒ£ãƒƒã‚·ãƒ¥ã—ã¦ãŠã(コンパイルã•ã‚ŒãŸçŠ¶æ…‹ï¼‰ã€‚

        学習オプション(S)ã¯ã€ï¼ˆãƒ«ãƒ¼ãƒ—内ãªã©ã§ï¼‰ä½•åº¦ã‚‚使用ã•ã‚Œã‚‹æ­£è¦è¡¨ç¾ã®ãƒ‘フォーマンスをå‘上ã•ã›ã‚‹ã“ã¨ãŒã§ãã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã€‚

        備考

        -

        abc123 ã®ã‚ˆã†ãªã»ã¨ã‚“ã©ã®æ–‡å­—ã¯ã€æ­£è¦è¡¨ç¾ã®ä¸­ã§æ–‡å­—通り使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚However, any of the characters in the set \.*?+[{|()^$ must be preceded by a backslash to be seen as literal. 例ãˆã°ã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒ”リオドã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã§ã™ã€‚エスケープを回é¿ã™ã‚‹ã«ã¯ã€\Q...\E.を使用ã—ã¾ã™ã€‚For example: \QLiteral Text\E.

        +

        abc123 ã®ã‚ˆã†ãªã»ã¨ã‚“ã©ã®æ–‡å­—ã¯ã€æ­£è¦è¡¨ç¾ã®ä¸­ã§æ–‡å­—通り使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚However, any of the characters in the set \.*?+[{|()^$ must be preceded by a backslash to be seen as literal. 例ãˆã°ã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒ”リオドã€.ã¯ãƒªãƒ†ãƒ©ãƒ«ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã§ã™ã€‚エスケープを回é¿ã™ã‚‹ã«ã¯ã€\Q...\E.を使用ã—ã¾ã™ã€‚事例:\QLiteral Text\E.

        æ­£è¦è¡¨ç¾ã®ä¸­ã§ã€ã‚¿ãƒ–や改行ãªã©ã®ç‰¹æ®Šæ–‡å­—ã¯ã€ã‚¢ã‚¯ã‚»ãƒ³ãƒˆè¨˜å·(`)ã¾ãŸã¯ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥(\)ã§ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚For example, `t is the same as \t except when the x option is used.

        æ­£è¦è¡¨ç¾ã®åŸºæœ¬ã‚’å­¦ã¶ï¼ˆã¾ãŸã¯ãƒ‘ターン構文ã®è¨˜æ†¶ã‚’å–り戻ã™ï¼‰ã«ã¯ã€RegExクイックリファレンスをã”覧ãã ã•ã„。

        RegExMatch, RegEx Quick Reference, Regular Expression Callouts, StrReplace, InStr

        -

        Common sources of text data: FileRead, Download, A_Clipboard, GUI Edit controls

        +

        テキストデータã®ä¸€èˆ¬çš„ãªã‚½ãƒ¼ã‚¹ï¼šFileRead, Download, A_Clipboard, GUI Edit controls

        例

        一般的ãªRegExã®ä¾‹ã«ã¤ã„ã¦ã¯ã€RegExクイックリファレンスをã”覧ãã ã•ã„。

        diff --git a/target/docs/lib/RegRead.htm b/target/docs/lib/RegRead.htm index fe5d2f566..54411f507 100644 --- a/target/docs/lib/RegRead.htm +++ b/target/docs/lib/RegRead.htm @@ -21,7 +21,7 @@

        パラメータ

        KeyName
        -

        Type: String

        +

        型:文字列

        レジストリキーã®ãƒ•ãƒ«ãƒãƒ¼ãƒ ã§ã™ã€‚例:"HKLM\Software\SomeApplication".

        キーã¯ã€HKEY_LOCAL_MACHINE (ã¾ãŸã¯ HKLM), HKEY_USERS (ã¾ãŸã¯ HKU), HKEY_CURRENT_USER (ã¾ãŸã¯ HKCU), HKEY_CLASSES_ROOT (ã¾ãŸã¯ HKCR), or HKEY_CURRENT_CONFIG (ã¾ãŸã¯ HKCC)ã§å§‹ã¾ã‚‰ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

        リモートレジストリã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€"\\workstation01\HKLM"ã®ã‚ˆã†ã«ã‚³ãƒ³ãƒ”ューターåã¨ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’å‰ã«è¿½åŠ ã—ã¦ãã ã•ã„。.

        @@ -30,20 +30,20 @@

        パラメータ

        ValueName
        -

        Type: String

        +

        型:文字列

        If blank or omitted, the key's default value will be retrieved (except as noted above), which is the value displayed as "(Default)" by RegEdit. Otherwise, specify the name of the value to retrieve. デフォルト値ãŒãªã„å ´åˆï¼ˆã¤ã¾ã‚Šã€RegEditãŒã€Œvalue not setã€ã¨è¡¨ç¤ºã—ãŸå ´åˆï¼‰ã€OSErrorãŒæŠ•ã’られる。

        デフォルト
        -

        Type: Any

        +

        型:Any

        çœç•¥ã•ã‚ŒãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã‚’è¿”ã™ä»£ã‚ã‚Šã«OSErrorãŒæŠ•ã’られる。Otherwise, specify the value to return if the specified key or value does not exist.

        戻り値

        -

        Type: String or Integer

        +

        型:文字列ã¾ãŸã¯æ•´æ•°

        説明: 指定ã•ã‚ŒãŸãƒ¬ã‚¸ã‚¹ãƒˆãƒªã‚­ãƒ¼ã®å€¤ã‚’è¿”ã—ã¾ã™ã€‚

        エラー処ç†

        @@ -51,7 +51,7 @@

        エラー処ç†

        A_LastErrorã«ã¯ã€ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ã‚·ã‚¹ãƒ†ãƒ ã®GetLastError()関数ã®çµæžœãŒè¨­å®šã•ã‚Œã¾ã™ã€‚

        備考

        -

        Currently only the following value types are supported: REG_SZ, REG_EXPAND_SZ, REG_MULTI_SZ, REG_DWORD, and REG_BINARY.

        +

        ç¾åœ¨ã€ä»¥ä¸‹ã®å€¤ã®ç¨®é¡žã«ã®ã¿å¯¾å¿œã—ã¦ã„ã¾ã™ï¼šREG_SZ, REG_EXPAND_SZ, REG_MULTI_SZ, REG_DWORD, and REG_BINARY.

        レジストリã§ã¯ã€REG_DWORDã®å€¤ã¯å¸¸ã«æ­£ã®10進数ã§è¡¨ç¾ã•ã‚Œã¾ã™ã€‚è² ã®æ•°ã‚’想定ã—ã¦ã„ãŸå ´åˆã¯ã€OutputVar := OutputVar << 32 >> 32ãªã©ã§ç¬¦å·ä»˜ã32ビット整数ã«å¤‰æ›ã™ã‚‹ã€‚

        REG_BINARYキーを読ã¿è¾¼ã‚€ã¨ã€16進数ã®æ–‡å­—列ãŒè¡¨ç¤ºã•ã‚Œã¾ã™ã€‚例ãˆã°ã€REG_BINARYã®å€¤01,a9,ff,77ã¯ã€æ–‡å­—列01A9FF77ã¨ã—ã¦èª­ã¿è¾¼ã¾ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚

        REG_MULTI_SZキーを読ã¿è¾¼ã‚€å ´åˆã€å„構æˆè¦ç´ ã¯æ”¹è¡Œæ–‡å­—(`n)ã§çµ‚ã‚ã‚Šã¾ã™ã€‚構æˆè¦ç´ ãŒãªã„å ´åˆã¯ã€ç©ºæ–‡å­—列ãŒè¿”ã•ã‚Œã¾ã™ã€‚To extract the individual components from the return value, use a parsing loop.

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

        例

        SetRegView 64 ProgramFilesDir := RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "ProgramFilesDir") -MsgBox "Program files are in: " ProgramFilesDir +MsgBox "Program files are in:" ProgramFilesDir
        diff --git a/target/docs/lib/RegWrite.htm b/target/docs/lib/RegWrite.htm index 00b6d1cc2..31c02125a 100644 --- a/target/docs/lib/RegWrite.htm +++ b/target/docs/lib/RegWrite.htm @@ -22,20 +22,20 @@

        パラメータ

        値
        -

        Type: String or Integer

        +

        型:文字列ã¾ãŸã¯æ•´æ•°

        書ã込むã¹ã値。長ã„テキスト値ã¯ã€ç¶™ç¶šã‚»ã‚¯ã‚·ãƒ§ãƒ³ã«ã‚ˆã£ã¦ã„ãã¤ã‹ã®çŸ­ã„è¡Œã«åˆ†å‰²ã™ã‚‹ã“ã¨ãŒã§ãã€èª­ã¿ã‚„ã™ã•ã‚„ä¿å®ˆæ€§ãŒå‘上ã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚

        ValueType
        -

        Type: String

        +

        型:文字列

        REG_SZã€REG_EXPAND_SZã€REG_MULTI_SZã€REG_DWORDã€ã¾ãŸã¯REG_BINARYã®ã„ãšã‚Œã‹ã§ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

        ValueType can be omitted only if KeyName is omitted and the current registry loop item is a value, as noted below.

        KeyName
        -

        Type: String

        +

        型:文字列

        レジストリキーã®ãƒ•ãƒ«ãƒãƒ¼ãƒ ã§ã™ã€‚例:"HKLM\Software\SomeApplication".

        キーã¯ã€HKEY_LOCAL_MACHINE (ã¾ãŸã¯ HKLM), HKEY_USERS (ã¾ãŸã¯ HKU), HKEY_CURRENT_USER (ã¾ãŸã¯ HKCU), HKEY_CLASSES_ROOT (ã¾ãŸã¯ HKCR), or HKEY_CURRENT_CONFIG (ã¾ãŸã¯ HKCC)ã§å§‹ã¾ã‚‰ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。

        リモートレジストリã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€"\\workstation01\HKLM"ã®ã‚ˆã†ã«ã‚³ãƒ³ãƒ”ューターåã¨ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’å‰ã«è¿½åŠ ã—ã¦ãã ã•ã„。.

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

        パラメータ

        ValueName
        -

        Type: String

        +

        型:文字列

        If blank or omitted, the key's default value will be used (except as noted above), which is the value displayed as "(Default)" by RegEdit. Otherwise, specify the name of the value that will be written to.

        diff --git a/target/docs/lib/Reload.htm b/target/docs/lib/Reload.htm index c2bc72bbc..3bd53eba6 100644 --- a/target/docs/lib/Reload.htm +++ b/target/docs/lib/Reload.htm @@ -18,11 +18,11 @@

        Reload

        ã“ã®æ©Ÿèƒ½ã¯ã€é »ç¹ã«å¤‰æ›´ã•ã‚Œã‚‹ã‚¹ã‚¯ãƒªãƒ—トã«æœ‰åŠ¹ã§ã™ã€‚ã“ã®æ©Ÿèƒ½ã«ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã‚’割り当ã¦ã‚‹ã“ã¨ã§ã€ã‚¨ãƒ‡ã‚£ã‚¿ãƒ¼ã§å¤‰æ›´å†…容をä¿å­˜ã—ãŸå¾Œã€ç°¡å˜ã«ã‚¹ã‚¯ãƒªãƒ—トをå†èµ·å‹•ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

        デフォルトã§ã¯ã€ã‚¹ã‚¯ãƒªãƒ—トã¯ãƒˆãƒ¬ã‚¤ã‚¢ã‚¤ã‚³ãƒ³ã¾ãŸã¯ãƒ¡ã‚¤ãƒ³ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‹ã‚‰å†èª­ã¿è¾¼ã¿ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚

        スクリプトã®ç¾åœ¨ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã«/includeスイッãƒãŒæ¸¡ã•ã‚ŒãŸå ´åˆã€æ–°ã—ã„インスタンスã«ã‚‚自動的ã«æ¸¡ã•ã‚Œã¾ã™ã€‚

        -

        スクリプトã®ç¾åœ¨ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã«æ¸¡ã•ã‚ŒãŸä»–ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ‘ラメータã¯ã€æ–°ã—ã„インスタンスã«æ¸¡ã•ã‚Œã¾ã›ã‚“。ã“ã®ã‚ˆã†ãªãƒ‘ラメータを渡ã™ã«ã¯ã€Reloadを使用ã—ãªã„ã§ãã ã•ã„。代ã‚ã‚Šã«ã€A_AhkPath㨠A_ScriptFullPath(ãŠã‚ˆã³ã‚¹ã‚¯ãƒªãƒ—トãŒã‚³ãƒ³ãƒ‘イルã•ã‚ŒãŸçŠ¶æ…‹ã§ä½¿ç”¨ã•ã‚Œã‚‹å ´åˆã¯A_IsCompiled)ã¨çµ„ã¿åˆã‚ã›ã¦å®Ÿè¡Œã‚’使用ã—ã¾ã™ã€‚ã¾ãŸã€æœ€åˆã®ãƒ‘ラメータã¨ã—ã¦ï¼ˆã¤ã¾ã‚Šå®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«åã®å¾Œã«ï¼‰æ–‡å­—列/restartã‚’å«ã‚ã‚‹ã“ã¨ã§ã€Reloadã¨åŒã˜å‹•ä½œã‚’ã™ã‚‹ã‚ˆã†ãƒ—ログラムã«æŒ‡ç¤ºã—ã¾ã™ã€‚See also: command line switches and syntax.

        +

        スクリプトã®ç¾åœ¨ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã«æ¸¡ã•ã‚ŒãŸä»–ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ‘ラメータã¯ã€æ–°ã—ã„インスタンスã«æ¸¡ã•ã‚Œã¾ã›ã‚“。ã“ã®ã‚ˆã†ãªãƒ‘ラメータを渡ã™ã«ã¯ã€Reloadを使用ã—ãªã„ã§ãã ã•ã„。代ã‚ã‚Šã«ã€A_AhkPath㨠A_ScriptFullPath(ãŠã‚ˆã³ã‚¹ã‚¯ãƒªãƒ—トãŒã‚³ãƒ³ãƒ‘イルã•ã‚ŒãŸçŠ¶æ…‹ã§ä½¿ç”¨ã•ã‚Œã‚‹å ´åˆã¯A_IsCompiled)ã¨çµ„ã¿åˆã‚ã›ã¦å®Ÿè¡Œã‚’使用ã—ã¾ã™ã€‚ã¾ãŸã€æœ€åˆã®ãƒ‘ラメータã¨ã—ã¦ï¼ˆã¤ã¾ã‚Šå®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«åã®å¾Œã«ï¼‰æ–‡å­—列/restartã‚’å«ã‚ã‚‹ã“ã¨ã§ã€Reloadã¨åŒã˜å‹•ä½œã‚’ã™ã‚‹ã‚ˆã†ãƒ—ログラムã«æŒ‡ç¤ºã—ã¾ã™ã€‚ã“ã¡ã‚‰ã‚‚ã”覧ãã ã•ã„:コマンドラインスイッãƒã¨ã‚·ãƒ³ã‚¿ãƒƒã‚¯ã‚¹

        スクリプトãŒå†èµ·å‹•ã™ã‚‹ã¨ã€å…ƒã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªï¼ˆæœ€åˆã«èµ·å‹•ã—ãŸã¨ãã«æœ‰åŠ¹ã ã£ãŸã‚‚ã®ï¼‰ã§èµ·å‹•ã—ã¾ã™ã€‚言ã„æ›ãˆã‚Œã°ã€SetWorkingDirã¯ã€æ–°ã—ã„インスタンスã«ä½¿ç”¨ã•ã‚Œã‚‹ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’変更ã—ã¾ã›ã‚“。

        スクリプトをå†èª­ã¿è¾¼ã¿ã§ããªã„å ´åˆï¼ˆæ§‹æ–‡ã‚¨ãƒ©ãƒ¼ãªã©ï¼‰ã€ã‚¹ã‚¯ãƒªãƒ—トã®å…ƒã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ãŒå®Ÿè¡Œã•ã‚Œç¶šã‘ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ãƒªãƒ­ãƒ¼ãƒ‰é–¢æ•°ã®å¾Œã«ã¯ã€å¤±æ•—ã—ãŸå ´åˆã«å®Ÿè¡Œã—ãŸã„動作(ç¾åœ¨ã®ã‚µãƒ–ルーãƒãƒ³ã‚’終了ã™ã‚‹ãŸã‚ã®return)ãªã©ã‚’記述ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚å…ƒã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã«éšœå®³ã‚’検出ã•ã›ã‚‹ã«ã¯ã€ã“ã®ä¾‹ã«å¾“ã„ã¾ã™ï¼š

        Reload
        -Sleep 1000 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached.
        +Sleep 1000 ; æˆåŠŸã—ãŸã¨ãã¯ã€reload関数ã¯ã“ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’Sleep関数ã®å®Ÿè¡Œä¸­ã«é–‰ã˜ã€ä»¥ä¸‹ã®è¡Œã¯å®Ÿè¡Œã•ã‚Œã¾ã›ã‚“。
         Result := MsgBox("The script could not be reloaded. Would you like to open it for editing?",, 4)
         if Result = "Yes"
             Edit
        diff --git a/target/docs/lib/Return.htm b/target/docs/lib/Return.htm
        index de86b7833..2aeed2111 100644
        --- a/target/docs/lib/Return.htm
        +++ b/target/docs/lib/Return.htm
        @@ -53,8 +53,8 @@ 

        例

        最åˆã®Returnã¯ã€ç›´å‰ã®æ¡ä»¶ãŒçœŸã§ã‚ã‚Œã°ã€å¾Œç¶šã®é–¢æ•°å‘¼ã³å‡ºã—ãŒã‚¹ã‚­ãƒƒãƒ—ã•ã‚Œã‚‹ã“ã¨ã‚’ä¿è¨¼ã—ã¾ã™ã€‚2番目ã®Returnã¯ã€ã“ã®ã‚ˆã†ã«é–¢æ•°ã®æœ€å¾Œã«ä½¿ã†ã¨å†—é•·ã§ã™ã€‚

        -
        #z::  ; Win-Z
        -^#z::  ; Ctrl-Win-Z
        +
        #z::  ; Win+Z
        +^#z::  ; Ctrl+Win+Z
         {
             MsgBox "A Win+Z hotkey was pressed."
             if GetKeyState("Ctrl")
        diff --git a/target/docs/lib/Run.htm b/target/docs/lib/Run.htm
        index ac7db88d4..e4b1a191b 100644
        --- a/target/docs/lib/Run.htm
        +++ b/target/docs/lib/Run.htm
        @@ -26,7 +26,7 @@ 

        パラメータ

        Target
        -

        Type: String

        +

        型:文字列

        A document, URL, executable file (.exe, .com, .bat, etc.), shortcut (.lnk), CLSID, or system verb to launch (see remarks). If Target is a local file and no path was specified with it, how the file is located typically depends on the type of file and other conditions. See Interpretation of Target for details.

        To pass parameters, add them immediately after the program or document name as follows:

        Run 'MyProgram.exe Param1 Param2'
        @@ -36,13 +36,13 @@

        パラメータ

        WorkingDir
        -

        Type: String

        +

        型:文字列

        If blank or omitted, the script's own working directory (A_WorkingDir) will be used. Otherwise, specify the initial working directory to be used by the new process. This typically also affects relative paths in Target, but interpretation of command-line parameters depends on the target program.

        Options
        -

        Type: String

        +

        型:文字列

        If blank or omitted, Target will be launched normally. Otherwise, specify one or more of the following options:

        Max: launch maximized

        Min: launch minimized

        @@ -52,7 +52,7 @@

        パラメータ

        &OutputVarPID
        -

        Type: VarRef

        +

        型:VarRef

        çœç•¥ã—ãŸã¨ãã¯ã€å¯¾å¿œã™ã‚‹å€¤ã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。Otherwise, specify a reference to the output variable in which to store the newly launched program's unique Process ID (PID). PIDを決定ã§ããªã‹ã£ãŸå ´åˆã€ã“ã®å¤‰æ•°ã¯ç©ºç™½ã«ãªã‚Šã¾ã™ã€‚ã“ã‚Œã¯é€šå¸¸ã€ç›´æŽ¥ã®å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ãªãã€ã‚·ã‚¹ãƒ†ãƒ ã®å‹•è©žã€æ–‡æ›¸ã€ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆãŒèµ·å‹•ã•ã‚ŒãŸå ´åˆã«èµ·ã“ã‚Šã¾ã™ã€‚RunWaitã‚‚ã“ã®ãƒ‘ラメータをサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ãŒã€ãã®OutputVarPID㯠別ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã§ãƒã‚§ãƒƒã‚¯ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ï¼ˆãã†ã—ãªã„ã¨ã€RunWaitã«ç¶šãè¡ŒãŒå®Ÿè¡Œã•ã‚Œã‚‹ã¾ã§ã«ãƒ—ロセスãŒçµ‚了ã—ã¦ã—ã¾ã†ãŸã‚ã€PIDã¯ç„¡åŠ¹ã¨ãªã‚Šã¾ã™ï¼‰ã€‚

        Run関数ãŒPIDã‚’å–å¾—ã—ãŸå¾Œã€ãƒ—ロセスã«ã‚ˆã£ã¦ä½œæˆã•ã‚Œã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¯ã€ã¾ã å­˜åœ¨ã—ãªã„ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。少ãªãã¨ã‚‚1ã¤ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒä½œæˆã•ã‚Œã‚‹ã®ã‚’å¾…ã¤ã«ã¯ã€WinWait"ahk_pid " OutputVarPIDを使用ã—ã¾ã™ã€‚

        @@ -60,7 +60,7 @@

        パラメータ

        戻り値

        -

        Type: Integer

        +

        型:整数

        RunWaitã¯Runã¨ç•°ãªã‚Šã€TargetãŒã‚¯ãƒ­ãƒ¼ã‚ºã•ã‚Œã‚‹ã‹çµ‚了ã™ã‚‹ã¾ã§å¾…æ©Ÿã—ã€ãã®æ™‚ã®æˆ»ã‚Šå€¤ã¯ãƒ—ログラムã®çµ‚了コード(符å·ä»˜ã32ビット整数)ã¨ãªã‚Šã¾ã™ã€‚プログラムã«ã‚ˆã£ã¦ã¯ã€ã¾ã å®Ÿè¡Œä¸­ã§ã‚ã‚‹ã«ã‚‚ã‹ã‹ã‚らãšã€ã™ãã«æˆ»ã£ã¦ãるよã†ã«è¦‹ãˆã‚‹ã‚‚ã®ãŒã‚ã‚Šã¾ã™ãŒã€ã“ã‚Œã¯åˆ¥ã®ãƒ—ロセスを生æˆã™ã‚‹ã‚‚ã®ã§ã™ã€‚

        エラー処ç†

        @@ -89,7 +89,7 @@

        備考

        ComSpec(cmd.exe)を使ã£ã¦ãƒ—ログラムを実行ã™ã‚‹å ´åˆï¼ˆãƒ—ログラムã®å…¥åŠ›ã‚„出力をリダイレクトã™ã‚‹å¿…è¦ãŒã‚ã‚‹ãŸã‚)ã€å®Ÿè¡Œãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ‘スやåå‰ã«ã‚¹ãƒšãƒ¼ã‚¹ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã¯ã€ãã®æ–‡å­—列全体を外å´ã®å¼•ç”¨ç¬¦ã§å›²ã‚€å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚以下ã®ä¾‹ã§ã¯ã€å¤–å´ã®å¼•ç”¨ç¬¦ãŒé»„色ã§å¼·èª¿è¡¨ç¤ºã•ã‚Œã¦ã„ã¾ã™ï¼š

        Run A_ComSpec ' /c ""C:\My Utility.exe" "param 1" "second param" >"C:\My File.txt""'

        Run"C:ã‚™My DocumentsTest.txt "よりもRun 'C:ã‚™WindowsNotepad.exe "C:ã‚™My DocumentsTest.txt"ã®ã‚ˆã†ã«TargetãŒå®Œå…¨ãƒ‘スã§ã‚ã‚Œã°ãƒ‘フォーマンスã¯è‹¥å¹²å‘上ã™ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。

        -

        Special CLSIDs may be opened via Run. Most of them can be opened by using the shell: prefix. Some can be opened without it. 事例:

        +

        Special CLSIDs may be opened via Run. Most of them can be opened by using the shell:prefix. Some can be opened without it. 事例:

        Run "shell:::{D20EA4E1-3957-11D2-A40B-0C5020524153}"  ; Windows Tools.
         Run "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"  ; This PC (formerly My Computer or Computer).
         Run "::{645FF040-5081-101B-9F08-00AA002F954E}"  ; Recycle Bin.
        @@ -101,34 +101,34 @@

        備考

        *verb - システムã§å®šç¾©ã•ã‚ŒãŸã€ã¾ãŸã¯ã‚«ã‚¹ã‚¿ãƒ ã•ã‚ŒãŸä»»æ„ã®å‹•è©žã€‚For example: Run "*Compile " A_ScriptFullPath. 管ç†è€…ã¨ã—ã¦å®Ÿè¡Œå³ã‚¯ãƒªãƒƒã‚¯ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã®ä»£ã‚ã‚Šã«*RunAs動詞を使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ + システムã§å®šç¾©ã•ã‚ŒãŸã€ã¾ãŸã¯ã‚«ã‚¹ã‚¿ãƒ ã•ã‚ŒãŸä»»æ„ã®å‹•è©žã€‚事例:Run "*Compile " A_ScriptFullPath. 管ç†è€…ã¨ã—ã¦å®Ÿè¡Œå³ã‚¯ãƒªãƒƒã‚¯ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã®ä»£ã‚ã‚Šã«*RunAs動詞を使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ properties -

        表示ã•ã‚Œã¦ã„るファイルã®ã‚¨ã‚¯ã‚¹ãƒ—ローラーã®ãƒ—ロパティウィンドウを表示ã—ã¾ã™ã€‚For example: Run 'properties "C:\My File.txt"'

        +

        表示ã•ã‚Œã¦ã„るファイルã®ã‚¨ã‚¯ã‚¹ãƒ—ローラーã®ãƒ—ロパティウィンドウを表示ã—ã¾ã™ã€‚事例:Run 'properties "C:\My File.txt"'

        Note: The properties window will automatically close when the script terminates. ã“れを防ãã«ã¯ã€WinWaitã§ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãŒè¡¨ç¤ºã•ã‚Œã‚‹ã®ã‚’å¾…ã¡ã€WinWaitCloseã§ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’é–‰ã˜ã‚‹ã®ã‚’å¾…ã¡ã¾ã™ã€‚

        find - エクスプローラã®ã€Œæ¤œç´¢ä»²é–“ã€ã¾ãŸã¯ã€Œãƒ•ã‚¡ã‚¤ãƒ«æ¤œç´¢ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’ã€æŒ‡å®šã•ã‚ŒãŸãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã§é–‹ãã“ã¨ãŒã§ãã¾ã™ã€‚For example: Run "find D:\" + エクスプローラã®ã€Œæ¤œç´¢ä»²é–“ã€ã¾ãŸã¯ã€Œãƒ•ã‚¡ã‚¤ãƒ«æ¤œç´¢ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’ã€æŒ‡å®šã•ã‚ŒãŸãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã§é–‹ãã“ã¨ãŒã§ãã¾ã™ã€‚事例:Run "find D:\" explore - 指定ã•ã‚ŒãŸãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã«ã‚¨ã‚¯ã‚¹ãƒ—ローラーã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’é–‹ãã¾ã™ã€‚For example: Run "explore " A_ProgramFiles. + 指定ã•ã‚ŒãŸãƒ•ã‚©ãƒ«ãƒ€ãƒ¼ã«ã‚¨ã‚¯ã‚¹ãƒ—ローラーã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’é–‹ãã¾ã™ã€‚事例:Run "explore " A_ProgramFiles. edit - 指示ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’編集用ã«é–‹ãã¾ã™ã€‚表示ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã®ç¨®é¡žã«ã€Œç·¨é›†ã€ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ãŒé–¢é€£ä»˜ã‘られã¦ã„ãªã„å ´åˆã¯ã€å‹•ä½œã—ãªã„ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚For example: Run 'edit "C:\My File.txt"' + 指示ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’編集用ã«é–‹ãã¾ã™ã€‚表示ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã®ç¨®é¡žã«ã€Œç·¨é›†ã€ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ãŒé–¢é€£ä»˜ã‘られã¦ã„ãªã„å ´åˆã¯ã€å‹•ä½œã—ãªã„ã“ã¨ãŒã‚ã‚Šã¾ã™ã€‚事例:Run 'edit "C:\My File.txt"' open - 指定ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’é–‹ã(ã»ã¨ã‚“ã©ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚¿ã‚¤ãƒ—ã§ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å‹•ä½œã§ã‚ã‚‹ãŸã‚ã€é€šå¸¸ã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“)。For example: Run 'open "My File.txt"'. + 指定ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’é–‹ã(ã»ã¨ã‚“ã©ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚¿ã‚¤ãƒ—ã§ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å‹•ä½œã§ã‚ã‚‹ãŸã‚ã€é€šå¸¸ã¯å¿…è¦ã‚ã‚Šã¾ã›ã‚“)。事例:Run 'open "My File.txt"'. print - 指定ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’ã€ã‚‚ã—ã‚ã‚Œã°ã€é–¢é€£ã™ã‚‹ã‚¢ãƒ—リケーションã¨ã¨ã‚‚ã«å°åˆ·ã—ã¾ã™ã€‚For example: Run 'print "My File.txt"' + 指定ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’ã€ã‚‚ã—ã‚ã‚Œã°ã€é–¢é€£ã™ã‚‹ã‚¢ãƒ—リケーションã¨ã¨ã‚‚ã«å°åˆ·ã—ã¾ã™ã€‚事例:Run 'print "My File.txt"'

        RunWaitãŒå¾…機状態ã«ã‚ã‚‹é–“ã€ãƒ›ãƒƒãƒˆã‚­ãƒ¼ã€ã‚«ã‚¹ã‚¿ãƒ ãƒ¡ãƒ‹ãƒ¥ãƒ¼é …ç›®ã€ã¾ãŸã¯ã‚¿ã‚¤ãƒžãƒ¼ã‚’使ã£ã¦æ–°ã—ã„スレッドを起動ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

        @@ -149,7 +149,7 @@

        Run as Administrator

        ExitApp } -MsgBox "A_IsAdmin: " A_IsAdmin "`nCommand line: " full_command_line
        +MsgBox "A_IsAdmin:" A_IsAdmin "`nCommand line:" full_command_line

        If the user cancels the User Account Control (UAC) dialog or Run fails for some other reason, the script will simply exit.

        /restartを使用ã™ã‚‹ã¨ã€ExitAppãŒå‘¼ã³å‡ºã•ã‚Œã‚‹å‰ã«ã‚¹ã‚¯ãƒªãƒ—トã®æ–°ã—ã„インスタンスãŒé–‹å§‹ã•ã‚Œã¦ã‚‚ã€å˜ä¸€ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã®ãƒ—ロンプトãŒè¡¨ç¤ºã•ã‚Œãªã„よã†ã«ã—ã¾ã™ã€‚

        UACãŒç„¡åŠ¹ã®å ´åˆã€*RunAsã¯æ˜‡æ ¼ã•ã›ãšã«ãƒ—ロセスを起動ã—ã¾ã™ã€‚コマンドラインã§/restartã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹ã“ã¨ã§ã€ãã®å ´åˆã«ã‚¹ã‚¯ãƒªãƒ—トãŒæš´èµ°ãƒ«ãƒ¼ãƒ—ã«å…¥ã‚‰ãªã„よã†ã«ã—ã¾ã™ã€‚ãªãŠã€/restartã¯çµ„ã¿è¾¼ã¿ã®ã‚¹ã‚¤ãƒƒãƒãªã®ã§ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ‘ラメータã®é…列ã«ã¯å«ã¾ã‚Œã¾ã›ã‚“。

        @@ -256,7 +256,7 @@

        例

        if ib.result = "Cancel" return result := ExecScript('FileAppend ' ib.value ', "*"') -MsgBox "Result: " result +MsgBox "Result:" result
        diff --git a/target/docs/lib/RunAs.htm b/target/docs/lib/RunAs.htm index 16bec4931..ae5f8c837 100644 --- a/target/docs/lib/RunAs.htm +++ b/target/docs/lib/RunAs.htm @@ -20,19 +20,19 @@

        パラメータ

        User
        -

        Type: String

        +

        型:文字列

        ã“ã®ãƒ‘ラメータã¨ä»–ã®ãƒ‘ラメータをã™ã¹ã¦çœç•¥ã—ãŸå ´åˆã€RunAs機能ã¯ã‚ªãƒ•ã«ãªã‚Šã€Run㨠RunWaitã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å‹•ä½œã«æˆ»ã‚Šã¾ã™ã€‚Otherwise, specify the username under which new processes will be created.

        Password
        -

        Type: String

        +

        型:文字列

        If blank or omitted, it defaults to a blank password. Otherwise, specify the User's password. Note that passing blank passwords is not allowed by default, according to the OS policy "Accounts: Limit local account use of blank passwords to console logon only".

        Domain
        -

        Type: String

        +

        型:文字列

        If blank or omitted, a local account will be used. Otherwise, specify User's domain. ã“ã‚Œã§ã†ã¾ãã„ã‹ãªã„å ´åˆã¯ã€@YourComputerNameを使用ã—ã¦ã¿ã¦ãã ã•ã„。

        diff --git a/target/docs/lib/Send.htm b/target/docs/lib/Send.htm index f41e69cab..a1daf5c53 100644 --- a/target/docs/lib/Send.htm +++ b/target/docs/lib/Send.htm @@ -25,7 +25,7 @@

        パラメータ

        Keys
        -

        Type: String

        +

        型:文字列

        é€ä¿¡ã™ã‚‹ã‚­ãƒ¼ã®ã‚·ãƒ¼ã‚±ãƒ³ã‚¹ã€‚

        デフォルトã§ã¯ï¼ˆã¤ã¾ã‚Šã€SendTextã‚‚Rawモードも Textモードも使用ã—ãªã„å ´åˆï¼‰ã€æ–‡å­—^+!#{}ã¯ç‰¹åˆ¥ãªæ„味をæŒã¤ã€‚文字^+!#ã¯ã€ä¿®é£¾ã‚­ãƒ¼Ctrlã€Shiftã€Altã€Winを表ã—ã¾ã™ã€‚次ã®ã‚­ãƒ¼ã«ã—ã‹å½±éŸ¿ã—ã¾ã›ã‚“。対応ã™ã‚‹ä¿®é£¾ã‚­ãƒ¼ã‚’å˜ç‹¬ã§é€ä¿¡ã™ã‚‹å ´åˆã¯ã€ã‚­ãƒ¼åを中括弧ã§å›²ã‚“ã§ãã ã•ã„。キーを押ã—ãŸã‚Šé›¢ã—ãŸã‚Šã™ã‚‹ã ã‘ãªã‚‰ã€ä»¥ä¸‹ã®ã‚ˆã†ã«ã‚­ãƒ¼åã®å¾Œã« "down"ã‚„ "up"ã‚’ã¤ã‘ã¦ãã ã•ã„。