applescript将下拉菜单称为什么?

applescript将下拉菜单称为什么?,applescript,Applescript,这个问题与applescript语法有关。applescript将下拉菜单称为什么?applescript对下拉菜单上的一个项目调用什么 这通过“系统事件”起作用。假设您想从“文件”菜单中单击“打开文件…” tell application "System Events" to tell process "Finder" click menu item "Open file..." of menu 1 of menu bar item "File" of menu bar 1 end t

这个问题与applescript语法有关。applescript将下拉菜单称为什么?applescript对下拉菜单上的一个项目调用什么

这通过“系统事件”起作用。假设您想从“文件”菜单中单击“打开文件…”

tell application "System Events" to tell process "Finder"
    click menu item "Open file..." of menu 1 of menu bar item "File" of menu bar 1
end tell

我想作者在寻找术语“弹出按钮”或“组合框”。

这可能就是你想要的:谢谢,Twon ha,但这似乎一点都不相关。我不是在尝试创建applescript应用程序,只是获取一个脚本来单击下拉菜单中的一个项目。感谢您的时间,NGAFD,但我指的是另一种菜单,例如CD和DVD首选项窗格中的四种菜单中的任何一种。您有这种菜单的屏幕截图及其结构吗?这将使我的帮助更容易!:)