Re: How to make scripts reference multiple revs of an app
Re: How to make scripts reference multiple revs of an app
- Subject: Re: How to make scripts reference multiple revs of an app
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 03 Mar 2004 02:11:02 -0800
On 3/3/04 1:38 AM, "Michael Terry" <email@hidden> wrote:
>
> But for the past several years you've been able to compile using
>
>
>
> using terms from application "Each App"
>
>
>
> end
>
>
>
> and don't need the raw codes. It just works as long as you compile on a
>
> computer (OS 9.0 or later) with all the right apps, and use a variable
>
> for
>
> the app name as Richard23 has above. You can even use it on older OS's
>
> and
>
> it works.
>
>
>
> Is there something I'm missing here?
>
>
>
>
>
Well, nothing major, just that I like to release scripts that are
>
easily editable. As far as I know, you don't have much leeway when
>
application specific terminology is involved. You've got to make
>
explicitly clear what application your using terms from so a script can
>
find the terminology when compiling. As soon as someone opens my script
>
on their machine to fix some dumb little assumption or just to fool
>
around, AS starts throwing up "Where's that app at?" dialogs. At least,
>
that's how I thought it worked. Are you saying that you can compile
>
with a terms block on one machine, and the script will contain the
>
necessary resources to be recompiled elsewhere even if that application
>
is no longer present?
Perhaps not - I'm pretty sure you have to have the app present to
(re-)compile the script. But perhaps you see raw codes if you open the
script elsewhere - those should compile again. I'll have to try it. (I know,
for example, that my scripts written for Jaguar Address Book have raw codes
for all events when opened in Panther - and vice versa - but will
re-compile. It might be the same within a using terms block - it's got to be
something like that for it to work even on OS's older than the 'using terms
from' terminology.)
--
Paul Berkowitz
_______________________________________________
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.