Skip to content

Commit

Permalink
fix: some functions not working on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sentialx committed Dec 12, 2019
1 parent 0effd0e commit 858514a
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 176 deletions.
6 changes: 4 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ console.timeEnd("setBounds");

console.log("[info]: Visible Windows List");
windowManager.getWindows().forEach(window => {
console.log('Title: '+window.getTitle(), '\n', 'Path: '+window.path);
window.bringToTop();
if (window.isVisible()) {
console.log(window.getInfo());
window.bringToTop();
}
});
Loading

0 comments on commit 858514a

Please sign in to comment.