Is There a Way to Create Multiple "Paths" From One Macro?

I use Google Docs and Sheets a lot for school, and I've created individuals path depending if the window has "docs" vs "sheets" in the window title. I do this by using the "if then" macro. However, this means that I'm only limited to 2 "paths" for a macro.

If I want to create 3 unique paths of action from 1 hotkey, is there a way to create that under 1 macro? For example, if I want CMD+1 to do perform specific paths for a window title with google "docs" vs "sheets" vs "slides"

Add another IF/THEN to the "THEN" part of your first IF/THEN

…IF docs ELSE …IF sheets ELSE slides…

You can use the Switch/Case action - https://wiki.keyboardmaestro.com/action/Switch_or_Case

It's like multiple If Then/Else actions but easier to read.

1 Like

alternative to @tiffle solution, create a Group for each:

Screen Shot 2020-11-27 at 11.57 AM

Screen Shot 2020-11-27 at 11.58 AM

That way you can group them by title as well

3 Likes