• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script server as faceless background application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script server as faceless background application?


  • Subject: Re: Script server as faceless background application?
  • From: Michael Terry <email@hidden>
  • Date: Fri, 5 Dec 2003 18:48:39 -0800

On May 29, 2002, at 11:36 AM, Christopher Nebel wrote:

On Wednesday, May 29, 2002, at 06:11 AM, Paul Skinner wrote:

Yes, Use a resource editor to edit the plst resource inside the application and add the ...

<key>NSUIElement</key>
<string>1</string>

... key value pair to it. I'm not sure what your <key>LSUIElement</key> sets.
Make sure you make a way to quit it, or you'll have to kill it's PID.

NSUIElement is the older, now-deprecated version of LSUIElement. They both have the same effect, though.

If the application is truly background-only, however, then you actually want LSBGOnly. LSUIElement is for applications that don't show up in the dock and don't have a menu bar but *do* have user interface -- a floating window, for example. The Dock is one example; Script Runner is another.


I don't have the rest of this thread because I haven't pulled all my archived mail from my old client, but did take special care to retrieve Chris Nebel's. Perhaps someone already mentioned this, but after much hair-tearing, I found that LSBGOnly doesn't work, but NSBGOnly does. Just for the record.


Cheers,
Mike
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Reading resource forks
  • Next by Date: script to quiet itunes on ichat activity
  • Previous by thread: RE: Reading resource forks
  • Next by thread: script to quiet itunes on ichat activity
  • Index(es):
    • Date
    • Thread