Command-Line Option to Open Chrome in New Window and Move Focus
The default behavior of running chrome via the command-line:
chrome www.google.com
opens a new tab in an existing instance of chrome
and moves the focus from the terminal to the newly created tab.
Adding the new-window
switch:
chrome --new-window www.google.com
opens chrome in a new window but does not move the focus.
What options should I use to open a new window but also switch focus to that window?
Note: I'm using Windows 7.
Solution 1:
try this one
start chrome /new-window www.google.com
opens google.com in a new instance of chrome.
Solution 2:
Try to use this extension which solves this bug: Chrome New Window Focus.