Classic Script won't open

I had miss placed a script and pulled it from time machine and it is now labeled as a classic app and when i open it up in script editor it shows up as garble does anyone know how I can get this script back ?

thanks
mm

Model: MacBook Pro 15" Core 2 Duo
Browser: Firefox 3.0.1
Operating System: Mac OS X (10.5)

mcgrailm, that’s a strange issue and one that I have not heard about yet. If you change the suffix to something like .txt instead of .scpt, can you then open the file? Just a thought.
Chuck

Chuck,

Unfortunately no. It’s actually a .app and I tried opening it up in textmate and script editor with every extension that I could think of :frowning:

I wrote a program that gets the text of script files (or applescript created applications) and adds it to a database so you can search your scripts. It uses an objective-c method to get the script text. I’m not sure if it will get the text any differently than Script Editor or not but you might give it a try. It has a free 7-day demo period so you can try this for free.

So here’s what I would try. First add it to the database, then select it from the Scripts Table and open the ‘preview window’. You can see the code there and you will be able to tell if it’s garbled or not. If it isn’t you can then copy the text from that preview window and paste it into a new script editor file to recreate the script.

It’s worth a try. You can find ScriptLight here…
http://www.hamsoftengineering.com/products/scriptlight/scriptlight.html

I hope it helps.

Update: I just read you comment about it being an application. ScriptLight works on applications too… unless you saved the application as ‘Run Only’. If you saved it as that then that may explain the garbled text. You will never see the text of a ‘run only’ script or application because it’s then in a binary format and cannot be decompiled back into text no matter what you do.

regulus6633,

thank you but there is no joy there either but thanks for suggestion.

mm

Oh well. :frowning:

ohh the gods have been good to me I found a working copy !!!
thanks for the help

mm