Gif Posted May 16, 2007 Posted May 16, 2007 how can i enable a hotkey function only when my GUI is selected (not just active...) for example on msn the enter hotkey (which is the send function) only works when the conversation is selected...
James Posted May 16, 2007 Posted May 16, 2007 Make the function use WinWaitActive and WinActive. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
PsaltyDS Posted May 16, 2007 Posted May 16, 2007 how can i enable a hotkey function only when my GUI is selected (not just active...)for example on msn the enter hotkey (which is the send function) only works when the conversation is selected...Perhaps you mean when a GuiCtrl is selected or is the focus, vice the GUI itself. If so, check out ControlGetFocus(). 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
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