我刚刚开始使用Applescript,需要一些帮助,以便从Windows服务器上获取简单的文件副本。我正在将一个卷挂载到Windows共享中,我需要将该文件夹中的文件复制到桌面。这是迄今为止我所拥有的AppleScript。Applescript将文件从安装卷复制到桌面
tell application "Finder"
mount volume "smb://username:[email protected]/source/MAC/StandardApps"
duplicate file "SymantecEndpointProtection.zip" of folder "StandardApps" to folder "Desktop"
end tell
我得到的错误是“无法设置文件夹\”桌面\“文件夹\”StandardApps \“。”
我确定我错过了一些简单的东西,我又是新来的Applescript。感谢任何帮助。我将提供您需要的任何其他信息。
在此先感谢。
变化'到文件夹“桌面”''到到desktop' – fireshadow52 2012-01-12 17:46:32