• 追加された行はこの色です。
  • 削除された行はこの色です。
* マルチディスプレイ [#ld9e87c0]

 SysGet, MonitorCount, MonitorCount
 SysGet, MonitorPrimary, MonitorPrimary
 MsgBox, Monitor Count:`t%MonitorCount%`nPrimary Monitor:`t%MonitorPrimary%


** マルチディスプレイでの位置情報 [#w867a32a]
  -------------------------------
 |               |              |
 |   2       A   | 1            |
 |               |              |
 |               |              |
  -------------------------------

1がメインディスプレイで、2がサブディスプレイの場合、Aの位置は X:-100,Y:100のようになる。

** サブディスプレイのタスクバーを除いた幅と高さ [#xc446cc3]
 SysGet, MonWorkArea, MonitorWorkArea, 2
 MsgBox, Width:%MonWorkAreaLeft%`nHeight:%MonWorkAreaBottom%

サブディスプレイの番号が2の場合、上のように指定すると、Width:-1024 Height:728のように取得出来る。


** 参考 [#p673be48]
http://ahkwiki.net/SysGet



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS