Dear WeatherCat AppleScript fans,
Randall noticed that my
WC Status Growler AppleScript wasn't reported the correct version of OS X. I thought the error was Apple's but alas, it turned to be my mistake. I was using the version of the Finder instead of the actual version of the system. I posted a question on the MacScripters forum and got a
"mor' better" way to look up the OS X version number. If I can ever pry free enough time, I'll release an update to my AppleScripts. However, if you want to get around this bug in a hurry, it is a easy thing for you to fix yourself. Open up WC Status Growler in the AppleScript Editor and find this snippet of code:
on getOSXversion()
-- - - - - -
-- Function to query Finder for version of OS-X
-- running on Mac
-- - - - - -
local OSXversion
tell application "Finder"
set OSXversion to version
end tell
return (OSXversion)
end getOSXversionThe fastest way to find it is to search for the text:
on getOSXversion(). Once you've found it, replace it with this function:
on getOSXversion()
-- - - - - -
-- Function to query Finder for version of OS-X
-- running on Mac
-- - - - - -
local OSXversion
set OSXversion to system version of (system info)
return (OSXversion)
end getOSXversionWith that change
WC Status Growler won't be fooled when Apple changes the system version number but not the Finder.
Cheers, Edouard