| View previous topic :: View next topic |
| Author |
Message |
moavia hassan
Joined: 19 Nov 2004 Posts: 14
|
Posted: Mon Nov 22, 2004 1:41 am Post subject: Timer Function |
|
|
| How can I press ESC after 10 minutes using a hotkey in win 98. Kindly provide the code. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Mon Nov 22, 2004 5:10 am Post subject: |
|
|
| Code: | !P::
Sleep, 600000
Send, {Esc}
return |
|
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Nov 22, 2004 11:07 am Post subject: |
|
|
@ moavia hassan
Hi Hassan, would you mind to change your signature ?
I think it could be a l'ill confusing as it looks like a request for help.
Thx. |
|
| Back to top |
|
 |
moavia hassan
Joined: 19 Nov 2004 Posts: 14
|
Posted: Tue Nov 23, 2004 2:04 am Post subject: Timer function |
|
|
| Thankx Jonny.But I want to Press Esc without pressing any hotkey.And the hotkeys are not working in the games. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Tue Nov 23, 2004 2:50 am Post subject: |
|
|
| It works fine without the hotkey label. Just remove !P::, and the ten minutes will start when the script starts, and then the script will exit when it's finished. |
|
| Back to top |
|
 |
|