Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Sep 28 '12 at 13:16

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

marked as duplicate by ؘؘؘؘ, 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.

1 Answer 1

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.app/Contents/MacOS/Google\\ Chrome --allow-outdated-plugins &
killall ChromeScript.app"

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

**BE SURE TO NAME YOUR FILE ChromeScript FOR THE APPLESCRIPT TO WORK CORRECTLY

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