Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 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.

share|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

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

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .