Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I run an application with command line arguments in Mac OS

I'm trying to make this flag run every time I launch Google Chrome on OSX: --allow-outdated-plugins

It works with the terminal, but I need it to be default with no need for the terminal.

share|improve this question

migrated from Sep 28 '12 at 13:16

This question came from our site for professional and enthusiast programmers.

marked as duplicate by user495470, 8088, Siim K, Indrek, MaQleod Sep 28 '12 at 21:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This script (quoted below) worked for me. No need for terminal whatsoever:

How to fix Adobe Flash issue on Mac OS X 10.5.8 with allow-outdated-plugins switch and restore Chrome functionality (step-by-step screen shots included):

Step 1. In Finder goto the Finder pull-down menu -> Services -> Script Editor -> Make New AppleScript

Step 2. Copy/Paste the following into Script Editor:

do shell script "/Applications/Google\\\\ Chrome --allow-outdated-plugins &

Step 3. Goto File -> Save As -> **FILENAME: ChromeScript (File Format: select "Application"; Options: make sure only "Run Only" is checked)


From now on you will use your new ChromeScript app to open Chrome. You can also replace your "old" Chrome icon in your launch bar with the new script for convenience. Remember to manually update your plugins once in a while because Chrome will no longer do it automatically.

Could you tell me how you run terminal though? It did not work no matter how I ran commands, so I'm just curious.

share|improve this answer