PDA

View Full Version : Activating the MenuBar programatically




Spike099
Nov 1, 2007, 09:57 PM
So, a simple idea, just no idea where to look. I have a button that when clicked, the Apple menu appears. This would function similar to Leopard's new help system where it will highlights menuitems for you. I don't need to highlight single items, just open the Apple menu. Any help or references are appreciated. Thanks.



kainjow
Nov 1, 2007, 11:02 PM
As far as I'm aware, I don't think the Apple menu is accessible via public APIs.

However there's always good ol' AppleScript UI scripting.

Spike099
Nov 1, 2007, 11:26 PM
Okay, sounds good. Looks like i'll have to learn a little about AppleScript :eek:. I knew I bought that book for a reason. Thanks kainjow.