A small native library to get the size and position of a window on windows.
npm install git+https://github.com/Soundofdarkness/window-pos.git
const windowPos = require("window-pos");
// Rect: {top: 0, bottom: 0, left: 0, right: 0} or null if the window is not found.
const rect = windowPos.getWindowCoords("Window Title");
// Size: {width: 0, height: 0}
const size = windowPos.getWindowSize("Window Title")
Dev Dependencies:
This project is licensed under the terms of the MIT License. See License