Creating and applescript app!

Hi All.

I have managed to create an applescript that will reinstall the printers on our workstations in the office. What I want to do is make it into an application and I have done this by saving it out as an app.

The problem is that if I move it from one machine to another it breaks. If I open it the script file on a 10.4 machine all the comments I put into the script do not show up.

I currently have to zip it up to move it around. Which can be a pain if I am pushing it out to 60 odd users with ARD. I then have to go unzip it all through ARD which does not seem to work so well.

Is there a specific way of saving it that will not break it if I copy it from machine to machine?

Haven’t had your specific problem but here is what I would try:

  1. Save as “Application Bundle” instead of “Application”.

  2. After saving, launch Terminal. Type in "chmod -R 777 " and then drag and drop the application file from the Finder into the Terminal window so it will complete the line. Hit return. This will make sure you don’t have permission issues.

  3. Are you creating the script in Leopard and then distributing it out to Tiger machines? There are some syntax differences that will cause problems between systems.