Keyboard Maestro 8.0.4 “Super Swap” Macro

Thanks for sharing. This looks like a very useful macro! :+1:

Why don't you add it (and any other great macros you have) to the Best Macro List.

Excellent point. I also use scripts instead of KM IF/THEN or SWITCH actions for complicated workflows.

However, I have to say that the KM Switch or Case action (KM Wiki) is very powerful and easy to use, and to add new cases to in the future.

Sounds interesting. Would mind describing your method for us non-Perl users? I might like to use it in AppleScript and JXA scripts.

Thanks again.