Unc3nZureD Posted December 15, 2010 Posted December 15, 2010 I tried to set the Left Mouse button as a hotkey, but i failed I tried a lot of variation - i watched the Help file... Nothing. Is there any way to let me use the Left Mouse button as a Hotkey? Example: HotKeySet("{??mouse??}", "Newb") While 1 Sleep(100) WEnd Func Newb() Send("Test") EndFunc I hope anywho can help me.
wakillon Posted December 15, 2010 Posted December 15, 2010 Try like this #Include <Misc.au3> Global $_Dll = DllOpen ( "user32.dll" ) AdlibRegister ( "_Check" ) While 1 Sleep ( 10 ) WEnd Func _Check ( ) If _IsPressed ( "01", $_Dll ) Then Exit ; 01 Left mouse button EndFunc AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
kra55 Posted March 13, 2011 Posted March 13, 2011 (edited) how would one use this for mouse button 4 - i tried putting 04 instead of 01 but it did not work - sorry to open an old thread. and 5 i guess Edited March 13, 2011 by kra55
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