Add Chrome to dock with parameters via Automator with chrome icon 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.
This worked for me: defaults write com.apple.dock persistent-apps -array-add "&lt;dict&gt;&lt;key&gt;tile-data&lt;/key&gt;&lt;dict&gt;&lt;key&gt;file-data&lt;/key&gt;&lt;dict&gt;&lt;key&gt;_CFURLString&lt;/key&gt;&lt;string&gt;/Applications/Chess.app/&lt;/string&gt;&lt;key&gt;_CFURLStringType&lt;/key&gt;&lt;integer&gt;0&lt;/integer&gt;&lt;/dict&gt;&lt;/dict&gt;&lt;/dict&gt;"; killall Dock.

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


How can I force command-line arguments to a program shortcut in the dock?
How do I pass command line arguments to Dock items?
How to set launch options for programs on OS X