Unc3nZureD 13 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. Share this post Link to post Share on other sites
wakillon 403 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 Share this post Link to post Share on other sites
Unc3nZureD 13 Posted December 15, 2010 Nice, Thanks! Share this post Link to post Share on other sites
kra55 0 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 Share this post Link to post Share on other sites