(*
I use this script to show people where to find files on our LAN. Just drop files and 
folders onto this droplet and their pathes will be sorted and copied to the clipboard.
--CBT
*)

on open these_items
	set path_str to ""
	repeat with i from 1 to the count of these_items
		set path_str to path_str & POSIX path of item i of these_items & (ASCII character 10)
	end repeat
	-- For now I'm stripping the leading '/Volumes' string for external drives.
	set the clipboard to (do shell script "cat <<EO_TEXT | sed 's#^/Volumes##' | sort
" & path_str & "EO_TEXT
") as string
end open

open copy-unix-paths in the applescript editor