Re: Data fork of compiled scripts
Re: Data fork of compiled scripts
- Subject: Re: Data fork of compiled scripts
- From: Chris Nebel <email@hidden>
- Date: Sun, 26 Aug 2001 11:07:30 -0700
- Organization: Apple Computer, Inc.
Victor Yee wrote:
>
Just out of curiosity, is it safe to write to the data fork of a compiled script?
>
>
I checked in a text editor and it doesn't appear to have anything in there, but don't know if it would affect the stability of the script to write something there. I don't have anything particular in mind, but thought there might be some future uses.
I don't know that I'd go so far as to recommend it, but it should be safe. AppleScript 1.6 supports scripts that keep the script in the data fork, but if the script is in the traditional resource fork place, AppleScript is smart enough to ignore the
data fork.
--Chris Nebel
AppleScript Engineering