AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need script to press space every two minutes

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
JOshdublu
Guest





PostPosted: Sun Jun 15, 2008 5:19 pm    Post subject: Need script to press space every two minutes Reply with quote

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






PostPosted: Sun Jun 15, 2008 8:23 pm    Post subject: Reply with quote

so... let me get this strait... when you press space, it waits 2 mins and presses space again?
Back to top
Guest






PostPosted: Sun Jun 15, 2008 8:42 pm    Post subject: Reply with quote

yeah..i want it to repeat pressing space
Back to top
2 minutessss
Guest





PostPosted: Sun Jun 15, 2008 9:58 pm    Post subject: Reply with quote

Code:
loop
{
sendinput {space}
sleep, 120000
}
return

esc::
exitapp
return
Back to top
dearmite



Joined: 16 Jun 2008
Posts: 9

PostPosted: Mon Jun 16, 2008 2:57 am    Post subject: Reply with quote

2 minutessss wrote:
Code:
loop
{
sendinput {space}
sleep, 120000
}
return

esc::
exitapp
return


esc::

what the mean??
Back to top
View user's profile Send private message
Superfraggle



Joined: 02 Nov 2004
Posts: 853
Location: London, UK

PostPosted: Mon Jun 16, 2008 3:25 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Guest






PostPosted: Mon Jun 16, 2008 8:25 pm    Post subject: Reply with quote

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

PostPosted: Mon Jun 16, 2008 9:29 pm    Post subject: Reply with quote

Code:
t::
Send f
sleep somelengthoftimeinmilliseconds
Send r
sleep somelengthoftimeinmilliseconds
Click 589, 122
sleep somelengthoftimeinmilliseconds
return
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group