« | Home | »

JavaScript OSA vs Mac OS X 10.4 Script Editor

Somewhere along the way, the Mac OS X 10.4 Script Editor stopped being able to open scripts compiled using JavaScript OSA. You can compile and save scripts, but when you try and open then you’ll see this error alert:

Picture 1

It turns out that the 10.4 Script Editor can only open scripts saved using the “default” scripting system. The “default” scripting system is the one that is assigned to new documents – generally AppleScript.

In order to open JavaScript OSA scripts, you have to change the “default” scripting system to JavaScript OSA. The problem then is that you won’t be able to open your AppleScript scripts – sigh.

200701061940

NOTE: this problem also effects Script Debugger’s AppleScript Debugging OSA component. If, for some reason, you need to open scripts saved from Script Debugger with Debugging enabled in the Script Editor, you’ll have to use the same trick.

Apple is aware of the issue and working on a fix. However, its not clear when a fix will be released.


About this entry