I am working on multiple screens.
when I intend to open a new chrome window(not a tab),I have to press 'CMD+Tab' to shift to the current and press 'Ctrl+N'.

If input command

open https://apple.stackexchange.com

A new tab created not a new window.

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.

  • fantastic blog georgegarside.com – Algebra Nov 16 '17 at 1:02
  • what's 'collapses' meaning here? – Algebra Nov 16 '17 at 7:14
  • @JawSaw I’ve replaced ‘collapses’ with a description of what happens, let me know if more help would be useful – grg Feb 22 at 15:18

You must log in to answer this question.

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