• 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
Getting record items of a sublist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting record items of a sublist


  • Subject: Getting record items of a sublist
  • From: Ronald Hofmann <email@hidden>
  • Date: Sat, 29 Oct 2011 15:21:14 +0200

Hi,
I have a list of records and need only the myname part of the sublists in theChooseList.
I tried this example:

property theNameList : {}
set theChooseList to {}

set theNameList to {¬
{myname:"Titzi", height:170, weight:55}, ¬
{myname:"Stephen", height:184.5, weight:75}, ¬
{myname:"Elke", height:174.5, weight:50}, ¬
{myname:"Silke", height:175, weight:60} ¬
}

set theChooseList to mynames of theNameList

but this fails because myname refers to the items 1, items 2 etc.

Is there no other way than looping thru?

Greetings from Switzerland, Ronald
---
 _______________________________________________
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: Getting record items of a sublist
      • From: Alex Zavatone <email@hidden>
References: 
 >RE: Re: (no subject)That (From: email@hidden)
 >Re: (no subject)Thatinteract with alerts (From: Dana Hill <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: Shane Stanley <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: Alex Zavatone <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: Shane Stanley <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: Alex Zavatone <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: Shane Stanley <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: Alex Zavatone <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: Shane Stanley <email@hidden>)
 >Re: (no subject)Thatinteract with alerts (From: email@hidden)
 >Get length of audio/video files (From: Bob Majors <email@hidden>)
 >Re: Get length of audio/video files (From: Christopher Stone <email@hidden>)
 >Re: Get length of audio/video files (From: Shane Stanley <email@hidden>)
 >Re: Get length of audio/video files (From: Christopher Stone <email@hidden>)
 >Re: Get length of audio/video files (From: Shane Stanley <email@hidden>)
 >Re: Get length of audio/video files (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Get length of audio/video files
  • Next by Date: Re: Getting record items of a sublist
  • Previous by thread: Re: Get length of audio/video files
  • Next by thread: Re: Getting record items of a sublist
  • Index(es):
    • Date
    • Thread