• 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: Scheduled command execution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheduled command execution


  • Subject: Re: Scheduled command execution
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 22 Jul 2007 19:54:16 +0200

On 22.07.2007, at 09:47, Paolo Manna wrote:
I'm not aware (but I'm just looking at docs, so I could be wrong) of
limitations for programs launched this way regarding the use of
Foundation, so you should be able to have a command line tool access
the notification system.

Generally, Foundation is not the problem. Usually, you're doing something that requires


a) a different user
b) a connection to the window server

Usually, all of this is in AppKit, but some parts of CoreServices or Application Services (can't really keep those two apart in my head ...) require a window server connection. You may not get that unless you're actually launched by a real user (or as a login item). However, when you're launched that way, you can make your app an LSUIElement with LSBGOnly in the Info.plist to keep it out of the dock.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Scheduled command execution (From: "Paolo Manna" <email@hidden>)

  • Prev by Date: fortran90 code
  • Next by Date: Re: Adding a new row to NSTableView dynamically using bindings
  • Previous by thread: Re: Scheduled command execution
  • Next by thread: Re: detecting mouse movement when window is inactive
  • Index(es):
    • Date
    • Thread