From Windows Vista (in VBA, but it probably doesn't matter) I open web pages
Shell ("C:\Users\" & Environ$("Username") & "\AppData\Local\Google\Chrome\Application\Chrome.exe -url " & URL)
I would like these pages to be open in certain windows. I came across the -new-window switch, but this always creates a new window. I would like to always switch to a predefined window, and only if it does not exist, open a window for it.
eg.
...Chrome.exe -window mywindowA -url URL1 ...Chrome.exe -window mywindowB -url URL2 ...Chrome.exe -window mywindowA -url URL3
should not affect other open windows and instead open 2 new ones, one of which contains URL1 and URL3, the other URL2.
Rob
source share