Sign in to follow this  
Followers 0
Bogz

Hotkey not working

8 posts in this topic

this is what ive made and it doesnt work. im also new to autoit :)

HotKeySet("{F6}", "start")
HotKeySet("{F7}", "close")
 
While 1
   Sleep (100)
WEnd
 
Func start()
   MouseClick("left",35,423,2)
   MouseClick("left",42,386,2)
   MouseClick("left",541,509,1)
EndFunc
 
Func close()
    Exit 0
 EndFunc
 

Share this post


Link to post
Share on other sites



the hotkey sir.. what i want is to start it with F6 and keep it in the background so i wont click it again and again

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

i found out just now that it is working on my desktop but it isn't working on the app that im using..

im actually using a guitar app so i need to use hotkeys cause its hard holding a guitar and holding a mouse at the same time..

Edited by Bogz

Share this post


Link to post
Share on other sites

when im on the app if i press F6 it is not working, but when i clicked the desktop and pressed F6 it worked.

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