Dear X-Air, Randall, Alan and WeatherCat scripters,
I am assuming the script can run independently.
Unfortunately no you could not assume that. I just grabbed the function out of the
WC Status Growler script to show the method I used. However, if you want to run it as a stand alone script this will work:
getOSXversion()
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 getOSXversion
When I run it in the script editor is gives me the correct version since I'm still running Yosemite.
So what do you guys get on El Capitan?
Cheers, Edouard