• 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: Any Way to Make an Applet Run as a Background Application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any Way to Make an Applet Run as a Background Application?


  • Subject: Re: Any Way to Make an Applet Run as a Background Application?
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 21 Oct 2015 15:12:21 -0500

On Oct 21, 2015, at 2:15 PM, S. J. Cunningham wrote:

I have an applet that I am running periodically using  launchd .  Is there any way to keep it from popping in and out of the Dock every time it runs?  I can't find anything in the launchd documentation that addresses this nor can I find any option to save an applet as a background process.

You need to see this ...
https://developer.apple.com/library/mac/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html

Your application's 'info.plist' file contains the Boolean key "Application is Agent (UIElement)".
If this key is true, then the application will not appear in the Dock when it runs.
The default is false.

I don't use launchd, but I don't think this makes any difference.
I am currently using OS 10.7.5. (In case it matters, probably doesn't.)

I set this key with an AppleScript of my own design.
I don't know if other development environments (Xcode ?) let you do this.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Any Way to Make an Applet Run as a Background Application?
      • From: Luther Fuller <email@hidden>
References: 
 >Any Way to Make an Applet Run as a Background Application? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: Any Way to Make an Applet Run as a Background Application?
  • Next by Date: Re: Any Way to Make an Applet Run as a Background Application?
  • Previous by thread: Any Way to Make an Applet Run as a Background Application?
  • Next by thread: Re: Any Way to Make an Applet Run as a Background Application?
  • Index(es):
    • Date
    • Thread