I'm not exactly sure whether this is an Alfred or Yosemite issue. I'm running:
Alfred 2.7.1 (387)
Yosemite 10.10.3
I have the iTunes Widget on in Notification Center.
I have always had 2 workflows setup in Alfred that are mapped to F18 and F19 that control iTunes Volume Down and Up.
I notice lately that if iTunes is playing something, and I first open Yosemite Notification center and close it, that I get the following errors in console and the volume key workflows don't work:
THIS FIRST BIT IS FROM OPENING NOTIFICATION CENTER:
May 18 09:55:22 pkd[316]: enabling pid=329 for plug-in com.apple.ncplugin.WorldClock(1.0) F13DFFD6-D083-4777-9EFD-7DE7ED4BAC75 /System/Library/Frameworks/NotificationCenter.framework/PlugIns/com.apple.ncplugin.WorldClock.appex
May 18 09:55:22 pkd[316]: enabling pid=329 for plug-in com.apple.ncplugin.weather(1.0) 574068F7-8DDC-4086-8538-3FA82541873E /System/Library/Frameworks/NotificationCenter.framework/PlugIns/com.apple.ncplugin.weather.appex
May 18 09:55:22 pkd[316]: enabling pid=329 for plug-in com.apple.iTunes.today.TodayExtension(1.0) 4E712565-5471-43CF-A8B2-0B8BD11A4F4E /Applications/iTunes.app/Contents/PlugIns/TodayExtension.appex
May 18 09:55:23 locationd[293]: Couldn't find a requirement string for masquerading client /System/Library/Frameworks/NotificationCenter.framework/PlugIns/com.apple.ncplugin.weather.appex
May 18 09:55:23 locationd[293]: could not get apple languages array, assuming english
May 18 09:55:23 locationd[293]: Location icon should now be in state 'Active'
THESE ARE THE ACTUAL ERRORS:
May 18 09:55:28 Alfred 2[370]: [ERROR] AppleScript Error: {
NSAppleScriptErrorAppName = "TodayExtension.appex";
NSAppleScriptErrorBriefMessage = "Can\U2019t get \U00abclass pVol\U00bb.";
NSAppleScriptErrorMessage = "TodayExtension.appex got an error: Can\U2019t get \U00abclass pVol\U00bb.";
NSAppleScriptErrorNumber = "-1728";
NSAppleScriptErrorRange = "NSRange: {0, 0}";
}
May 18 09:55:28 Alfred 2[370]: [ERROR] AppleScript Error: {
NSAppleScriptErrorAppName = "TodayExtension.appex";
NSAppleScriptErrorBriefMessage = "Can\U2019t set \U00abclass pVol\U00bb to 0.";
NSAppleScriptErrorMessage = "TodayExtension.appex got an error: Can\U2019t set \U00abclass pVol\U00bb to 0.";
NSAppleScriptErrorNumber = "-10006";
NSAppleScriptErrorRange = "NSRange: {0, 0}";
}
I will get these with each button press. Now, once this happens, the actual volume won't change. However, after 30 seconds or so, it will start to work again.
I do notice this error occasionally, even without opening Notification Center:
May 18 10:05:06 Alfred 2[370]: [ERROR] AppleScript Error: {
NSAppleScriptErrorBriefMessage = "An error of type -10827 has occurred.";
NSAppleScriptErrorMessage = "An error of type -10827 has occurred.";
NSAppleScriptErrorNumber = "-10827";
NSAppleScriptErrorRange = "NSRange: {0, 0}";
}
This error seems to happen on the very first button press to change volume, but after that the volume does change.
-Kevin