Re: Tell OS X Application...
Re: Tell OS X Application...
- Subject: Re: Tell OS X Application...
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 10 Jan 2002 08:17:48 -0800
On 1/10/02 6:24 AM, "Simon Forster" <email@hidden> wrote:
>
Using terms form...
>
tell application <file path for URL Access Scription.app>...
>
>
does what I expect but, in the process, turns a 4 line script into a 9
>
line script.
>
>
Any more elegant workarounds?
1. What's wrong with 9 lines if it works? That doesn't seem much to me.
2. 'using terms from' is not required with a full path name. If it works
with the full path name, you don't need 'using terms from'. Cut out 2 lines.
3. If you really do need 'using terms from', then you must be using a
variable. This would only be necessary if you had to find the correct
application as application (via 'choose application') then set it as a
variable. That would certainly work. You haven't said that was necessary
here, though, so if it's not what you're doing, you also shouldn't need the
'using terms from'.
4. What are the other lines? I've just had to write about 20 times as much
verbiage as necessary, trying to guess what you're talking about. Please
provide the 9 lines. That's awfully short, you know, and would make it
possible to see if there's any way to make it more "elegant", whereas
without them we're just stumbling in the dark.
--
Paul Berkowitz