Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用applescript访问应用程序中的下拉列表?_Applescript_Automator_Application Loader - Fatal编程技术网

如何使用applescript访问应用程序中的下拉列表?

如何使用applescript访问应用程序中的下拉列表?,applescript,automator,application-loader,Applescript,Automator,Application Loader,我试图告诉applescript打开应用程序、应用程序加载器,然后从窗口中的下拉列表中进行选择。应该选择的项目始终是第一个项目。我该怎么做? 提前谢谢。哇,我终于让它工作了!我对我的脚本非常生气,所以我只需要输入一个随机的ASCII数字,它就神奇地工作了。我很高兴啊哈:) 我想多看看你们的成品是怎样生产的。 activate application "Application Loader" tell application "System Events" tell process "Ap

我试图告诉applescript打开应用程序、应用程序加载器,然后从窗口中的下拉列表中进行选择。应该选择的项目始终是第一个项目。我该怎么做?
提前谢谢。

哇,我终于让它工作了!我对我的脚本非常生气,所以我只需要输入一个随机的ASCII数字,它就神奇地工作了。我很高兴啊哈:)


我想多看看你们的成品是怎样生产的。
activate application "Application Loader"
tell application "System Events"
    tell process "Application Loader"
        tell the first combo box of window 1
            delay 3
            keystroke (ASCII character 30)
            keystroke (ASCII character 12)
            keystroke return
        end tell
    end tell
end tell