Re: AppleScript Suite
Re: AppleScript Suite
- Subject: Re: AppleScript Suite
- From: Jon Pugh <email@hidden>
- Date: Thu, 18 Oct 2001 11:25:33 -0700
At 7:47 PM +0200 10/18/2001, JJ wrote:
>
If I open the "scpt" rsrc of a run-only script, what kind of data or
>
programming language is it?
It's the same as a regular script, which is that it is AppleScript byte code. I don't believe this is documented outside of Apple, and I doubt it's documented that well inside of Apple either.
>
What's the real difference beetwen "compilable" and "uncompilable" data?
The difference is that the "run-only" scripts omit a bunch of data, like variable names and comments. This makes the script's byte code smaller and harder to decompile.
There's nothing intrinsically impossible about decompiling run-only byte code, but AppleScript won't do it for you, so you'd need to implement the whole process, and that's probably more work than reimplementing the script from scratch.
Jon