0

I need to have started Chrome without the build in Flash

via console you add the Parameters

--disable-internal-flash

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? – Nicholas Smith Sep 13 '12 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 – Dukeatcoding Sep 13 '12 at 9:30
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 .