Create application without Dock icon, like Alfred

Discussion in 'Mac Programming' started by Gwendolini, Mar 10, 2015.

  1. Gwendolini macrumors 6502

    Gwendolini

    Joined:
    Feb 5, 2015
    Location:
    random
    #1
    Is it possible to use Xcode 6.2 to create an application that is invoked by a mouse button or keyboard shortcut with a small window around the mouse pointer (transparent and no typical OS X like window), and that that application has no Dock icon and just a small one in the Menu Bar or maybe even as a System Preference?
    The application does not need to go through the App Store, it is more a personal experiment.
     
  2. mfram macrumors 65816

    Joined:
    Jan 23, 2010
    Location:
    San Diego, CA USA
    #2
    Just Google for "mac menubar app" and you will find all kind of hits and tutorials. I just made a quick one for another post on these forums. I can post the source if you are interested.
     
  3. theSeb macrumors 604

    theSeb

    Joined:
    Aug 10, 2010
    Location:
    Poole, England
    #3
    I am not OP, but I am certainly interested. I have never tried this before.
     
  4. Red Menace macrumors 6502

    Joined:
    May 29, 2011
    Location:
    Littleton, Colorado, USA
    #4
    In your application's Info.plist, add a LSUIElement key and set it to true - this will make it an agent, with no Dock icon or menu bar.
     

Share This Page