Re: Using terms from syntax
Re: Using terms from syntax
- Subject: Re: Using terms from syntax
- From: Matt Neuburg <email@hidden>
- Date: Fri, 23 Sep 2005 11:01:22 -0700
- Thread-topic: Using terms from syntax
On Thu, 22 Sep 2005 10:23:25 -0400, David LeBer <email@hidden>
said:
>Short version: Where can I find documentation on the correct syntax
>for 'using terms from'
There's always my book.
>using terms from application filesharingPath
A terms block is a way of telling the compiler where to get terminology
from. You need an application reference, and this must be literal because it
is only happening at compile time. There are no variables at compile time;
the script is not running. You're talking to the compiler.
>So I'd like to use 'using terms from' to explicitly specify it's
>location. But I need to have it dynamic, I don't know the name of the
>startup disk until run time.
You can use a terms block to compile with and use a tell block (which *can*
be dynamic) for targeting the correct app at the correct pathname. Again,
see my book for examples. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden