This code will return the alias to a selected file:
tell application "Finder"
activate
set FileToSend to selection as alias
end tell
How can I extend it to accept more than one selection (shift-selected in Finder)?
There doesn’t seem to be a means of counting selections (that I’ve discovered).