How to launch a Mac App with Command Line Parameters from the Dock

In this episode I’ll show you how to launch a Mac App from the Command Line, so that we can pass parameters. I’ll also explain how to wrap up such a command into your own app and add an icon to it, so that you can launch it from the dock with a single click.

This can be useful if you need to convince Google Chrome or any other app to launch with certain parameters and modify its behaviour somehow. In my example I’m using Blender, and I’m using a startup parameter to change its default render engine upon launch. The same principles apply to any app you need to launch with startup parameters.

The process is as follows:

  • find out the full path of the app you want to launch
  • try launching your app from the command line
  • now add parameters to the end of the launch command
  • create an Automator App
  • change its icon from from the generic Otto Icon to your desired app’s icon
  • drag your new launcher app into the dock

I’ll explain all the gory details in this video.

Enjoy!

Catch this episode on my WP Guru Podcast:

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

1 thought on “How to launch a Mac App with Command Line Parameters from the Dock

Leave a Reply to Gatsby Cancel reply