With AutoHotkey on Windows you can associate a shortcut to open a URL - web page or link - in the default browser with the following script:
^!g::Run https://mail.google.com/
This will open Gmail in a new tab in the last active window when pressing CTRL+ALT+G.
How can I do same, but open the URL in a new window instead?