Re: "where its" vs "whose"
Re: "where its" vs "whose"
- Subject: Re: "where its" vs "whose"
- From: Jim Underwood <email@hidden>
- Date: Tue, 30 Aug 2016 17:04:14 +0000
- Thread-topic: "where its" vs "whose"
Mitchel, since you quoted me below, to be clear I now have resolved to just always use "where its".
This seems to work with Safari, and I don't see any downsides.
set winList to every window where its name ≠ ""
set winList to every window where its document is not missing
value
Jim Underwood
aka JMichaelTX
I have written about many bewilderments in the past 6 months. Many of them had to do with working with Safari, but thinking that they were general AppleScript issues. I think we are learning from this discussion that there are certain areas in which Safari's
support for AppleScript is defective, or at the least problematic if you are trying to use it.
On Aug 29, 2016, at 10:07 PM, Shane Stanley < email@hidden> wrote:
On
30 Aug 2016, at 11:08 AM, Jim Underwood <email@hidden>
wrote:
So, the guideline to myself is:
- Use "whose" with properties
- Use "whose its" with elements
Can anyone verify or refute?
|
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden