Ok, I have created a little utility with AppleScript and used Automator to turn it into an application (MyApp.app). I would like to create a Menu Bar item (menulet, menu extra) that simply launches MyApp.app when you click on it.
I understand I need to create some kind of .menu file that goes in /System/Library/CoreServices/Menu Extras folder.
I have Xcode setup, but not really sure where I need to start. All my googling has turned up is how to add and remove existing menulets already in the Menu Extras folder.
Any hints, tips, tutorials or code appreciated!
EDIT: I do NOT want to run the AppleScript from the little Script Menu Bar item... I want a separate menu bar item that will launch the application.
EDIT: I am talking about the Menu Bar up in the top right corner, not the Dock.
EDIT: I want to be able to create a shortcut or a quick launch button to an application, so that one click on the icon in the menu bar will launch the application. I do not want or need any drop down menus associated with the menu bar item ... one-click = launch application.
You are looking for a status item - see Status Bar Programming Topics. An older (Xcode 3, but there isn't much to it) tutorial can be found here.