phrase-level window exclusion

Discussion, questions and support.
Post Reply
Mikaelo
Posts: 5
Joined: May 11th, ’23, 07:13

Post by Mikaelo » May 11th, ’23, 07:25

Is there any way to exclude one concrete window for one concrete phrase in Text Expander? :?:
Negative value in content window - point 6. Or another way? :idea:
Thnx, Mike

https://www.fastkeysautomation.com/docu ... ander.html
Last edited by Mikaelo on May 11th, ’23, 11:40, edited 1 time in total.
perfectrecall
Posts: 18
Joined: Mar 20th, ’23, 08:48

Post by perfectrecall » May 11th, ’23, 10:58

I do not know another way to do it but you can use "Command" instead of "Send" and "Window" section or something. Then, to active just one window:

Code: Select all

IfWinActive ahk_class Notepad
Send Something
So, it will run in just Notepad.
To exclude just one window:

Code: Select all

IfWinNotActive ahk_class Notepad
Send Something
So, it will run in everywhere except Notepad.
Mikaelo
Posts: 5
Joined: May 11th, ’23, 07:13

Post by Mikaelo » May 11th, ’23, 11:44

thnx :D for idea :o
Mikaelo
Posts: 5
Joined: May 11th, ’23, 07:13

Post by Mikaelo » May 11th, ’23, 11:54

But I would like to completely disable / run String in this case ... Is it possible??
perfectrecall
Posts: 18
Joined: Mar 20th, ’23, 08:48

Post by perfectrecall » May 11th, ’23, 13:25

Yes. It will be completely disabled in the window that you code as "IfWinNotActive WindowClassName". You can try/practice with the basics because I'm not hundred percent sure I totally understand your case :)
Mikaelo
Posts: 5
Joined: May 11th, ’23, 07:13

Post by Mikaelo » May 11th, ’23, 13:58

I need disable launching string inserting in Outlook message but launching it in every other apps. :)
Post Reply