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 04:39:06 +0000
- Thread-topic: "where its" vs "whose"
Shane,
It is curious that you chose to reply on a very minor point, particularly when I had included the following:
This is required to get the same results:
set winList to every window where its name is not missing
value and name ≠ ""
--- OR, in a more simple statement ---
set winList to every window where its name ≠ ""
My main point from my previous post was that it is trivial to type 3 more characters to achieve a syntax that will always work:
So, for me, it sounds like "where its" is a logical, sounds good, always works, syntax.
Best Regards,
Jim Underwood
aka JMichaelTX
On 30 Aug 2016, at 1:52 PM, Jim Underwood < email@hidden> wrote:
It was also very natural and fast to type this, but it yielded different results:
set winList to every window where its name is not missing
value
Windows always have a name, so that test will always return true -- it's pointless. An empty string is not the same thing as missing value.
|
_______________________________________________
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