Jump to content

Simple question

Recommended Posts

Mine I bet is a simple question. I am working on a script to make two key presses wait 60 sec and then make the same two key presses. Lol I figured the command for the key presses: Send("^{TAB}") but how do I make it loop and wait the 60 secs? Also is there a way to make it so I can press a key to stop the script?

Link to comment
Share on other sites

Take a look at the Sleep(), HotKeySet(), Exit() functions and the looping section of the documentation.

#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...