I try to open an URL in chrome via cmd line. But I have some additional requerements:
- Use chrome app (solved by using chrome_proxy.exe with flags –app-id)
- Use special profile (solved by using flag –profile-directory)
- Just run that app once – another call should refresh the existing window instead of a creating a new one – no solution found
My current code is: “C:Program FilesGoogleChromeApplicationchrome_proxy.exe” –profile-directory=”Profile 1″ –app-id=xxx
I found this: https://peter.sh/experiments/chromium-command-line-switches/#app-launch-url-for-shortcuts-menu-item
But I can’t find a flag which will do what I need. In fact, thats a lot of flags… Maybe I can’t find it because I search “wrong”.
Can anyone help?