I need to have started Chrome without the build in Flash

via console you add the Parameters


which works fine, now i would like to have a Dock Icon which passes this parameter along

I have an Automator.app which encapsules the start up, but how du i get it somehow automatically to the dock.

  • Do you mean how do you get the Automator.app file onto the Dock outside of just dragging it into place? Commented Sep 13, 2012 at 9:26
  • jep i have a commandline skript additemtodock found on the net but it's not working always, so i am looking for something to get it into the dock Commented Sep 13, 2012 at 9:30

1 Answer 1


This worked for me: defaults write com.apple.dock persistent-apps -array-add "<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>/Applications/Chess.app/</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>"; killall Dock.

Questions about adding applications with command line arguments to the Dock:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .