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

Re: Getting record items of a sublist


  • Subject: Re: Getting record items of a sublist
  • From: wayne melrose <email@hidden>
  • Date: Sat, 29 Oct 2011 21:14:26 +0200
  • Sun-java-system-smtp-warning: Lines longer than SMTP allows found and wrapped.


On Oct 29, 2011, at 9:05 PM, Ronald Hofmann wrote:

no, that will not do.

I should be 
myname of item n of the theNameList 

in a loop. I dont think it will work without that.

Ronald


But is there any real problem in looping through each one to build your new list of names? 

(It would be nice to be able to just ask for each of them) But I don't know of another way to do it. 


property theNameList : {}

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 {}

repeat with currentPerson in theNameList
set end of theChooseList to myname of currentPerson
end repeat

choose from list theChooseList
 _______________________________________________
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: Zack Jarrett <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>)
 >Getting record items of a sublist (From: Ronald Hofmann <email@hidden>)
 >Re: Getting record items of a sublist (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Re: Getting record items of a sublist
  • Next by Date: Fwd: Getting record items of a sublist
  • Previous by thread: Re: Getting record items of a sublist
  • Next by thread: Re: Getting record items of a sublist
  • Index(es):
    • Date
    • Thread