Use applescript to make a background application?

Discussion in 'Mac Programming' started by mokono, Apr 28, 2009.

  1. mokono macrumors newbie

    Joined:
    Apr 12, 2009
    #1
    I'm working on an app made in applescript. But I need it to run in the background using nothing but the script that the app is made of.

    how?

    much thanks to potential helpful answers!
     
  2. satyam90 macrumors regular

    satyam90

    Joined:
    Jul 30, 2007
    Location:
    Bangalore, India
    #2
    Can you share what's in the script that you want it to run in background?
     
  3. larkost macrumors 6502a

    Joined:
    Oct 13, 2007
    #3
    By "in the background" what do you mean? If you are talking about just not having an entry on the dock or a menubar, then it is easy, you just have to put the "LSUIElement" tag into the Info.plist file inside the application bundle with a value of True (bool).

    If you are talking about something else, then you are going to need to be a lot clearer.
     
  4. wontonunist macrumors newbie

    Joined:
    Apr 14, 2011
    #4
    Thank you so so so so so much. You just made my day.

    I know, I know, pointless post, but I had to say it!!
     

Share This Page