
[英]In Applescript, how can I find out if a menu item is selected/focused?
[英]How can I choose a menu item from dropdown menu using AppleScript (Big Sur OS)
对于 Catalina,我只会在 Preview 中做这样的事情
click pop up button 3
click menu item "Study Edge" of menu 1 of pop up button 3
但是对于大苏尔来说,这不再有效:(
添加 Big Sur 现在需要的拆分器组后,我的代码如下所示:
tell sheet 1
tell splitter group 1
click pop up button 3
click menu item "Study Edge" of menu 1 of pop up button 3
end tell
click menu button "PDF"
repeat until exists menu 1 of menu button "PDF"
delay 0.02
end repeat
click menu item "Save as PDF" of menu 1 of menu button "PDF"
end tell
但它无法找到菜单项“学习边缘”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.