set file_list to "" tell application "Finder" try set selected_items to selection on error error "No selected Finder items" end try repeat with selected_item in selected_items set file_list to file_list & quoted form of POSIX path of (selected_item as alias) & " " end repeat end tell set the clipboard to text 1 thru -2 of file_list