This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
set output to {} | |
repeat with f in input | |
set f to replace(POSIX path of f, "/Volumes/", "afp://myserver/") | |
set f to replace(f, " ", "%20") | |
set end of output to f | |
end repeat | |
set text item delimiters to linefeed | |
set the clipboard to (output as text) | |
end run |