Re: visible of window bug
Re: visible of window bug
- Subject: Re: visible of window bug
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 06 Nov 2006 16:52:27 -0800
- Thread-topic: visible of window bug
On 11/6/06 3:46 PM, "Luther Fuller" <email@hidden> wrote:
> Using
> if exists window ...
> instead of
> if visible of window ...
> is logically equivalent and does work correctly, so I'll use it.
>
> I can't help but wonder what could be intended of a property that
> always returns true?
I'd imagine that it allows for a potential implementation whereby windows
might be hidden but still exist. The 'visible' property, like most of the
others, is inherited from class 'window' in the Standard Suite. As a
Standard Suite class, there are "built-in" properties that come along for
the ride. I don't think it's a trivial matter to get rid of them in a
particular app's implementation - it must be a lot easier just to have it
return true all the time when windows can't be hidden. (I know that Cocoa
apps, therefore AppleScript Studio apps, can have hidden windows. Perhaps
there are others too. Or maybe this was something contemplated, but not
implemented, back in OS 7.5 or so when the Standard Suite and the scriptable
Finder both materialized.)
--
Paul Berkowitz
_______________________________________________
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