• 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: File name list help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File name list help?


  • Subject: Re: File name list help?
  • From: Michelle Steiner <email@hidden>
  • Date: Sat, 6 Oct 2001 23:12:23 -0700

On 10/6/01 9:53 PM, T.J. Mahaffey <email@hidden> wrote:

>What I have so far works like a champ, but I'd like to be able to insert a
>common character after each item in the list. In it's current state, the
>paste-able clipboard comes out like this: item1item2item3

This will do it for you:

set thelist to {"item1", "item2", "item3"}
set {tid, text item delimiters} to {text item delimiters, ", "}
set theItems to thelist as text
set text item delimiters to tid
theItems
--> "item1, item2, item3"

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Ready to learn
  • Next by Date: Applescript language guide inaccessible from http://www.apple.com/applescript/
  • Previous by thread: Re: File name list help?
  • Next by thread: Re: File name list help?
  • Index(es):
    • Date
    • Thread