Q: Yosemite AppleScript stopped working, error -1708
Just installed Yosemite GM (14A389) and tried to run some of my script apps, which work w/o issues in Mavericks and earlier. I’m getting error -1708 for most of them. The ones that use “do shell script” or “display dialog,” for example, are erroring. E.g., this one is from a script app that toggles invisibles on and off, but I can’t even ascertain the current value from the Finder plist using this command:
do shell script "defaults read com.apple.finder AppleShowAllFiles"
yields this error message:
"defaults read com.apple.finder AppleShowAllFiles" doesn’t understand the “do shell script” message." number -1708 from "defaults read com.apple.finder AppleShowAllFiles"
A google search for error 1708 yields this https://discussions.apple.com/thread/5132915?tstart=0, and suggests reinstalling the COMBO updater as a fix. There’s none for this GM version.
I used Pacifist to reinstall the Script Editor app, restarted, but that didn’t fix things. Any gurus out there who can explain what to do, besides reinstalling the entire upgrade and wasting another hour waiting for that to finish?
iMac (27-inch Mid 2011), OS X Yosemite (10.10), Mavs, ML & SL, G4 450 10.5 & 9.2.2
Posted on Oct 21, 2014 3:09 PM