GianAutoitprogrammer Posted May 28, 2011 Share Posted May 28, 2011 Hellow I will ask a very simple question about Hotkeys I dont know how to HotkeySet("{UP}{left}", "Upandleft") Global $paused HotKeySet("{UP}{Left}", "upandleft" While 1 Sleep(100) WEnd Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc Func UpandLeft () Msgbox(64, "Upandleft", "Up and left pressed!") EndFunc Link to comment Share on other sites More sharing options...
sleepydvdr Posted May 28, 2011 Share Posted May 28, 2011 HotKeySet("{UP}+{Left}", "upandleft") #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
GianAutoitprogrammer Posted May 28, 2011 Author Share Posted May 28, 2011 @sleepydvdr tnx Link to comment Share on other sites More sharing options...
somdcomputerguy Posted May 28, 2011 Share Posted May 28, 2011 (edited) Perhaps this too will help, Also read about the <b>@HotKeyPressed</b> macro here, HotKeySet.<br> Edited May 28, 2011 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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