• 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: Create list of lists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create list of lists?


  • Subject: Re: Create list of lists?
  • From: Kevin Meaney <email@hidden>
  • Date: Wed, 21 Apr 2004 09:31:12 +0100

On 21 Apr 2004, at 08:54, John Mistler wrote:
> How can I make one big list of a bunch of smaller lists:
>
> set bigList to {}
> set listA to {1,2,3}
> set listB to {"a","b","c"}
> set listC to {"you","and","me"}
>
> copy listA to end of bigList
> copy listB to end of bigList
> copy listC to end of bigList
>
> This results in bigList = 1, 2, 3, a, b, c, you, and, me
>
> What I need it to be is bigList =
> {{1,2,3},{"a","b","c"},{"you","and","me"}}
> so that I can select item 1 of bigList, returning {1,2,3}, item 2 of
> bigList
> returning {"a","b","c"}, etc.
>
> Thanks,
>
> John
try

copy {listA} to end of bigList

etc.

Also if your data has a column title for the first entry try the
command:

set noColumnTitleList to rest of listA

Kevin
------------------------------------------------------
iMagine Photo is the best AppleScripting tool for processing digital
camera photos.
Check out iMagine Photo at http://www.yvs.eu.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Create list of lists? (From: John Mistler <email@hidden>)

  • Prev by Date: Re: Create list of lists?
  • Next by Date: Re: Another one on Quark Xpress 6
  • Previous by thread: Re: Create list of lists?
  • Next by thread: Re: Create list of lists?
  • Index(es):
    • Date
    • Thread