Jmjl Posted April 3, 2004 Share Posted April 3, 2004 (edited) I want to make a little AutoIT program... What it does is just sit in the system tray and waits for the user to press let's say F4 and when the user presses F4 it runs my script. The only part I don't know how to do is get it to wait until I've pressed F4. Edited April 3, 2004 by Jmjl Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2004 Developers Share Posted April 3, 2004 HotKeySet("{F4}","YourScript") While 1 Sleep(100) Wend Func YourScript() ; stuff you awant to do when F$ is pressed EndFunc SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now