This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- You need to open AppleScript Editor, paste the code and adapt the pListFile variable | |
-- Then export the script (File > Export) and save it as an application (activate "Stay open after run handler") | |
global plistFile | |
on run | |
-- The plist file will be different on your system. You can find out the filename by running the following line in a terminal window | |
-- $ ls ~/Library/Preferences/ByHost/com.apple.notificationcenterui.*.plist | |
set plistFile to "~/Library/Preferences/ByHost/com.apple.notificationcenterui.C9C4D4C4-E6DF-59FC-9BF4-25514282C806.plist" | |
checkStatus() |
NewerOlder