Export a macro as APP to put at Dock or as login item?

Export a marco as APP to put at Dock or as login item?
So we don't have to create a automator APP to press that key shortcut to run it >-<

1 Like

Have you tried the Login Trigger?

1 Like

Hi @rockman. For the dock, one option is to create a stub app created using Script Editor (or better yet Script Debugger).

For the Script Editor, here are the steps: Save a script as an app in Script Editor on Mac - Apple Support

The following macro can be use to create the AppleScript code...

Also take a look at the Trigger File trigger -- select your macro in the Editor, File->Export->Export as Trigger File... and save it somewhere on your drive. You can then drag the trigger file into the Dock (to the section with the Waste Bin) or add it as a Login Item.

2 Likes

Oh, that's cool, @Nige_S. If I knew about that feature, I had forgotten. :thinking: I should of known that @peternlewis had that base covered.

Undoubtedly Trigger File is simplest method if @rockman does not need to specify a parameter which the macro reads via the %TriggerValue%

1 Like

Yeah, it's a pretty cool feature, and yes, it's definitely one of those typically great things Peter comes up with. :slight_smile:

3 Likes