-
-
Save GarboMuffin/f1bfbf78b5e05d27a9bd30a6e18204a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, screen} = require('electron'); | |
app.whenReady().then(() => { | |
const xy = screen.getCursorScreenPoint(); | |
console.log(xy); | |
app.quit(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment