You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
458 B
12 lines
458 B
13 years ago
|
osascript 2>/dev/null <<EOF
|
||
|
set output to ""
|
||
|
tell application "Finder" to set the_selection to selection
|
||
|
set item_count to count the_selection
|
||
|
repeat with item_index from 1 to count the_selection
|
||
|
if item_index is less than item_count then set the_delimiter to "\n"
|
||
|
if item_index is item_count then set the_delimiter to ""
|
||
|
set output to output & ((item item_index of the_selection as alias)'s POSIX path) & the_delimiter
|
||
|
end repeat
|
||
|
EOF
|
||
|
|