ronin Posted July 10, 2004 Posted July 10, 2004 hmmm when i use hotkeys in a gui it wont work, only if the gui aint target, as soon i target the gui it ignore the the hotkey, and that really screws alot...
Developers Jos Posted July 10, 2004 Developers Posted July 10, 2004 Works fine when programmed correctly... So not sure what YOUR problem is ? HotKeySet("{END}","stop") Opt ("GUINotifyMode", 1) GUICreate("A Test", 290, 230, (@DesktopHeight - 290) / 2, (@DesktopHeight - 230) / 2, 0x04CF0000) GUISetControl("label", "Username:", 20, 10) $NOK = GUISetControl("button", "OK", 50, 190, 80, 20) $NCANCEL = GUISetControl("button", "Cancel", 150, 190, 80, 20) GUIShow() While 1 $MSG = GUIMsg(0) Select Case $MSG = -3 or GUIRead() = $ncancel Exit Case GUIRead() = $NOK ; whatever EndSelect Wend FUNC stop() if Msgbox(4,"End pressed","Do you want to stop this scrip?")= 6 then Exit EndFunc SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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