Jump to content

Recommended Posts

Posted

I want to make a simple macro that loops forever until I press the hot key.

Except I don't really understand loop

so I want it to be like

hotkey (which should be asterisk '*')

loop forever until hotkey

Send("{SPACE}")

loop forever until hotkey

end hotkey

  • Moderators
Posted

check the help file for Hotkeyset(), the While 1 / Wend is the loop there. Gives you the example of what you want to the 'T'

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
×
×
  • Create New...