| View previous topic :: View next topic |
| Author |
Message |
JOshdublu Guest
|
Posted: Sun Jun 15, 2008 5:19 pm Post subject: Need script to press space every two minutes |
|
|
| I am looking for a script to press space bar every two minutes. I want the space bar to be my hotkey. If anyone can help, its be appreciated. Thank you. |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Jun 15, 2008 8:23 pm Post subject: |
|
|
| so... let me get this strait... when you press space, it waits 2 mins and presses space again? |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Jun 15, 2008 8:42 pm Post subject: |
|
|
| yeah..i want it to repeat pressing space |
|
| Back to top |
|
 |
2 minutessss Guest
|
Posted: Sun Jun 15, 2008 9:58 pm Post subject: |
|
|
| Code: | loop
{
sendinput {space}
sleep, 120000
}
return
esc::
exitapp
return |
|
|
| Back to top |
|
 |
dearmite
Joined: 16 Jun 2008 Posts: 9
|
Posted: Mon Jun 16, 2008 2:57 am Post subject: |
|
|
| 2 minutessss wrote: | | Code: | loop
{
sendinput {space}
sleep, 120000
}
return
esc::
exitapp
return |
|
esc::
what the mean?? |
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 853 Location: London, UK
|
Posted: Mon Jun 16, 2008 3:25 am Post subject: |
|
|
esc:: = Create a new hotkey to be launched when pressing the escape key. _________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 8:25 pm Post subject: |
|
|
t::
Send f
Send r
Click 589, 122
return
I want a delay between the pressing of F, r and the click. How do I delay the time when it is pressed? |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 935 Location: The Interwebs
|
Posted: Mon Jun 16, 2008 9:29 pm Post subject: |
|
|
| Code: | t::
Send f
sleep somelengthoftimeinmilliseconds
Send r
sleep somelengthoftimeinmilliseconds
Click 589, 122
sleep somelengthoftimeinmilliseconds
return |
|
|
| Back to top |
|
 |
|