have above macro but in the bring window
action I want to not do title containing
but title ends with
same how it's above in if
condition
how can I do it?
have above macro but in the bring window
action I want to not do title containing
but title ends with
same how it's above in if
condition
how can I do it?
Instead of "containing" use "matching" and use the regex $ sign after the text you want to match (the $ means "ends with")
Note that if the window title contains a file extension (in my case .pages because I was testing in pages and had a document open called nix.pages) you will need to include that if it is part of the window title.
For completeness, if you ever wanted to match a window title starting with some text you could use ^nix (which would match any window with a title starting with "nix")
Shouldn't it be ^nix rather than >nix ?
Of course you are right. Thanks for pointing out. I’ve corrected my post