Skip to content

Commit 4076aa9

Browse files
mastermaster
authored andcommitted
Project translation
1 parent c2910ec commit 4076aa9

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

target/docs/lib/CoordMode.htm

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2 id="Parameters">パラメータ</h2>
2121
<dt>TargetType</dt>
2222
<dd>
2323
<p>型:<a href="../Concepts.htm#strings">文字列</a></p>
24-
<p>Specify one of the following words to indicate the type of target to affect:</p>
24+
<p>次のいずれかの単語を指定して、影響を受けるターゲットのタイプを指示します。</p>
2525
<p><strong>ToolTip:</strong><a href="ToolTip.htm">ToolTip</a>に影響します。</p>
2626
<p><strong>Pixel:</strong><a href="PixelGetColor.htm">PixelGetColor</a><a href="PixelSearch.htm">PixelSearch</a><a href="ImageSearch.htm">ImageSearch</a>に影響します。</p>
2727
<p><strong>Mouse:</strong> Affects <a href="MouseGetPos.htm">MouseGetPos</a>, <a href="Click.htm">Click</a>, <a href="MouseMove.htm">MouseMove</a>, <a href="MouseClick.htm">MouseClick</a>, and <a href="MouseClickDrag.htm">MouseClickDrag</a>.</p>
@@ -32,7 +32,7 @@ <h2 id="Parameters">パラメータ</h2>
3232
<dt>RelativeTo</dt>
3333
<dd>
3434
<p>型:<a href="../Concepts.htm#strings">文字列</a></p>
35-
<p>省略すると、初期値は<em>Screen</em>になります。Otherwise, specify one of the following words to indicate the area to which <em>TargetType</em> should be relative:</p>
35+
<p>省略すると、初期値は<em>Screen</em>になります。そうでない場合は、<em>TargetType</em>が相対的であるべき領域を示すために、以下の単語のいずれかを指定します:</p>
3636
<p><strong>Screen:</strong>座標はデスクトップ(画面全体)に対する相対座標です。</p>
3737
<p><strong>Window:</strong>座標は、アクティブウィンドウからの相対座標です。</p>
3838
<p id="Client"><strong>Client:</strong>座標は、アクティブウィンドウのクライアント領域(ウィンドウのタイトルバー、メニュー(標準的なものがある場合)、ボーダーを除く)からの相対座標です。クライアント座標は、OSのバージョンやテーマに左右されにくい。</p>
@@ -42,10 +42,12 @@ <h2 id="Parameters">パラメータ</h2>
4242

4343
<h2 id="Return_Value">戻り値</h2>
4444
<p>型:<a href="../Concepts.htm#strings">文字列</a></p>
45-
<p>This function returns the previous setting; either Screen, Window or Client.</p>
45+
<p>この関数は、前の設定を返します。Screen、Window、または Client のいずれかです。
46+
</p>
4647

4748
<h2 id="Remarks">備考</h2>
48-
<p>If CoordMode is not used, the default mode is <em>Client</em>; that is, all built-in functions except those documented otherwise (e.g. <a href="WinMove.htm">WinMove</a> and <a href="InputBox.htm">InputBox</a>) use coordinates that are relative to the active window's client area.</p>
49+
<p>
50+
CoordMode関数を使用しない場合、既定のモードは<em>Client</em>です。つまり、特に文書化されていない関数(<a href="WinMove.htm">WinMove</a><a href="InputBox.htm">InputBox</a> など)を除くすべての組み込み関数は、アクティブ ウィンドウのクライアント領域を基準にした座標を使用します。</p>
4951
<p>新しく起動する<a href="../misc/Threads.htm">スレッド</a><a href="../Hotkeys.htm">ホットキー</a><a href="Menu.htm">カスタムメニュー項目</a><a href="SetTimer.htm">時間指定</a>サブルーチンなど)はすべて、この機能のデフォルト設定で新しくスタートします。このデフォルトは、<a href="../Scripts.htm#auto">スクリプト起動</a>時にこの関数を使用することで変更することができます。</p>
5052
<p>組み込みの<a href="../Variables.htm#CoordMode">A_CoordMode変数</a>には、現在の設定が格納されています。</p>
5153
<h2 id="Related">関連</h2>

target/docs/lib/MouseGetPos.htm

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="ja">
33
<head>
44
<title>MouseGetPos - 構文と使用法|AutoHotkey v2</title>
5-
<meta name="description" content="MouseGetPos関数は、マウスカーソルの現在位置と、オプションでマウスカーソルが乗っているウィンドウとコントロールを取得します" />
5+
<meta name="description" content="MouseGetPos関数は、マウスカーソルの現在位置を取得します。また、オプションでどのウィンドウとコントロール上にカーソルがあるのかを取得します" />
66
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<link href="../static/theme.css" rel="stylesheet" type="text/css" />
@@ -12,7 +12,7 @@
1212

1313
<h1>MouseGetPos</h1>
1414

15-
<p>マウスカーソルの現在位置を取得し、オプションでどのウィンドウとコントロールにカーソルを置いているかを取得します</p>
15+
<p>マウスカーソルの現在位置を取得します。また、オプションでどのウィンドウとコントロール上にカーソルがあるのかを取得します</p>
1616

