![]() But I haven't bothered to try to fix it - I keep the two browsers on separate desktops, and navigating between them hasn't been a problem. But open is much more powerful than that. That will open the defined app named ApplicationName. Type terminal in the space and you will see the Terminal utility in the result. The Terminal command to launch MacOS gui apps is appropriately called ‘open’ and here is how it works at it’s most simple: open -a ApplicationName. Or use the keyboard shortcut by pressing the Command Space keys. However, sooner or later, Chrome rereads its icon file and gets the one corresponding to whichever of the two apps was started last, resulting in two running applications with the same icon. Opening Mac OS X Applications from the Command Line. The first line is an unsuccessful attempt to give the two applications distinct icons. The second line starts Chrome with the alternate profile (the -user-data-dir parameter). Here is the one for altChrome: do shell script "cd /Applications/Google\\ Chrome.app/Contents/Resources/ rm app.icns ln /Users/garbuck/local/chromeLaunchers/Chrome-swirl.icns app.icns"ĭo shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome -user-data-dir=/Users/garbuck/altChrome >/dev/null 2>
0 Comments
Leave a Reply. |