Why Does AppleScript Fail With Google Earth?
This simple script:
tell application "Google Earth"
GetCurrentVersion
end tell
fails with the following error:
error "Google Earth got an error: Can’t continue GetCurrentVersion." number -1708
and with the following Console message:
3/2/13 5:24:42.505 PM Google Earth[53575]: +[NSDictionary scriptingRecordWithDescriptor:]: unrecognized selector sent to class 0xacdb248c
Anyone know why?
The GE AppleScript dictionary has the following entry:
GetCurrentVersion v : Get the current version of the Google Earth client
GetCurrentVersion record : record of major, minor and build numbers
→ list of integer : version fields
AppleScript and Google Earth work fine for other users on this machine. It only fails on my account.
I have tried deleting all vestiges of GE from the machine and reinstalling, but this hasn't worked.
Any other ideas?