Destination Star Trek Brum!
Can't get the Friday off work but tempted for the weekend (arriving Friday evening straight from work)
#Persistent
$F10::Capture()
Numpad0::ExitApp
Capture()
{
hours := 1.0
Loop, % hours*720
{
Click Down Right
MouseMove, 0, 1, 0, R
Send, {PrintScreen}
Sleep, 2000
}
}up::
down::
left::
right::capture(a_thishotkey)
capture(xy) {
static go := 0 ; a way to know the function is still running
if go
return ; loop is already active, get me out of here
hours := 1 ; no decimal unless you really want fractions
go := 1
loop % hours * 720
{
if (go := 0)
click down right
if (xy = "up")
mousmove,, -1, r
if (xy = "down")
mousmove,, 1, r
if (xy = "left")
mousmove -1,, r
if (xy = "right")
mousmove 1,, r
send {printscreen}
click up right ; let go before continuing
sleep 2000
}
go := 0 ; loop has finished
}
:-( i still wuv you dave.
