• 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: Addressing List Items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Addressing List Items


  • Subject: Re: Addressing List Items
  • From: Walter Bushell <email@hidden>
  • Date: Wed, 04 May 2011 14:04:53 -0400

On May 4, 2011, at 11:25 AM, Michelle Steiner wrote:

> set my_list to {}
> copy "1" to end of my_list
> copy "apple" to end of my_list
> my_list
> --> {"1", "apple"}
You can also copy to the beginning of a list eg.

set EditArray to {"nothing"}
set item 1 of EditArray to "whatever"
log item 1 of EditArray
copy "Nous" to beginning of EditArray
copy "Gnosis" to end of EditArray

EditArray
-->(*whatever*)
Result:
{"Nous", "whatever", "Gnosis"}

--
I have noticed that riots tend to happen in places that have low bacon consumption.






 _______________________________________________
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: Addressing List Items
      • From: Michelle Steiner <email@hidden>
References: 
 >Addressing List Items (From: Marconi <email@hidden>)
 >Re: Addressing List Items (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Beep no more
  • Next by Date: Re: Addressing List Items
  • Previous by thread: Re: Addressing List Items
  • Next by thread: Re: Addressing List Items
  • Index(es):
    • Date
    • Thread