I am new to this.
I am trying to run this every 3 minutes, with and endless loop and "1" as the stop key
WinWait, Program Manager,
IfWinNotActive, Program Manager, , WinActivate, Program Manager,
WinWaitActive, Program Manager,
Send, {PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}
WinWait, RightBed :: Bed Board - Windows Internet Explorer,
IfWinNotActive, RightBed :: Bed Board - Windows Internet Explorer, , WinActivate, RightBed :: Bed Board - Windows Internet Explorer,
WinWaitActive, RightBed :: Bed Board - Windows Internet Explorer,
MouseClick, left, 245, 210
Sleep, 100
How do i do this?
Run loop every 3 minutes endlessly
Started by
edoggy88
, Jun 06 2012 08:32 PM
3 replies to this topic
#1
-
Posted 06 June 2012 - 08:32 PM
Hi!
To Run "X" set of instructions every "Y" ammount of time, the best option is Settimer.
To Run "X" set of instructions every "Y" ammount of time, the best option is Settimer.
Settimer, Instructions, 18000 ; 18.000 ms = 3 minutes return Instructions: WinWait, Program Manager, IfWinNotActive, Program Manager, , WinActivate, Program Manager, WinWaitActive, Program Manager, Send, {PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP}{PGUP} WinWait, RightBed :: Bed Board - Windows Internet Explorer, IfWinNotActive, RightBed :: Bed Board - Windows Internet Explorer, , WinActivate, RightBed :: Bed Board - Windows Internet Explorer, WinWaitActive, RightBed :: Bed Board - Windows Internet Explorer, MouseClick, left, 245, 210 Sleep, 100 return 1::Settimer, Instructions, off
#2
-
Posted 06 June 2012 - 08:42 PM
All in all is all we are ~
Thanks, will this be an endless loop? Sorry! Extremely new at thins
#3
-
Posted 06 June 2012 - 09:40 PM
The 'SetTimer' command runs the specified subroutine at the specified interval.
The above example would run 'RoutineX' every 50 miliseconds.
SetTimer, RoutineX, 50
The above example would run 'RoutineX' every 50 miliseconds.
#4
-
Posted 07 June 2012 - 12:11 AM