Jump to content

Recommended Posts

Posted

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.

Posted

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
Posted

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

Posted (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 by sharrakor

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...