<p dir="auto">According to the docs: <a href="https://github.com/atom/atom-shell/blob/master/docs/api/screen.md">https://github.com/atom/atom-shell/blob/master/docs/api/screen.md</a> you can access the primary display but they don't mention anything about managing other screens.</p>
<p dir="auto">Basically I want to load two BrowserWindows and tell them to appear on the different screens (when a user has more than one screen available).</p>
<p dir="auto">In Adobe AIR I did something like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var largestScreen = null;

if(air.Screen.screens.length &gt; 1) {

    for( index = 0; index &lt; air.Screen.screens.length; ++index) {
        var currentScreen = air.Screen.screens[index];
        if( largestScreen == null ){
            largestScreen = currentScreen;  
        }
        else{
            //Defining largest screen as biggest total area.
            var currentArea = currentScreen.bounds.width * currentScreen.bounds.height;
            var largestArea = largestScreen.bounds.width * largestScreen.bounds.height;
            if(currentArea &gt; largestArea) {
                largestScreen = currentScreen;
            }
        }
    }

} else {

    // Show error that you need a projector screen
    alert('You need more than one screen to run this application.');

}"><pre class="notranslate"><code class="notranslate">var largestScreen = null;

if(air.Screen.screens.length &gt; 1) {

    for( index = 0; index &lt; air.Screen.screens.length; ++index) {
        var currentScreen = air.Screen.screens[index];
        if( largestScreen == null ){
            largestScreen = currentScreen;  
        }
        else{
            //Defining largest screen as biggest total area.
            var currentArea = currentScreen.bounds.width * currentScreen.bounds.height;
            var largestArea = largestScreen.bounds.width * largestScreen.bounds.height;
            if(currentArea &gt; largestArea) {
                largestScreen = currentScreen;
            }
        }
    }

} else {

    // Show error that you need a projector screen
    alert('You need more than one screen to run this application.');

}
</code></pre></div>
<p dir="auto">And then I could target a window bounds for the windows.</p>
<p dir="auto">Is it possible to achieve something similar in atom-shell?</p>
<p dir="auto">It's more and more common to find desktops with two or even three screens. Make Atom Shell be able to detect such cases and allow the developer to show the app in a certain screen.</p>