开发者

Can I access menu items programmatically from a Cocoa app?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