Comments (2)
You can use the method ViewIsShownInSwitchers
From the VirtualDesktopAcessor DLL (ffi-napi)
it returns >0 if the window is shown on alt+tab/taskbar
from node-window-manager.
checking window.isVisible() is a good start. Seems to knock the set down from hundreds to a handful, although still not all the way down to 1 for some apps...
from node-window-manager.
Related Issues (20)
- window.bringToTop() doesn't work HOT 5
- Prebuilt binaries
- window.isVisible() always returns true HOT 3
- ELIFECYCLE error after repeated `windowManager.getWindows()` usage. HOT 3
- MAC OSX: Allocation CGWindowListCopyWindowInfo and Window Lists Never Releases
- Linux Support HOT 4
- ELECTRON: Doesn't work with packaged app with version > 1.3.1 HOT 5
- Crash when using the lib on Windows HOT 1
- "Is not a valid Win32 application" error HOT 6
- .getIcon() returns empty buffer sometimes HOT 2
- windowmanager.getWindows() crashes electron process on macos Big Sur HOT 4
- setBounds does not work on chrome windows HOT 1
- Install fails in Electron HOT 3
- Install fails on windows with error in extract-file-icons HOT 2
- While creating new Window by passing Id crashes the electron app HOT 1
- window processIds consistent with Node child_process subprocess pids HOT 1
- mac npm i error
- The node version is too low to node-gyp rebuild
- Support for higher npm version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-window-manager.