0
我正在寻找解决方案以获取用户关闭的文件夹的路径。目的是在参数中调用这条路径的另一个脚本。使用Applescript获取封闭文件夹的路径
我已经尝试过这一点,但它似乎不工作(我的文件夹操作设置是否正确):
on closing folder window for theAttachedFolder
tell application "Finder"
set thePath to POSIX path of theAttachedFolder
display dialog thePath
end tell
end on closing folder window for