Mac Activating the MenuBar programatically

Spike099

macrumors regular
Original poster
Feb 18, 2007
143
0
Canada
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

Moderator emeritus
Jun 15, 2000
7,958
5
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.
 
Comment

Spike099

macrumors regular
Original poster
Feb 18, 2007
143
0
Canada
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.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.