I could of course duplicate for every other supported browser but it feels like there is probably a way to include the alternatives in the WinGetTitle line somehow
Tried lots of variations but nothing as yet has worked so would appreciate if someone who knows how to essentially OR in the WinGetTitle area could point out the method, Thanks LMR
Code: Select all
^9::
WinGetTitle, WinT, ahk_exe Chrome.exe
If InStr(WinT,"dynalist")
{
MsgBox,
(LTrim
SEARCHING
Ctrl f `t`t`t`t` Search in current document
Ctrl f then Ctrl Enter `t`t` Search all
)
}
Else
WinGetTitle, WinT, ahk_exe Chrome.exe
If InStr(WinT,"Outlook")
{
MsgBox,
(LTrim
Using Gmail shortcuts in Settings
? - shortcuts
Ctl a - select all messages
Sft i - mark as read
Sft u - mark as unread
)
}
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code! Thank you.]