Re: Scheduled command execution
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