get-windows icon indicating copy to clipboard operation
get-windows copied to clipboard

Get metadata about the active window and open windows (title, id, bounds, owner, etc)

Results 50 get-windows issues
Sort by recently updated
recently updated
newest added

https://github.com/sindresorhus/active-win/pull/67

enhancement
help wanted

https://github.com/sindresorhus/active-win/blob/8ee48ec192ad5741d3f6e3c0c895c2c4662900fd/Sources/active-win/utilities.swift#L16-L27 Can be simplified: https://stackoverflow.com/a/65423834/64949 We still need the old check for older macOS versions though.

enhancement
help wanted

I imagine it would be something like: ``` js const activeWin = require('active-win'); activeWin.on('change', win => { console.log(win.title); }); ``` With `win` being the same as `activeWin()` returns. No idea...

enhancement
help wanted

I am building a VS code extension where I have to find my current foreground application and its details. Initially, after adding the package I was getting a Node_Package_Module version...

**OS**: Ubuntu 18.04 **version**: [email protected] **actual behavior**: the exception is caught and the promise returns `undefined` **desired behavior** no exception thrown and the module returns correct window details Exception stack...

When I have a PHPStorm window active, active-win gives me the id of `96469000` but if I try to use that with `navigator.webkitGetUserMedia` it fails. If I use `desktopCapturer.getSources({ types:['window']...

Dear All, I got the following error using 'active-win'. Please help me solove this error (node:10104) UnhandledPromiseRejectionWarning: Error: No native build was found for platform=win32 arch=x64 runtime=node abi=64 uv=1 libc=glibc...

this is what it shows if I run `node index.js` (codes from the docs) ``` node:internal/modules/cjs/loader:933 const err = new Error(message); ^ Error: Cannot find module 'ffi-napi' Require stack: -...

My users ran 5 times into this issue: ``` Error: Error parsing window data SyntaxError: Unexpected end of JSON input at JSON.parse () at parseMac (/node_modules/active-win/lib/macos.js:11:15) at AsyncFunction.module.exports.getOpenWindows ``` It...