However, you can do it by passing the Chrome command line switches directly to the Chrome binary: /Applications/Google\ Chrome. Open a URL in Chrome in an incognito window always:įrom man open, it would seem that you should be able to do it like this (but alas it does not seem to get the incognito option to Chrome): open -a "Google Chrome" -args -incognito Google Chrome is a fast web browser available at no charge. Open a URL in Chrome always (using the bundle identifier alternative syntax): open -b Open a URL in Chrome always (using the app path alternative syntax): open -a /Applications/Google\ Chrome.app/ Open a URL in Chrome always (using the app name): open -a "Google Chrome" Open a URL in the default browser (could be Chrome): open There are several helpful answers here but none that contain the complete info for opening a URL in Chrome in both cases whether it is or is not the default browser.
0 Comments
Leave a Reply. |