0

谁能告诉我为什么会出现此错误:

错误“系统事件出现错误:无法获取菜单项 \"Text...\" 的菜单项 \"Save As\" 的菜单 \"File\" 的菜单栏 1 的进程 \"Adobe Reader\"。" 进程“Adobe Reader”的菜单栏1的菜单“文件”的菜单项“另存为”的菜单项“文本...”中的数字-1728

对于此代码:

tell application "Adobe Reader"
tell application "System Events"
    tell process "Adobe Reader"
        tell menu bar 1
            tell menu "File"
                tell menu item "Save As"
                    click menu item "Text…"
                end tell
            end tell
        end tell
    end tell
end tell
end tell
4

1 回答 1

1

尝试

activate application "Adobe Reader"
tell application "System Events"
    tell process "Adobe Reader"
        click menu item "Text..." of menu 1 of menu item "Save As" of menu 1 of menu bar item "File" of menu bar 1
    end tell
end tell
于 2012-10-04T00:11:57.183 回答