View Full Version : Applescript saved as read-only...
LineMastaJorbob
May 14, 2007, 12:16 PM
Hi! This is my first thread here so please excuse me if this is in the wrong section, but I was just wondering if there was a way to make a script that you saved not run-only... I've been working on this project and then I relized that I saved it a run-only script! I nearly teared my hair out! :mad: Anyways... I was just wondering if there was ANY way at all to get my work back...
mkrishnan
May 14, 2007, 12:27 PM
Hmmm, I think that when you save a run-only, only the compiled code is saved, with no source. I'm not sure that there's a way to backtrack, short of a decompiler (and I'm not aware of one). But I'd be happy to be wrong! :o
LineMastaJorbob
May 14, 2007, 02:23 PM
Hmmm, I think that when you save a run-only, only the compiled code is saved, with no source. I'm not sure that there's a way to backtrack, short of a decompiler (and I'm not aware of one). But I'd be happy to be wrong! :o
OK... Thanx... I REALLY do hope your wrong (no offense...)
lancestraz
May 14, 2007, 02:30 PM
This happened to me once. I googled around but never found a solution.
I ended up having to rewriting the whole thing.
Sayer
May 14, 2007, 09:13 PM
From now on save original scripts as text file and create a compiled *copy* so you don't lose the source (and you can easily use a Source Code Management (SCM) setup on plain text files).
MongoTheGeek
May 14, 2007, 09:41 PM
According to people at Apple its impossible.
Some information can be pulled out but not edited. Subroutines can be extracted and used.
SC68Cal
May 15, 2007, 08:12 PM
Once it's a read-only, you're screwed unless you can find an applescript decompiler. Even then, you're not going to recover a 100% original.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.