Jump to content

The problem of interaction "HotKeySet" and "Send"


Recommended Posts

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

  • Developers

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

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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...