板 1- 前 次 新 レス
スクリプト投稿スレ
[4]unnamed.ahk:04/10/01 05:48 ID:???
;● ウインドウ位置移動/リサイズ
#Left:: ;[Win] 移動 (←)
#Right:: ; (→)
#Up:: ; (↑)
#Down:: ; (↓)
#!Left:: ;[Win+Alt] リサイズ(←)
#!Right:: ; (→)
#!Up:: ; (↑)
#!Down:: ; (↓)
WinGetPos,x,y,w,h,A
if A_ThisHotkey = #Left ;
x -= 50
else if A_ThisHotkey = #Right ;
x += 50
else if A_ThisHotkey = #Up ;
y -= 50
else if A_ThisHotkey = #Down ;
y += 50
else if A_ThisHotkey = #!Left ;
w -= 50
else if A_ThisHotkey = #!Right ;
w += 50
else if A_ThisHotkey = #!Up ;
h -= 50
else if A_ThisHotkey = #!Down ;
h += 50
WinMove,A,,%x%,%y%,%w%,%h%
return
前 次