Yeah, I have a user agent that works like this... Mostly it's controlled by 
launchd but sometimes it presents a window to the user so it needs AppKit 
services... Just remember to call

[NSApplication sharedApplication] before doing anything else :)

------Original Message------
From: Scott Ribe
To: Jason Coco
Cc: Cocoa-dev
Sent: Oct 16, 2008 13:28
Subject: Re: Faceless  background app that uses NSAppleScript

> Add the LSUIElement key to the Info.plist and it will launch without a
> dock icon or a menu.

Aha, it didn't click with me that the application could be a complete normal
Cocoa app and that specifying faceless in the plist would simply hide it.

I've done normal Cocoa apps. I've done UNIXy server daemons (with some CF
stuff). I was imagining having to combine the two in some way requiring
obscure initialization sequences.

Thanks.

-- 
Scott Ribe
[EMAIL PROTECTED]
http://www.killerbytes.com/
(303) 722-0567 voice




Sent via BlackBerry from T-Mobile
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to