title: How to open two instances of Chrome kiosk mode in different displays (Windows)
body: <p>We are developing a web application that needs to open in two different browser instances each on a different Screen. Obviously the pc we are using has dual display already, and both monitors have the same size and resolution.</p>
  
  <p>The idea is that as soon as Windows starts the two applications should open immediately in fullscreen, our preferred browser is Chrome as it counts with several commands that might help us accomplish the task.</p>
  
  <p>We have succeeded on adding to the startup programs two shortcuts that open two instances in kiosk mode, but we have not been able to choose on which Display to open.</p>
  
  <p>The shortcuts have this target: </p>
  
  <pre><code>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=c:\temp --kiosk www.domain.com --new-window "%1" --window-position=0,0
  
  "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=c:\temp --kiosk www.domain2.com --new-window "%2" --window-position=1680,0
  </code></pre>
  
  <p>In order to open two instances chromes needs to create a temporary file with information of the instance to open <code>(--user-data-dir=c:\temp)</code></p>
  
  <p>We tried using (<code>--window-position=1680,0</code>) to specify where to open the instance but it seems that Chrome will give priority to the last position where the last instance was opened, so both instances open on the same window regardless of the command.</p>
  
  <p>We found this site with a list of all the commands available but the list is huge and we don't even know what we are looking for: </p>
  
  <p><a href="http://peter.sh/experiments/chromium-command-line-switches/">http://peter.sh/experiments/chromium-command-line-switches/</a></p>
  
  <p>I found this command: <code>--display=:0.0  | --display=:0.1</code>  But it doesn't seem to work or I am not using it properly</p>
  
  <p>Any ideas?
  Thanks.</p>