Skip to content

Commit

Permalink
Merge pull request #83 from AuroraWright/master
Browse files Browse the repository at this point in the history
Fix MacOSWindow.isAlive on recent macOS
  • Loading branch information
Kalmat authored Feb 27, 2024
2 parents c4155d1 + 0c691da commit 0e349d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pywinctl/_pywinctl_macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,8 @@ def isAlive(self) -> bool:
set isDone to false
try
tell application "System Events" to tell application "%s"
tell window winName to set prevIndex to index
tell window winName
end tell
set isDone to true
end tell
end try
Expand Down

0 comments on commit 0e349d0

Please sign in to comment.