【发布时间】:2020-05-24 04:14:17
【问题描述】:
我正在尝试使用以下路径和名称保存文档:
set outpath to "Dropbox/PHY101 - Current/" & "E1S1.pdf"
但是,由于有空格,这不起作用。 我尝试使用:
PHY101\\ -\\ Current and PHY101\ -\ Current
它们都不起作用。
这是剩下的代码:
tell application "Microsoft Word"
set activeDoc to active document
save as activeDoc file name outpath file format format PDF
end tell
【问题讨论】:
-
你还有一些空间可以逃脱。您也可以使用
quoted form属性。 -
引用的形式是什么?
标签: path applescript spaces save-as