8000 Notifications by daveenguyen · Pull Request #165 · pyatom/pyatom · GitHub
[go: up one dir, main page]

Skip to content

Notifications#165

Open
daveenguyen wants to merge 3 commits intopyatom:masterfrom
daveenguyen:feature/notifications
Open

Notifications#165
daveenguyen wants to merge 3 commits intopyatom:masterfrom
daveenguyen:feature/notifications

Conversation

@daveenguyen
Copy link
Contributor

Fixes #164
Personally don't use waitFor often.
I wrote this script to test my changes with based on example from #164 .

import atomac
bundle = 'com.apple.Safari'
app = atomac.getAppRefByBundleId(bundle)
app.activate()
window = app.windows()[0]
app.waitForFocusedWindowToChange(window.AXTitle)

I run the script then manually switched Safari's window to another and back and the script stops waiting. 😄

Interestingly, running the same script with atomac 1.1.0 gives me segfaults. 😮

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0