1717
<pre class="Syntax"><span class="func">MouseGetPos</span> <span class="optional">&amp;OutputVarX, &amp;OutputVarY, &amp;OutputVarWin, &amp;OutputVarControl, Flag</span></pre>
1818
<h2 id="Parameters">パラメータ</h2>
@@ -21,27 +21,28 @@ <h2 id="Parameters">パラメータ</h2>
2121
<dt>&amp;OutputVarX, &amp;OutputVarY</dt>
2222
<dd>
2323
<p>型:<a href="../Concepts.htm#variable-references">VarRef</a></p>
24-
<p>省略したときは、対応する値は保存されません。そうでないときは、X座標とY座標を格納する出力変数への参照を指定します。The retrieved coordinates are relative to the active window's client area unless <a href="CoordMode.htm">CoordMode</a> was used to change to screen coordinates.</p>
24+
<p>省略したときは、対応する値は保存されません。そうでないときは、X座標とY座標を格納する出力変数への参照を指定します。取得した座標は、<a href="CoordMode.htm">CoordMode</a>関数で変更されない限りアクティブウィンドウのクライアント領域を基準にします。</p>
2525
</dd>
2626

2727
<dt>&amp;OutputVarWin</dt>
2828
<dd>
2929
<p>型:<a href="../Concepts.htm#variable-references">VarRef</a></p>
30-
<p>省略したときは、対応する値は保存されません。Otherwise, specify a reference to the output variable in which to store the <a href="../misc/WinTitle.htm#ahk_id">unique ID number</a> of the window under the mouse cursor. ウィンドウを決定できない場合、この変数は空白になります。</p>
30+
<p>省略したときは、対応する値は保存されません。そうでないときは、マウスカーソルがあるウィンドウの<a href="../misc/WinTitle.htm#ahk_id">一意の ID 番号</a>を格納する出力変数への参照を指定します。ウィンドウを決定できない場合、この変数は空白になります。</p>
3131
<p>ウィンドウがアクティブでなくても検出されます。隠しウィンドウは検出できません。</p>
3232
</dd>
3333

3434
<dt>&amp;OutputVarControl</dt>
3535
<dd>
3636
<p>型:<a href="../Concepts.htm#variable-references">VarRef</a></p>
37-
<p>省略したときは、対応する値は保存されません。Otherwise, specify a reference to the output variable in which to store the name (ClassNN) of the control under the mouse cursor. 制御が決定できない場合は、この変数を空白とします。</p>
38-
<p>コントロールの名前は、常にWindow Spyが表示する名前と一致する必要があります。マウスカーソルの下にあるウィンドウがアクティブでなくても、コントロールは検出されます。</p>
37+
<p>省略したときは、対応する値は保存されません。そうでなければ、マウスカーソルがあるコントロールの名前(ClassNN)を格納する出力変数への参照を指定します。制御が決定できない場合は、この変数を空白とします。</p>
38+
<p>コントロールの名前は、常にWindow Spyが表示する名前と一致する必要があります。マウスカーソルがあるウィンドウがアクティブでなくても、コントロールは検出されます。</p>
3939
</dd>
4040

4141
<dt>Flag</dt>
4242
<dd>
4343
<p>Type: <a href="../Concepts.htm#numbers">Integer</a></p>
44-
<p>If omitted, it defaults to 0, meaning the function uses the default method to determine <em>OutputVarControl</em> and stores the control's ClassNN. Otherwise, specify a combination (sum) of the following numbers:</p>
44+
<p>省略したときは既定値は0になり、関数は既定のメソッドを使用して <em>OutputVarControl</em> を決定し、コントロールのClassNNを格納します。
45+
そうでなければ、次の数値の組み合わせ (合計) を指定します。</p>
4546
<p><strong>1:</strong><em>OutputVarControl</em>を決定するために、より単純な方法を使用します。SysEditやTextPadなどのMDI(Multiple Document Interface)アプリケーションのアクティブ/最上位の子ウィンドウを正しく取得することができるようになりました。ただし、GroupBoxコントロール内のコントロールの検出など、他の目的では精度が落ちます。</p>
4647
<p><strong>2:</strong><a href="ControlGetClassNN.htm">コントロールのClassNN</a>ではなく、<a href="ControlGetHwnd.htm">コントロールのHWND</a><em>OutputVarControl</em>に格納します。</p>
4748
<p>例えば、両方のオプションを有効にするには、<em>Flag</em>パラメータを3に設定する必要があります。</p>
@@ -64,7 +65,7 @@ <h2 id="Examples">例</h2>
6465
</div>
6566

6667
<div class="ex" id="ExWatchCursor">
67-
<p><a class="ex_number" href="#ExWatchCursor"></a> Shows the HWND, class name, title and controls of the window currently under the mouse cursor.</p>
68+
<p><a class="ex_number" href="#ExWatchCursor"></a> マウスカーソルがあるウィンドウのHWND、クラス、タイトル、コントロールを表示します。</p>
6869
<pre>SetTimer WatchCursor, 100
6970

7071
WatchCursor()

target/docs/lib/index.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ <h1>アルファベット順機能インデックス</h1>
794794
</tr>
795795
<tr>
796796
<td class="larger"><a href="MouseGetPos.htm">MouseGetPos</a></td>
797-
<td>マウスカーソルの現在位置を取得し、オプションでどのウィンドウとコントロールにカーソルを置いているかを取得します</td>
797+
<td>マウスカーソルの現在位置を取得します。また、オプションでどのウィンドウとコントロール上にカーソルがあるのかを取得します</td>
798798
</tr>
799799
<tr>
800800
<td><a href="MouseMove.htm">MouseMove</a></td>

0 commit comments

Comments
 (0)