Adobe Acrobat pro的applescript - 从动作向导运行动作

时间:2013-09-05 15:29:14

标签: applescript acrobat

我对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

非常感谢......

1 个答案:

答案 0 :(得分:1)

尝试在点击窗口之前添加一些延迟。

click the menu item "Rajni" of menu 1 of menu item "Action Wizard" of the menu "File" of menu bar 1
delay 2
click button "Next" of window "Rajni"