• 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
last does not work with filter expression?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

last does not work with filter expression?


  • Subject: last does not work with filter expression?
  • From: Michael Johnston <email@hidden>
  • Date: Sat, 5 Feb 2005 01:40:49 +0100

I found the following oddity. I'm not sure whether it belongs to OmniOutliner, Applescript, or my own faulty understanding of Applescript*.

say I have a row with two children, row1 & row2, both with style "bob" then I get the following results

last row of theRow
-- row2

set theList to every row of theRow where name of named style 1 of style of it = "bob"
last item of theList
-- row2


last row of theRow where name of named style 1 of style of it = "bob"
-- row1    //WHY?






* After writing perhaps 30-40 thousand lines of Applescript by now, it still frustrates me as if I was brand new to it.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: last does not work with filter expression?
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: setting up resoloution
  • Next by Date: Re: last does not work with filter expression?
  • Previous by thread: Re: setting up resoloution
  • Next by thread: Re: last does not work with filter expression?
  • Index(es):
    • Date
    • Thread