Hi there,
how would i achieve this ?
Any way to prevent a command being sent to a specific window / isolate keycommands to be sent only to 1 ?
Any way to prevent a command being sent to a specific window / isolate keycommands to be sent only to 1 ?
Last edited by gregster on 18 Nov 2023, 14:44, edited 1 time in total.
Reason: Moved topic from 'Scripts and Functions (v2)' to help subforum, since this post contains neither script nor function.
Reason: Moved topic from 'Scripts and Functions (v2)' to help subforum, since this post contains neither script nor function.
- DuckingQuack
- Posts: 221
- Joined: 20 Jan 2023, 18:20
Re: Any way to prevent a command being sent to a specific window / isolate keycommands to be sent only to 1 ?
#HotIf WinActive("WinTitle")
ControlSend(Key,Control,WinTitle)
You didn't give much in the way of details, but these are two ways to accommodate something along those lines.
https://www.autohotkey.com/docs/v2/lib/_HotIf.htm
https://www.autohotkey.com/docs/v2/lib/ControlSend.htm
ControlSend(Key,Control,WinTitle)
You didn't give much in the way of details, but these are two ways to accommodate something along those lines.
https://www.autohotkey.com/docs/v2/lib/_HotIf.htm
https://www.autohotkey.com/docs/v2/lib/ControlSend.htm
Best of Luck,
The Duck
The Duck