If I want to manually create a Chrome Application Shortcut, I know that I have to point it to the Chrome executable and pass it the URL to the site.

But what argument to I pass so that it opens in an application style window instead of just opening in a new tab in my open Chrome window?

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

I was able to accomplish this using the --app="[url]" switch like so:

/opt/google/chrome/google-chrome --app="http://www.pandora.com"

I would speculate that it would work the same in windows if pointed to the chrome.exe file.

You can find this command and others here.

link|improve this answer
In Windows, I used Chrome to create an application shortcut, then looked at the shortcut properties. It does indeed use "chromepath\chrome.exe" --app="url" – Bavi_H Oct 16 '10 at 3:00
feedback

Looking at this and this, it does not appear to be possible to create a new window using arguments passed to Chrome.

link|improve this answer
If you go back and look at your first link, it actually has the --app switch that I was able to use. – gabriel1836 Oct 15 '10 at 5:18
Yup: "Specifies that the associated value should be launched in "application" mode. --app" – Wuffers Oct 16 '10 at 19:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.