sharrakor Posted January 28, 2009 Posted January 28, 2009 Is there a way to do this? I've tried a few methods, to no avail... hotkeyset(mouseclick("middle"),"myexit");this does not work, of course. sleep(9000) Func MyExit() Exit EndFunc For people who want to copy and paste it to test.
PsaltyDS Posted January 28, 2009 Posted January 28, 2009 Is there a way to do this? I've tried a few methods, to no avail... hotkeyset(mouseclick("middle"),"myexit");this does not work, of course. sleep(9000) Func MyExit() Exit EndFunc For people who want to copy and paste it to test. The middle mouse button is not a "key" for HotKeySet(). You could run an AdLibEnable() function to monitor _IsPressed("04"). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Authenticity Posted January 28, 2009 Posted January 28, 2009 Nope, even "left" won't work because it's not how it works, read the help file, what is not stated as allowed either explicitly or implicitly it's not allowed. By system design you can't bind some keys or combination as hot-key
sharrakor Posted January 28, 2009 Author Posted January 28, 2009 (edited) I did read the help file. I didn't list the middleclick as an impossibility so I was hoping there was a way. I will look into AdLibEnable() Psalty. Thanks for the fast responses! Edited January 28, 2009 by sharrakor
Skruge Posted January 28, 2009 Posted January 28, 2009 You should be able to do this with MrCreator's _MouseSetOnEvent UDF. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]
sharrakor Posted January 29, 2009 Author Posted January 29, 2009 Sweet, thanks skruge. Will look into that.
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