Re: Exists command (was: AppleScript-Users Digest, Vol 4, Issue 2)
Re: Exists command (was: AppleScript-Users Digest, Vol 4, Issue 2)
- Subject: Re: Exists command (was: AppleScript-Users Digest, Vol 4, Issue 2)
- From: Barry Wainwright <email@hidden>
- Date: Wed, 03 Jan 2007 12:37:00 +0000
- Thread-topic: Exists command (was: AppleScript-Users Digest, Vol 4, Issue 2)
On 3/1/07 10:26, "kai" <email@hidden> wrote:
>
> On 3 Jan 2007, at 10:03, Axel Luttgens wrote:
>
>> On 2/01/07 21:17, Barry Wainwright wrote:
>>
>>> [...]
>>>
>>> 'exists' is actually a command from standard additions, I'm using
>>> it like a
>>> property of the window to emphasise this point. More common would
>>> be to use
>>> a construct like 'if window 1 exists', or 'if exists window 1'.
>>>
>>> [...]
>>>
>>
>> Just to avoid any ambiguity, I would like to correct a typo in the
>> above.
>> 'exists' is a Finder command, not a Standard Additions one.
>
> Yeah, I noticed that, too, Axel. But just to avoid any ambiguity,
> 'exists' is actually a general application command that determines
> whether the object specified by a reference exists. So it works in
> Finder, as well as elsewhere. ;-)
>
My bad - I meant "Standard Suite", not "Standard Additions". I must have
been typing faster than I was thinking (not difficult to do, even with only
two fingers <g>)
Of course, as part of the standard suite, it _should_ be available in all
scriptable applications.
--
Barry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden