Code: Select all
A::
{
E
sleep, % ran(350, 450)
B
sleep, % ran(350, 450)
F
sleep, % ran(350, 450)
D
sleep, % ran(350, 450)
E
return
}
Like he opposite of the $ function.
Code: Select all
A::
{
E
sleep, % ran(350, 450)
B
sleep, % ran(350, 450)
F
sleep, % ran(350, 450)
D
sleep, % ran(350, 450)
E
return
}
Really? That would really surprise me. I think your script has syntax errors.BuntyJs wrote:it works great
Code: Select all
a::
gosub dosomething
sleep 400
Somefunction()
;sleep, 400
;run someother.ahk
return
e:: ; optional, if you want to be able to trigger the msgbox also by pushing a key.
dosomething:
msgbox something
return
Somefunction(){
msgbox function
}