我试图告诉 applescript 打开应用程序应用程序加载器,然后从窗口中的下拉列表中进行选择。应该选择的项目将始终是第一个项目。我该怎么做呢?提前致谢。
问问题
2591 次
1 回答
2
哇,我终于让它工作了!我对我的脚本非常生气,所以我只输入了一个随机的 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
于 2011-08-13T07:12:09.810 回答