Hello,
Despite various attempts, I can’t figure how to get the path from a file which has been copied in the clipboard (using Command-C in the Finder).
Whatever I tried, I only got the name, and I need the full path.
Thank you,
Hello,
Despite various attempts, I can’t figure how to get the path from a file which has been copied in the clipboard (using Command-C in the Finder).
Whatever I tried, I only got the name, and I need the full path.
Thank you,
Hi,
try this
try
set thepath to «class furl» of (the clipboard as record) as alias
on error
-- there is no file on the clipboard
end try
That’s it.
Thank you.