AutoHotkey Community

It is currently May 27th, 2012, 9:59 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 5th, 2009, 5:31 pm 
Offline

Joined: April 5th, 2009, 5:26 pm
Posts: 6
Hello.
I am a complete noob making scripts and such.

I need to make a script to type some text then wait and type some text again.

And i need it to loop untill i press a key to exit the script.

To have a pause key works to.

This is what i came up with so far:

Code:
Sleep, 100
Send, Hello world
Sleep, 100
Send, Hello world again

Esc::Pause



Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2009, 7:11 pm 
Code:
Loop,
{
Sleep, 100
Send, Hello world
Sleep, 100
Send, Hello world again
}

Esc::ExitApp


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2009, 8:23 pm 
Offline

Joined: April 5th, 2009, 5:26 pm
Posts: 6
Simple as that! Thanks :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2009, 11:40 pm 
Offline
User avatar

Joined: May 29th, 2008, 4:51 am
Posts: 186
You're most welcome! :D

_________________
~BigVent


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, tomoe_uehara and 65 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group