I want an Autohotkey script which launches a new instance of Chrome and brings that new window to the forefront (active window).
My script is:
#c:: Run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -start-maximized --new-window www.google.com WinActivate, Google ; Window title is "Google"
What happens is this: if, prior to activating the hotkey there is any arbitrary window in focus, the browser instance launches in the background which is not what I want. If however the desktop or Taskbar has focus then my new Chrome window comes to the forefront as I want it to.