Does anyoen know how to get the folder of a file? I am trying to make a droplet that takes a file and stuffs it into the same folder and then uses the full path name to the folder to acces the stuffed file.
Thanks for that. Could anyone tell me why this doesn’t work? I’ve now got the folder but Dropstuff won’t actually stuff it.
tell application “Finder”
set file_name to (choose file)
set destination_folder to container of file fileList
end tell
tell application “DropStuff”
activate
stuff file_name into destination_folder with format StuffItX
quit “DropStuff”
end tell