如何从与 AppleScript 代码相同的文件夹中复制(复制)和移动文件?
类似的事情吗?
tell application "Finder"
duplicate file "somefile.txt" of folder of (file (path to me)) to folder applications of folder startup disk
end tell
Something along these lines?
tell application "Finder"
duplicate file "somefile.txt" of folder of (file (path to me)) to folder applications of folder startup disk
end tell
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你非常接近,但这是正确的脚本。
You're very close, but here is the correct script.