【发布时间】:2013-09-09 12:38:35
【问题描述】:
我对 adobe acrobat pro 有疑问..
我正在使用 applescript 从Adobe acrobat Pro => Tools => "action wizard" 运行一个操作。
实际上它只是从动作向导中选择动作“Rajni”的第一步,
但我无法单击窗口中显示的“下一步”按钮,进入下一步...然后单击关闭按钮....
任何人都可以帮助解决这个问题...
tell application "System Events"
tell application process "Acrobat"
tell application "Adobe Acrobat Pro" to activate
click the menu item "Rajni" of menu 1 of menu item "Action Wizard" of the menu "File" of menu bar 1
click button "Next" of window "Action: Rajni" -- here is the problem ........
end tell
end tell
非常感谢...
【问题讨论】:
-
您可以使用 Automator 应用程序的记录功能来记录此工作流所需的 UI 交互步骤。然后,您可以从字面上选择并复制 automator 中记录的步骤,并将它们粘贴到新的 Applescript 编辑器窗口中。这将为您提供可能有效也可能无效的applescript。您可能想要编辑脚本,但至少它应该有助于了解以编程方式执行此操作可能还需要什么。我没有 Acrobat Pro 的访问权限,所以无法给出具体的解决方案。
标签: applescript acrobat