Re: osascript - path to me
Re: osascript - path to me
- Subject: Re: osascript - path to me
- From: Timothy Bates <email@hidden>
- Date: Wed, 22 May 2002 10:45:00 +1000
- .mxoez?+: O?W^h1]g}IB\WO2A=6#`2^rL?jAu,r8EcKz@UG.r.7[$&Ym;j8^Wp;/KAlcda MO/$} $"[ c?\#d@cuN
- 9+kli1>@: KaeEcbn$EIG)tY@^[7y`lyrI<4S(cnqzmTD&4<tTkuNR(4dweN}SUlDX/X^c>"
>
> Chris Espinosa wrote:
>
> It might be interesting for us to define a "script bundle", a package that
>
> contains one main script, a number of other scripts that share the script's
>
> context, and a known location for resources, and change AppleScript to store
>
> the location of the bundle in a property of each script, so your scripts
>
> could have a reliable way of finding their bundle resources.
>
Jon said
>
I know, we could make files contain "resources" and then have a "resource
>
manager" which could read and write these arbitrary resources.
>
Oh, nevermind. It would never work.
:-) smartiepants :-)
But seriously, re Chris's suggestion, if the bundle stored the location of
itself, that would solve my problem in an editor-independent way (except
that it would only work on version of AppleScript >= this new proposed one.
Seems to me that altering a dozen lines of code in the Script Editor is
probably easier than reengineering AS to use bundles.
OTOH, perhaps Chris is subtly telling us how Jaguar will work?
The bundle gives the ability to "include" scripts, which is great.
_______________________________________________
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.