Is there a way to have certain programs not receive global hotkeys that other programs are using?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
QuackLot
Posts: 1
Joined: 28 Jan 2022, 06:08

Is there a way to have certain programs not receive global hotkeys that other programs are using?

Post by QuackLot » 28 Jan 2022, 06:14

I have a push to talk hotkey for discord that I don't want in focus programs to receive. How can I go about this?

amateur+
Posts: 655
Joined: 09 Oct 2021, 15:43

Re: Is there a way to have certain programs not receive global hotkeys that other programs are using?

Post by amateur+ » 28 Jan 2022, 10:36

I think other programs "don't see" ahk-hotkeys unless you used ~prefix to your hotkey. So you can just resend your hotkey to discord with a help of ahk Send or ControlSend commands.
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.

monatilda23
Posts: 26
Joined: 25 Jan 2022, 10:24

Re: Is there a way to have certain programs not receive global hotkeys that other programs are using?

Post by monatilda23 » 28 Jan 2022, 13:45

greetings, @QuackLot , try microsoft-powered app "PowerToys". just google it, it has option to set a specific hotkey for each program.

Post Reply

Return to “Ask for Help (v1)”