Okay, I’m newer to applescript.
I’ve been reading and playing and can’t seem to find how to just get the folder name.
Everything I try returns something like:
/Users/Me/Here/My Folder
What I want is simply: My Folder
Can this be done?
Here’s the example code (provided by someone else). It asks for a directory.
tell application "Finder"
choose folder with prompt "Where to Save Directory/File.."
set input to result
set input to POSIX path of input
end tell
Thanks