I looked at the WinTitle docs: https://www.autohotkey.com/docs/misc/WinTitle.htm#Matching
I am sorry if this question has been asked before, I just can't find something similar now.
I am not sure how to use the logical not (!) for the WinTitle parameter?
I would like to use a hotkey if wintitle is not "Dokument1 - Word" and if ahk_class is "OpusApp". Is that possible?
Something like that:
Code: Select all
#IfWinActive, !Dokument1 - Word ahk_class OpusApp
F5::
Send, {ENTER}
Return