Re: FADE DEAD
Re: FADE DEAD
- Subject: Re: FADE DEAD
- From: JJ <email@hidden>
- Date: Sat, 16 Mar 2002 12:15:16 +0100
<<<<<<<<<
>
>
Actually, AppleScript is storing an alias, which happens to keep a full path
>
along with a bunch of other information. An alias is about 500 bytes.
>
>
When the alias goes bad, then AppleScript uses the creator type to search the
>
running process list and the desktop database, and then if nothing (or
>
multiple apps?) is found it asks the user.
>
>>>>>>>>
<<<<<<<<<
>
Actually, the ending tag specifies the script component sub-code. The
>
beginning tag is purely for the use of AppleScript itself; a scripting
>
component is not obliged to have one.
>
>
On Friday, March 15, 2002, at 01:43 AM, JJ wrote:
>
>
> Then, another question relative to storage. Why does it store full paths
>
> when you make a reference to a file or when using a tell block.
>
>
What it's actually storing is an alias record. Aliases contain
>
information to find the relevant file in a number of different ways, one
>
of which is a full path. In theory, there's enough other information to
>
locate the file even if the full path doesn't work.
>
>>>>>>>>
Cool... I know I've asked this question many times, but I'll do it again :-)
Doesn't it exist a "guideline" to decompose a 'scpt' rsrc?
The only way to do this is _being AS extension myself_ :-) Is this
top-secret of it has not noticeable or practical use?
In a simple compiled "beep" I can see "Fas..." & "FADE DEAD". Also, I can
see a mark at beginning of the raw apple event "sysobeep".
In a more complex script using tell blocks I can see these guys events,
classes, _stored alias records_... Couldn't I recompose the original
structure as if it were a FADE DEAD animal's skeleton?
I won't bother you again with this. I promise it !!!!!...
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.