t0ddie Posted May 11, 2007 Share Posted May 11, 2007 (edited) i run this and it works but not on my friends computer.. it pauses the script automatically. i even hid the icon but the hotkey does nothing for him. Opt ('WinTitleMatchMode', 4) Opt ("PixelCoordMode", 2) HotKeySet("z","yes") #NoTrayIcon Do sleep(100) $stoplog = PixelGetColor (1, 1) Until $stoplog = 263172 or $stoplog = 526344 or $stoplog = 1024 MsgBox(0,"test","this part works") func yes() MsgBox(0,"test",$stoplog) EndFunc Edited May 11, 2007 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 11, 2007 Share Posted May 11, 2007 Why set "WinTitleMatchMode", when you don't use any WinTitle's? Did you forget a WinActivate() or some such? Also, read the help file for HotKeySet(). There are lots of conditions that might cause a HotKey to not get set. You might try an odder key like Alt-q, "{!q}". Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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