Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question
    
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
add comment

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:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.