Guest duckmancornfed Posted August 29, 2004 Share Posted August 29, 2004 Hello, I was wondering if someone could please help me with a little program that I am currently attempting to make. It is a simple program that when you press a hotkey such as "D" then it presses F9 then rightclicks, then press F7 then rightclicks. I would also like this program to stay open until I manually close it. TY for the help, And I did attempt to read the help file but Im confused with the functions. HotKeySet("{PAUSE}", "Send({"f9"}), Mouseclick("right"), Send({"f7"}), Mouseclick("right")") Link to comment Share on other sites More sharing options...
CyberSlug Posted August 29, 2004 Share Posted August 29, 2004 HotKeySet("{PAUSE}", "myFunc") ;Body of program--endless loop of waiting for keypress While 1 sleep(100) WEnd Func myFunc() Send("{F9}") MouseClick("right") Send("{F7}") MouseClick("right") EndFunc Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
ezzetabi Posted August 29, 2004 Share Posted August 29, 2004 Yes, hotkeyset can just summon a function. 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