Re: Identifying app by creator code??
Re: Identifying app by creator code??
- Subject: Re: Identifying app by creator code??
- From: Chris Nebel <email@hidden>
- Date: Wed, 03 Jan 2001 18:46:07 -0800
- Organization: Apple Computer, Inc.
Michelle Steiner wrote:
>
On 1/3/01 4:38 PM, Chris Nebel <email@hidden> wrote
>
>
>METHOD 3: (the "using terms from" method): ... It looks like this:
>
>
>
> -- compute appOE somehow
>
> tell application appOE
>
> using terms from application "Outlook Express"
>
> -- OE-specific commands here
>
> end
>
> end
>
>
Hmm, you're using the using terms from inside the tell wrapper. Here's a
>
fragment I'm using that does the reverse of that.
>
>
using terms from application "Macjordomo"
>
tell theapp
>
Subscribe List listname User theAddress Name theName
>
end tell
>
end using terms from
It works either way. Anything inside "using terms from" gets the specified terminology
unless specified otherwise with another "tell" or "using terms from." An obscure but
documented feature of "using terms from" is that it can go entirely outside of a
handler, like this:
using terms from application "Finder"
property x: every folder of the desktop of application "Finder"
end
--Chris Nebel