AndreyS Posted August 5, 2010 Share Posted August 5, 2010 Hello! Prompt please why after using the command "Send" I can not disable the triggering of a hotkey. Hotkey (Ctrl+F) still continues to run func1 HotKeySet ("^f", "func1") Send ("(CTRLDOWN) (LSHIFT) (CTRLUP)") HotKeySet ("^f") Thank you! Link to comment Share on other sites More sharing options...
Developers Jos Posted August 5, 2010 Developers Share Posted August 5, 2010 Hello! Prompt please why after using the command "Send" I can not disable the triggering of a hotkey. Hotkey (Ctrl+F) still continues to run func1 HotKeySet ("^f", "func1") Send ("(CTRLDOWN) (LSHIFT) (CTRLUP)") HotKeySet ("^f") Thank you! should work fine. Post a scriptlet that demonstrates your issue as this clearly doesn't. 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. Link to comment Share on other sites More sharing options...
AndreyS Posted August 5, 2010 Author Share Posted August 5, 2010 Disable the shortcut (Ctrl + F) occurs only if I turn it to the command "Send"! If you run HotKeySet ("^ f") after the command "Send" then the key combination (Ctrl + F) continues to call the function "func1"! And to me that it was not run! Please check again later! Link to comment Share on other sites More sharing options...
AndreyS Posted August 5, 2010 Author Share Posted August 5, 2010 Sorry! You're right! The combination of off but only if the English keyboard layout. It can tell my how to make the trip and the combination works when you select another keyboard layout? Thanks! Link to comment Share on other sites More sharing options...
AndreyS Posted August 6, 2010 Author Share Posted August 6, 2010 Found that, unfortunately, the function HotKeySet strictly tied to the current keyboard layout and to enable / disable triggering combinations need to write code in exactly the letter that corresponds to the current keyboard layout. The best way is not found... 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