Applescript saved as read-only...

Discussion in 'Mac Programming' started by LineMastaJorbob, May 14, 2007.

  1. LineMastaJorbob macrumors newbie

    May 13, 2007
    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...
  2. mkrishnan Moderator emeritus


    Jan 9, 2004
    Grand Rapids, MI, USA
    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! :eek:
  3. LineMastaJorbob thread starter macrumors newbie

    May 13, 2007
    OK... Thanx... I REALLY do hope your wrong (no offense...)
  4. lancestraz macrumors 6502a


    Nov 27, 2005
    This happened to me once. I googled around but never found a solution.
    I ended up having to rewriting the whole thing.
  5. Sayer macrumors 6502a


    Jan 4, 2002
    Austin, TX
    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).
  6. MongoTheGeek macrumors 68040


    Sep 13, 2003
    Its not so much where you are as when you are.
    According to people at Apple its impossible.

    Some information can be pulled out but not edited. Subroutines can be extracted and used.
  7. SC68Cal macrumors 68000

    Feb 23, 2006
    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.

Share This Page