Hi!
I don't remember where exactly I found this great script, maybe it's even skrommel's code :)
It works perfectly, I just miss ONE feature. The script should not only move the window but the mouse cursor with it, to prevent that the window would move away from beneath the cursor.
Thanks in advance! :up:
;move active window around with Windows+l/r/up/down
; move active window xx pixels right
#right::
wingetpos x, y,,, A ; get coordinates of the active window
x += 30 ; add this distance to the x coordinate
winmove, A,,%x%, %y% ; make the active window use the new coordinates
return ; finish
; move active window xx pixels left
#left::
wingetpos x, y,,, A
x -= 30
winmove, A,,%x%, %y%
return
; move active window xx pixels up
#Up::
wingetpos x, y,,, A
y -= 30
winmove, A,,%x%, %y%
return
; move active window xx pixels down
#Down::
wingetpos x, y,,, A
y += 30
winmove, A,,%x%, %y%
return