Re: Faceless background app that uses NSAppleScript
Re: Faceless background app that uses NSAppleScript
- Subject: Re: Faceless background app that uses NSAppleScript
- From: email@hidden
- Date: Thu, 16 Oct 2008 17:48:11 +0000
- Importance: Normal
- Sensitivity: Normal
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@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
Sent via BlackBerry from T-Mobile
_______________________________________________
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