我对 Applescript 非常陌生,我编写了一个快速脚本,可以根据文件类型和修改日期打开一些文件/目录。任何修改后,我都需要在 iBooks 中打开这些文件。你能告诉我我的剧本有什么问题吗?
这是脚本:
set theFolder to alias "Macintosh HD:::"
tell application "iBooks"
open (file of theFolder whose name extension is "epub" and modification date is less than (current date))
end tell