我一直在试验 Pages 对象模型,并试图用 AppleScript 来操作它。我可以使用此命令将新页面添加到文档中。制作新页面 我面临的问题是它总是在文档的开头而不是在文档的末尾创建新页面。
字典说整个语法是
set theResult to make new type class ¬
at location specifier ¬
with data anything ¬
with properties record
并且我尝试使用 BOTTOM 和 END 作为位置说明符的值,但它们没有成功。在文档底部创建新页面或新部分时,我缺少什么?