我正在尝试编写一个苹果脚本,它从已经映射到finder收藏夹部分的服务器添加某个文件夹。
到目前为止我所拥有的是:
tell application "finder
activate
open "path to server"
tell application :System Events"
keystroke "t" using {command down, control down}
end tell
end tell
我认为问题出在“服务器路径”上,我不需要刚刚放置在收藏夹部分的位置。
结果是错误“finder出错:处理程序无法处理此类的对象。