Re: File name list help?
Re: File name list help?
- Subject: Re: File name list help?
- From: Nigel Garvey <email@hidden>
- Date: Sun, 7 Oct 2001 11:38:34 +0100
"T.J. Mahaffey" wrote on Sat, 06 Oct 2001 21:53:10 -0700:
>
I'd LIKE it to come out like this:
>
>
item1, item2, item3
>
>
OR with a return after each item
>
>
Here's what I have so far.
>
>
tell app "Finder"
>
set theItemNames to name of every item in selection as text
>
set the clipboard to theItemNames
>
end tell
tell application "Finder"
activate -- to ensure access to the clipboard
set AppleScript's text item delimiters to {return} -- or ", "
set the clipboard to (name of selection) as text
set AppleScript's text item delimiters to {""}
end tell
NG