Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacklist of windows in which program should be entirely disabled #3

Open
Gewerd-Strauss opened this issue Jun 13, 2022 · 0 comments
Open

Comments

@Gewerd-Strauss
Copy link

Hello,

I am trying to figure out how to restrict this script from working in speciffc programs - f.e. Minecraft, because I am require capslock as the Sneak-key and am not keen to fight against 3k+ hours of muscle memory on that.

I tried:

  • `If !Winactive( - with&without respective titlematchmode set
  • returning early out of the capslock subroutine
    • doing the same while sending Capslock
  • fiddled with removing the hook of the hotkey

I am a bit out of ideas. My current workaround is to have an entire separate script to detect minecraft startup, kill of hotkeyR, then relaunch it when Minecraft/etc is closed. But that is a very bulky, ugly workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant