• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "where its" vs "whose"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: <applescript-users-bounces+jmichael=email@hidden> on behalf of Shane Stanley <email@hidden>
Date: Mon, Aug 29, 2016 at 11:13 PM
To: "ASUL (AppleScript)" <email@hidden>
Subject: Re: "where its" vs "whose"

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.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
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

  • Follow-Ups:
    • Re: "where its" vs "whose"
      • From: Shane Stanley <email@hidden>
References: 
 >"where its" vs "whose" (From: Mitchell L Model <email@hidden>)
 >Re: "where its" vs "whose" (From: Axel Luttgens <email@hidden>)
 >Re: "where its" vs "whose" (From: Deivy Petrescu <email@hidden>)
 >Re: "where its" vs "whose" (From: Jim Underwood <email@hidden>)
 >Re: "where its" vs "whose" (From: Jim Underwood <email@hidden>)
 >Re: "where its" vs "whose" (From: Shane Stanley <email@hidden>)
 >Re: "where its" vs "whose" (From: Jim Underwood <email@hidden>)
 >Re: "where its" vs "whose" (From: Shane Stanley <email@hidden>)
 >Re: "where its" vs "whose" (From: Jim Underwood <email@hidden>)
 >Re: "where its" vs "whose" (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: "where its" vs "whose"
  • Next by Date: Re: "where its" vs "whose"
  • Previous by thread: Re: "where its" vs "whose"
  • Next by thread: Re: "where its" vs "whose"
  • Index(es):
    • Date
    • Thread