• 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: Paul Berkowitz <email@hidden>
  • Date: Thu, 18 Nov 2004 21:22:01 -0800

On 11/18/04 8:45 PM, "John C. Welch" <email@hidden> wrote:

> 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


or

set theList to items 1 thru ((count theList) - 1) of theList


--
Paul Berkowitz


 _______________________________________________
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: "Shane Stanley" <email@hidden>
References: 
 >Re: Deleting last item of a List (From: "John C. Welch" <email@hidden>)

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