11-19-2017, 09:41 AM
Hi i want to create a simple macro with actions
it works fine but the part with calling action 1 is screwed its not stoping once its started here and need some help on it. Thanks.
opt save; opt slowkeys; opt slowmouse; spe 100
double F=1.0 ;;speed
int w1=act(win("application" "D3D Window"))
lef 488 374 w1 1; 0.90*F ;; 'app'
lef 426 285 w1 1; 0.57*F ;; 'app'
lef 434 285 w1 1; 1.39*F ;; 'app'
lef 517 367 w1 1 ;; 'app'
rep
mac "action 1" ;action 1 is in a loop and i call action 1 here want it to go for 1 minute
wait 60
mac-"action 1" ; this is supposed to stop action 1 loop but its not working
wait 05
'Y; 0.37*F ;; Enter
'text ;; text
opt restore
#endregion