-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification windows are not trackable and cause swindler to print errors #30
Comments
Thanks for reporting this. It looks like the issue comes from the window having a nil We could simply ignore these windows (with subrole |
Hey @tmandry. We use swindler to instrument the OS to notify our app (kind of a VCR of your digital life) of noteworthy screen-updates. Our use-cases are:
So we really want to know all about all windows that are shown at any moment, including the notification. Thank you open-sourcing your work! |
Got it. This isn't the exact use case I had in mind for Swindler; a That said, perhaps the easiest way is for you to AXSwift directly to watch for these notification windows. You should be able to use this alongside Swindler without any problems. Its API is more verbose, but it gives you more control than Swindler. See this example for how to observe a particular application (run this and watch the console as you create, destroy, and move Finder windows.) Do you think this will work? |
When running an app that uses swindler I get the following whenever the NotoficationCenter displays a message:
Plus the windows created by NotoficationCenter are not visible/trackable in swindler.
Steps to reproduce - Start a swinder-enabled app and run
to produce a notification from Terminal.
Expected behaviour would be not to get those error messages and being able to track the windows created by NotificationCenter.
The text was updated successfully, but these errors were encountered: