In Apple Mail, I'd like to make my macro group:
Available when a focused window title contains: Inbox OR Sent
Is this possible? I've tried several things:
Inbox|Sent
Inbox\|Sent
"Inbox|Sent"
"Inbox\|Sent"
(Inbox|Sent)
Related:
Can I have it match against an empty title? For example
Available when a focused window title does not match: [an empty title]
Tom
#2
Set the condition to “…matches” (not “contains”):

Try with
.
or
.+
4 Likes
Thank you so much! Changing the condition got things working.
I was unable to get the empty title to match with either of those but it is hard to tell exactly what mail is doing in a new message.
Tom
#4
Just checked it, the window name of a New Message window seems always to be New Message
, even if not displayed in the title bar of the window:

Indeed, this works for me:
