Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Garyed055

macrumors 6502
Original poster
Hi

is it possible to ad an instruction to a icon so it will execute the instruction to open the program. I'm running Sequoia on a 2013 mac pro by using OCLP and the only way to get Google crome to work correctly is to enter the following in the terminal


open /Applications/Google\ Chrome.app --args --use-angle=glœ

Is there a way to have the Icon run this when you just click it on the dock?

thanks

Gary
 
Open Script Editor (/Applications/Utilities/Script Editor), copy-paste the code:

AppleScript:
do shell script "open -a /Applications/Google\\ Chrome.app --args --use-angle=glœ"

save as an app and drag it into the Dock.
 
Open Script Editor (/Applications/Utilities/Script Editor), copy-paste the code:

AppleScript:
do shell script "open -a /Applications/Google\\ Chrome.app --args --use-angle=glœ"

save as an app and drag it into the Dock.
Thank you very much that works like a charm.

Gary
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.