• 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: Deleting last item of a List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting last item of a List


  • Subject: Re: Deleting last item of a List
  • From: "John C. Welch" <email@hidden>
  • Date: Thu, 18 Nov 2004 22:45:52 -0600

On 11/18/2004 22:32, "doug rogers" <email@hidden> wrote:

> Can't seem to delete the last item of a list. I'm back to poking
> through my To Do app and trying to catch the possibility that the last
> item is an empty character, most likely a return character, which shows
> up as "" in the last item of TheList. - else it makes an empty To Do in
> iCal.

Set theList to reverse of theList
Set theList to the rest of theList
Set theList to reverse of theList

john

--
"Five-second fuses only last three seconds."
Infantry Journal.


 _______________________________________________
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: Deleting last item of a List
      • From: Paul Berkowitz <email@hidden>
References: 
 >Deleting last item of a List (From: doug rogers <email@hidden>)

  • Prev by Date: Deleting last item of a List
  • Next by Date: Re: Deleting last item of a List
  • Previous by thread: Deleting last item of a List
  • Next by thread: Re: Deleting last item of a List
  • Index(es):
    • Date
    • Thread