• 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: whose class is folder...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: whose class is folder...


  • Subject: Re: whose class is folder...
  • From: Jim Underwood <email@hidden>
  • Date: Sat, 07 Apr 2018 02:28:11 +0000
  • Thread-topic: whose class is folder...

Just to chime in on Shane's suggestion to use a "repeat loop", I can report
that after some extensive testing by Chris Stone (@ccstone) and myself last
year, we actually found that in some cases repeat loops are faster than whose
clauses, even though you can do the query entirely in whose clauses.

This can vary by app, since, as Shane as said, it is the app that implements
the whose clause, not core AppleScript.

Previously, I had thought of repeat loops as "second class citizens".  Little
did I know . . . 😉

Best Regards,

Jim Underwood
aka JMichaelTX


From: AppleScript-Users
<applescript-users-bounces+jmichael=email@hidden<mailto:applescript-users-bounces+jmichael=email@hidden>>
 on behalf of Shane Stanley
<email@hidden<mailto:email@hidden>>
Date: Friday, April 6, 2018 at 7:58 PM
To: "ASUL (AppleScript)"
<email@hidden<mailto:email@hidden>>
Subject: Re: whose class is folder...

On 7 Apr 2018, at 10:39 am, Jean-Christophe Helary
<email@hidden<mailto:email@hidden>>
wrote:
So I'm kind of stuck aren't I ?

In terms of whose clauses, yes. But you can still use a repeat loop to get the
same result.

--
Shane Stanley <email@hidden<mailto: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: whose class is folder...
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >whose class is folder... (From: Jean-Christophe Helary <email@hidden>)
 >Re: whose class is folder... (From: Shane Stanley <email@hidden>)
 >Re: whose class is folder... (From: Jean-Christophe Helary <email@hidden>)
 >Re: whose class is folder... (From: Shane Stanley <email@hidden>)
 >Re: whose class is folder... (From: Jean-Christophe Helary <email@hidden>)
 >Re: whose class is folder... (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: whose class is folder...
  • Next by Date: Re: whose class is folder...
  • Previous by thread: Re: whose class is folder...
  • Next by thread: Re: whose class is folder...
  • Index(es):
    • Date
    • Thread