Jump to content

Use Mouse Buttons as a hotkey with _ispressed


 Share

Recommended Posts

I have a Kensington Optical Elite Mouse and it has two extra buttons.I used this

While
     if  _IsPressed ("05"); Check if VK_XBUTTON1 then
     ToolTip ("VK_XBUTTON1 Pressed")
     Do
     Until Not _IsPressed ("05")
     EndIf
Wend

It works fine except windows explorer also finds out the key is preesed and

does a back command as if you clicked the back button.

I tried goinging into Kensington Mouse works (the software to configure my mouse nd set the button to do nothing but then autoit does find out the key being pressed.How can i make it so only autoit sees the key being pressed.(similar to hotkey func)

Thanks in advance,

SolidSnake

Edited by SolidSnake
HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Link to comment
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
 Share

  • Recently Browsing   0 members

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