19

I am working on multiple screens on macOS. When I intend to open a new chrome window (not a tab), I have to press + Tab to shift focus from another app to the current browser app and activate the new window menu by keying ^ + N.

If input command

open https://apple.stackexchange.com

A new tab created not a new window.

1 Answer 1

29
open -na "Google Chrome" --args --new-window "https://georgegarside.com"

-n opens a new instance of an application. Google Chrome detects this and remedies the situation by closing the new instance and passing the tab’s location to the first instance, but this is necessary to force arguments to be read.
--args indicates what's to follow are arguments to be passed to Google Chrome, not open.
--new-window is a Google Chrome argument to force a new window to be created.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .