• 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: Delete list item?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete list item?


  • Subject: Re: Delete list item?
  • From: vectormation <email@hidden>
  • Date: Wed, 24 Oct 2001 04:04:26 -0400

Here's quick (as in "off the top of my head...") handler

set myList to excludeList({"example"},myList)

on excludeList(xList,aList)
-- aList = {"alpha","beta","gamma","delta","epsilon"}
-- xList = {"beta","delta"}
-- exclude xList from aList

set rList to {}

repeat with dItem in aList
if xList contains dItem then
--delete it by ignoring it
else
set rList to rList & dItem
end if

return rList
end excludeList

>How do I delete a list item?
>Is Akua Sweets the only way to go?
>
>Please reply to the list or directly to email@hidden
>Thanks
>/ Goran
>_______________________________________________
>applescript-users mailing list
>email@hidden
>http://www.lists.apple.com/mailman/listinfo/applescript-users


  • Prev by Date: Relinquishing Control to Eudora
  • Next by Date: Adding dialogs to scripts
  • Previous by thread: Relinquishing Control to Eudora
  • Next by thread: Re: Delete list item?
  • Index(es):
    • Date
    • Thread