1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Running my application in the top right of the menu bar

Discussion in 'Mac Programming' started by Monkaaay, Aug 18, 2007.

  1. macrumors 6502

    Monkaaay

    #1
    How can I have my application run in the top right of the menu bar similar to Adium?
     
  2. macrumors 603

    swiftaw

    #2
    The application has to have a menu bar icon as part of it's settings. Not every application has one.
     
  3. macrumors 6502

    Monkaaay

    #3
    I can't find a good search query to use in Google to uncover documentation about this. Do you know of any good links I can reference?

    I like how Adium is doing it because it acts as a menu item but doesn't require you to take focus away from the application you're currently working with. I'd like to do something similar.
     
  4. macrumors 68030

    Catfish_Man

  5. macrumors 6502

    Monkaaay

    #5
    I really need to learn how to use their docs. Thanks for the link!
     
  6. macrumors 6502a

    #6
    Just some extra stuff:

    To remove the dock icon and make it only available in the menu set LSUIElement in Info.plist to 1

    You can also get NSStatusItems in AppleScript using a addition i made, if anyone wants it just PM me
     

Share This Page