eMOO Posted April 23, 2009 Share Posted April 23, 2009 Okay, I have searched and found posts similar to this, but not one to answer my exact question. If autohotkey I was able to assign the thumb button aka Mouse Button 4 by using the name "XButton1" is there no easy way to set a hotkey for my mouse buttons?! the closest thing I found was an "_IsPressed()" function... seems overly complicated, if nothing else - is there a way to find how my "Razer Mouse Driver" sets the button in windows and make THAT the hotkey? even if the command is like "0aa6611" or something, I dont care... just give me something I can use. ps. yes i know there is an easy fix... i could use my driver to make my mouse button be just a normal key like "J" or "K" but that is not what i am looking for. Link to comment Share on other sites More sharing options...
FinalVersion Posted April 23, 2009 Share Posted April 23, 2009 This has been answered plenty of times before, use the search function next time. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
eMOO Posted April 24, 2009 Author Share Posted April 24, 2009 Are you a troll? I said I searched, the only thing I found was _IsPressed() - is there another method? Link to comment Share on other sites More sharing options...
Bert Posted April 24, 2009 Share Posted April 24, 2009 Look herehttp://www.autoitscript.com/forum/index.php?showtopic=5760And before you comment saying this is not what you asked for, _IsPressed is what you HAVE to use. HotSetKey is not designed for a mouse. The Vollatran project  My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
picea892 Posted April 24, 2009 Share Posted April 24, 2009 alternatively can use a mousehook, but if you think that an _ispressed is too complicated then you certainly won't like using a mouse hook. Search the forum you'll find it. Link to comment Share on other sites More sharing options...
FinalVersion Posted April 24, 2009 Share Posted April 24, 2009 if you think that an _ispressed is too complicatedIf eMOO actually thinks _IsPresses function is to hard / complicated then I suggest you actually go learn some basics of AutoIt then come back to this. And loose the attitude eMOO. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
picea892 Posted April 24, 2009 Share Posted April 24, 2009 http://www.autoitscript.com/forum/index.ph...=GUIRegisterMsg Link to comment Share on other sites More sharing options...
Mike23 Posted April 24, 2009 Share Posted April 24, 2009 you can also use a macro program in windows. for example link ctrl + 4 to mouse button4 and use ctrl + 4 in autoit . mike Link to comment Share on other sites More sharing options...
eMOO Posted April 25, 2009 Author Share Posted April 25, 2009 If eMOO actually thinks _IsPresses function is to hard / complicated then I suggest you actually go learn some basics of AutoIt then come back to this. And loose the attitude eMOO. I didn't think it was too hard... I have since then understood how to use it... but from being a fairly basic users with a basic understanding... the _IsPressed function is extremely complicated. Thanks for the replies to the people who were helpful I currently use it this way... if anyone has an other suggestions on how to use it, tell me - but it works! If _IsPressed(05) Then IniDelete ( "user.ini", "Looting" ) $Inv = MouseGetPos() IniWrite("user.ini", "Looting", "xInv", $Inv[0]) IniWrite("user.ini", "Looting", "yInv", $Inv[1]) EndIf Link to comment Share on other sites More sharing options...
picea892 Posted April 25, 2009 Share Posted April 25, 2009 Hi I understand (people correct me if I'm wrong) that you can speed up the _ispressed by precalling the DLL. Below is a cut and paste from the helpfile. Perhaps consider adding the DLL related, #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("23", $dll) Then MsgBox(0,"_IsPressed", "End Key Pressed") ExitLoop EndIf WEnd DllClose($dll) 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