Sign in to follow this  
Followers 0
Jmjl

I Need Help!

2 posts in this topic

#1 ·  Posted (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 by Jmjl

Share this post


Link to post
Share on other sites



HotKeySet("{F4}","YourScript")
While 1
   Sleep(100)
Wend

Func YourScript()
  ; stuff you awant to do when F$ is pressed
EndFunc


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0