Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

LineMastaJorbob

macrumors newbie
Original poster
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! 😡 Anyways... I was just wondering if there was ANY way at all to get my work back...
 
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! 😱
 
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! 😱

OK... Thanx... I REALLY do hope your wrong (no offense...)
 
This happened to me once. I googled around but never found a solution.
I ended up having to rewriting the whole thing.
 
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).
 
According to people at Apple its impossible.

Some information can be pulled out but not edited. Subroutines can be extracted and used.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.