Open window on 2nd monitor (dual screen setup)


#1

Is there a way to get a list of monitors and their resolutions via Electron? There seems to be limited nodejs options available for a good cross platform solution. I’ve written a simple Java class that I’m using via shelljs node module but using Java really defeats the purpose of using Electron in the first place.

I’m looking to open a window on a projector which simply shows up as a second monitor.


#2

Have you tried using the screen module for this?


#3

Thanks for pointing out the obvious as I totally missed it!