Desktop level text (like geektool)

Discussion in 'Mac Programming' started by hiddenpremise, Mar 8, 2010.

  1. hiddenpremise macrumors regular

    hiddenpremise

    Joined:
    Jul 25, 2008
    Location:
    Somewhere between my imagination and reality
    #1
    I would like to write an application that allows me to have text right above the desktop and is constantly updated from the internet. I know obj-c and have some cocoa experience, but I have no idea where to begin on this. Should I make a custom NSWindow class with no visible features and then put text inside that? How do I go about sticking it right above the desktop?

    Any ideas are appreciated.
    Thanks much,
    Whit

    EDIT!
    Found my answer, thanks all :)
    http://www.cocoadev.com/index.pl?NSWindowLevel
     
  2. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    iirc use -setWindowLevel: to change the z-ordering of a window.
     
  3. hiddenpremise thread starter macrumors regular

    hiddenpremise

    Joined:
    Jul 25, 2008
    Location:
    Somewhere between my imagination and reality
    #3
    I've managed to get that to work, but I can't get the window behind the desktop no matter how high I set the negative number.

    I have searched and searched to find what level the icon's live at and have had no luck.
     
  4. Objectivist-C macrumors 6502

    Joined:
    Jul 1, 2006
    #4
    Spelunk through the GeekTool source or ask a dev?
     

Share This Page