-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
NCutil.py can cause Do Not Disturb to be unset #12
Comments
This is triggered by the This might not be fixable; at the very least a warning should be in the READ ME. |
I added it to the README. I wonder if we can just use the defaults to read and write the value to stay what it is.
but this also uses a unique ID. The command above just uses a I'm sure there is a way to do it via a Python library, but I'm not familiar enough for that. I would probably just make a call out similar to how it's done for the |
One uses the
There are CFPreferences methods that can be called from Python to the same effect. But being able to read/write this preference is not sufficient -- in Mavericks, the value there is never updated to match the UI (at least in my testing). |
In Mavericks:
Now I pull down the Notification Center menu and enable Do Not Disturb. Then:
No change. Values change as hoped/expected in Mountain Lion and Yosemite... |
Steps to reproduce:
In Mavericks:
Set Do Not Disturb to On by pulling down the Notification Center from the menu bar
Use an NCutil.py command that alters NC settings.
Check the state of "Do Not Disturb" -- it's off again.
Yosemite does not seem to have this issue.
The text was updated successfully, but these errors were encountered: