开发者

Can I access menu items programmatically from a Cocoa app?

开发者 https://www.devze.com 2023-03-18 11:11 出处:网络
I\'m talking about Mac OS X. Can I count the amount of menu items c开发者_开发技巧urrently displayed for the active window? Can I get their text? Thanks.Yes, using the accessibility API.

I'm talking about Mac OS X. Can I count the amount of menu items c开发者_开发技巧urrently displayed for the active window? Can I get their text? Thanks.


Yes, using the accessibility API.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号