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 

Cant seem to figure out how to do a simple delay :(

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





PostPosted: Fri Aug 20, 2004 5:42 pm    Post subject: Cant seem to figure out how to do a simple delay :( Reply with quote

OK im a complete coding noob... the script below does what i want it to do, but I need it to have a 30 second delay between loops. In other words, i want it to perform these actions every 30 secs.... I tried setkeydelay 30000 and setmousedelay 30000 but neither seemed to work... can someone help? maybe i had em in the wrong spot :\




^a::
Loop 2
{
MouseClick, left, 28, 144
MouseClick, left, 630, 315
Send, s
}
Back to top
Jon



Joined: 28 Apr 2004
Posts: 373

PostPosted: Fri Aug 20, 2004 5:52 pm    Post subject: Reply with quote

http://www.autohotkey.com/docs/commands/Sleep.htm
Back to top
View user's profile Send private message Send e-mail
Titan



Joined: 11 Aug 2004
Posts: 5376
Location: /b/

PostPosted: Fri Aug 20, 2004 10:12 pm    Post subject: Reply with quote

Put in the line:

Code:
Sleep, 1000 ;or how many millerseconds you want to delay
Back to top
View user's profile Send private message Visit poster's website
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