Sign in to follow this  
Followers 0
AndreyS

The problem of interaction "HotKeySet" and "Send"

5 posts in this topic

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!

Share this post


Link to post
Share on other sites



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.

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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. :blink:

The best way is not found...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0