| View previous topic :: View next topic |
| Author |
Message |
mighty-f
Joined: 12 Sep 2005 Posts: 216
|
Posted: Wed Sep 14, 2005 11:19 pm Post subject: Loop control |
|
|
if i have a script like this maximize and minimize a Word document 10 times, now if i want to use the "pause"
command here, to pause the script after the loop has run 3 times,
How to do that?
Here is the script:
loop 10
{
winmaximize bravo - Microsoft Word
sleep 2000
winminimize bravo - Microsoft Word
sleep 1000
} |
|
| Back to top |
|
 |
Hotfoot
Joined: 14 Sep 2005 Posts: 21
|
Posted: Thu Sep 15, 2005 3:43 am Post subject: |
|
|
How about this? Use a hotkey to pause and un-pause.
| Code: |
Loop 10
{
winmaximize bravo - Microsoft Word
sleep 2000
winminimize bravo - Microsoft Word
sleep 1000
}
ExitApp
#1::Pause ; Press Win-1 anytime to pause or continue
|
|
|
| Back to top |
|
 |
mighty-f
Joined: 12 Sep 2005 Posts: 216
|
Posted: Thu Sep 15, 2005 4:02 am Post subject: |
|
|
thanks for you reply... it worked well
by the way, i have seen also a "suspend hotkeys"
when i right click any hotkey that is at my system tray.
Will it terminate all hotkeys? |
|
| Back to top |
|
 |
Hotfoot
Joined: 14 Sep 2005 Posts: 21
|
|
| Back to top |
|
 |
|