tell application "Finder" try #set the clipboard to quoted form of (POSIX path of (the selection as alias)) set full_file to the selection as alias on error set full_file to the target of the front window as alias end try set file_name_posix to POSIX path of full_file set file_name to name of full_file as string try do shell script "cd ~/Desktop/; ln -s " & (quoted form of file_name_posix) & " " & (quoted form of file_name) end try end tell