Default value to launch application


I have a macro which prompts for user input and one of the tokens is a dropdown list, in this case the options are DP, S1, Reason or PT.

I'm trying to figure out how could I use the token selected from that dropdown list to then activate a specific application? So if I select Reason from tokens dropdown list the macro will then activate Reason or bring it to the front if already open.

Screen Shot 2023-11-04 at 20.14.28

Thank you for help!


Here is one example to get to your result. I don't have Reason but you will figure out a solution from my example. In this case, I'll show a Switch/Case Action.


When using Keyboard Maestro and when communicating, on the Keyboard Maestro Forum, be sure to understand the difference between calling items a Variable and what you call a Token. The usage, between the two, is different.

I hope this helps. Let us know if it doesn't.


This will open your chosen DAW while accommodating for incomplete application names.

For example, if you wanted to open Cubase 12, you could enter just Cubase into the prompt field and it would still open. If you do use an abbreviated app name in this way and multiple versions of Cubase exist, you'll be prompted to choose one.

Given your actual example, you can't use DP for Digital Performer, but you can use Performer.

New Recording Project.kmmacros (27 KB)

Macro screenshot

1 Like

I have a totally different solution that you may find interesting. You can put a menu for your favourite apps up in the system tray, and when you click on it you will see something like this:

Screenshot 2023-11-05 at 4.09.43 AM

That's pretty cool, thanks for the idea. But I can't upload this macro here because most of the work occurs in the macro folder settings, and I don't think macro folders can be uploaded here. If you want, I can explain here how to do it.