Re: path to selection
Re: path to selection
- Subject: Re: path to selection
- From: Philippe GRUCHET <email@hidden>
- Date: Fri, 7 Mar 2003 04:54:06 +0100
This routine seems to be more appropriate [no break]:
tell application "Finder"
if selection = {} then return
if selection = 1 then alias result
if selection is not equal to 1 then
set {theList, AppleScript's text item delimiters, textHolder} to
{selection as list, ",", ""}
repeat with i from 1 to items's number in theList
copy "alias " & ("\"" & (theList's item i as alias) & "\"" & return
& return & textHolder) to textHolder
end repeat
end if
set the clipboard to textHolder
set AppleScript's text item delimiters to ""
display dialog (textHolder as string) buttons {"OK"} default button
"OK" giving up after 60
end tell
Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.