我有 Keynote 幻灯片,我想自动将它们导出为图像,以便使用 AppleScript 进一步上传到服务器。我试图管理它:
tell application "Keynote"
set doc to open "full-path-to-.key"
save doc -- this line didn't help
export doc to file "full-path-to-folder" as slide images
end tell
该脚本以
error "Keynote got an error: The document “...” could not be exported as “full-path-to-folder”. Your most recent changes might be lost." number 6
为什么?