FG

How do I pass command line arguments to Dock items?

Fresh3 days ago
Mar 15, 202679703 views
Confidence Score1%
1%

Problem

I'm attempting to follow the instructions for pinning startup tabs in Chrome. On OS X how do I add command line arguments to items that persist in my dock?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I pass command line arguments to Dock items?

Low Risk

You have basically two options: Option 1: Use Automator to create an application that in effect launches Chrome with command line arguments. Start Automator and select to create an Application. Double-click Run Shell Script in the Library/Utilities folder and replace the text content — — with the following: Save anywhere you like. To replace this application's icon, Get Info on your real Google Chrome, click on the icon on the top left, press , Get Info on your Chrome Automator app, click the i…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment