我试图将Quicktime电影的导出设置保存为使用AppleScript的文件。这是我的代码:AppleScript QuickTime pro保存导出设置
set file2save to (choose file name default location (path to desktop) default name "setting.qtes")
tell application "QuickTime Player 7"
tell document "video.mov"
save export settings for QuickTime movie to file2save
end tell
end tell
,但我得到的错误"QuickTime Player 7 got an error: An error of type -2107 has occurred." number -2107
这个错误发生在“保存导出设置”行...... 我在做什么错? 谢谢。
以下是截图:
确定吗?你有QuickTime Pro吗?我检查了字典,它在那里... – user635064 2011-05-06 00:11:18
1'm不是100%确定我没有亲,但我不认为这很重要,但我可能是错的;当我运行你的代码时,我会得到同样的错误你可以为我打开字典的屏幕截图,这样我就可以看到你看到的是什么? – mcgrailm 2011-05-06 00:15:59
谢谢你试图帮助我。我用截图更新了我的问题。 – user635064 2011-05-06 00:53:47