Upgrading Script Editor

Hi -

I have six machines in a studio environment that all have Script Editor in use. However, the appearance of the Script Editor is different between them. All the machines have OS 10.2.8 on them currently. Using “version” in a script, I’ve determined that all machines are running Script Editor version 1.9.1.

I’d like to be able to use the Find and Replace features in Script Editor on all the machines. Any suggestions for making sure all versions of the Script Editor and Applescript are the same (aside from updating to Panther - additional licensing is not in the budget yet.) I’ve looked at the Apple site for software downloads and nothing really seems to apply.

Thanks!

Based on my 10.2.8 setup, that’s likely the version of AppleScript and not Script Editor.

This might provide the info you need, although it is not entirely foolproof when more than one copy of Script Editor is installed. It will likely refer to the most recently installed version of Script Editor.

tell application "Finder"
	set se to application file id "ToyS" as Unicode text
	set v to version of alias se
end tell

display dialog "The following version of Script Editor has been detected:" & ¬
	return & return & v buttons {"OK"} default button 1 with icon 1

– Rob

What do you mean “the appearance”?

Do you mean how the scripts are formatted in terms of color, bold, italics, etc.? If so, this can be adjusted in the preferences by going to the “Formatting” tab and making all the settings the same on all the machines (the easiest way to do this is to use the default settings by clicking the “Use Defaults” button).

Do you mean the size of new windows and the properties of the toolbar (if it is visible, the size of the icons, the text, etc.)? If so, this can be easily customized as well.

A little more specificity will help.

Jon

For Rob - thanks, I will try that script out and see what the results are.

For Jonn8 - Its the overall appearance of the script editor that’s the problem. Some versions have the bottom portion of the script editor displaying the tabs for Description, Result, and Event Log, and the resizing bar is in the middle of that window. This version supports the Find and Replace feature. On some of the other machines, I still need to open separate windows to see the Result and Event Log windows. Those do not support the Find and Replace feature. Also, I’ve noticed a difference in the file formats I’m allowed to save a script as. The machines that do have Find and Replace available allow me to save a text file, .scpt, .applescript, application bundle, etc. Except one of those which only lets me save text, .scpt, and .app - yet it still has the Find and Replace and tabs for Result etc. The other machines offer compiled script, text, and application as ways to save the script file.

By the way, I should mention I’m inheriting this responsibility from someone else who’s left the department. I suspect that at one point the Beta version for 2.0 was installed on at least one machine, and maybe the others only had partial installations. In trying Software Update, the log doesn’t really show me any records of Applescript versions being installed.

My plan is to rebuild these machines so they are consistent in their features, and I was hoping someone might give some recommendations for what software I can download or update from Apple to give me the most current version of Applescript (excepting Panther, of course). Hope this helps to give a little more specific information - thanks!

You can still download the beta release of Script Editor 2 (Jaguar only).

– Rob

Is the beta stable? I’d heard (a while ago) that there were some bugs with it that were fixed in the Panther release.

Here’s some more information that might help:

Machine 1 - Script Editor 2.0 (v36), Applescript 1.9.1 OS 10.2.8
Machine 2 - Script Editor 2.0 (v36), Applescript 1.9.1 OS 10.2.8
Machine 3 - Script Editor 2.0 (v20) Beta, Applescript 1.9.1 OS 10.2.8
Machine 4 - Script Editor 1.9, Applescript 1.9.1 OS 10.2.8
Machine 5 - Script Editor 1.9, Applescript 1.9.1 OS 10.2.8

I would like each of these machines to have Script Editor 2.0 (v36). Can anyone tell me how to get an intaller or download of this version. Also, does anyone know if this is the highest version available for Jaguar? I was thinking of installing the beta on these other machines and then seeing if Software Update would be smart enough to offer me an update.

Finally, someone told me they thought you could just copy the Applescript folder over to a new machine and run it. Do you think there will be problems doing this (haven’t tried it yet since machines are currently in process.)

Thanks again for any help!

The beta that I mentioned should be 2.0 (v36). As far as I know, that’s the only version of 2.0 that’s still available for Jaguar. It likely has bugs but I can’t say for sure since I use Script Debugger. I doubt that you’ll see anything regarding beta releases of Script Editor in Software Update. I would run the installer instead of copying the files from one computer to another. Using the installer will be less likely to result in proplems.

– Rob

Alrighty, I will keep that in mind if I install the beta. Hopefully this will all be moot once we move to Panther. Thanks for all your help.