On Fri, Oct 9, 2009 at 4:05 PM, Rob Keniger <r...@menumachine.com> wrote: > To do this, surely they must be rewriting the LSUIElement key in the app's > own Info.plist while the app is running, right? Or is there another way to do > this?
I don't know how LittleSnapper is implemented, but you can use TransformProcessType to bring yourself from LSUIElement-ness into Dock-icon-having, full blown app status. I imagine LittleSnapper checks user defaults at launch and calls this function if necessary—this would be the only way to implement this feature for non-admin users who can't write to the app bundle. http://developer.apple.com/mac/library/documentation/Carbon/Reference/Process_Manager/Reference/reference.html#//apple_ref/c/func/TransformProcessType (Also, don't forget about code signing.) --Kyle Sluder _______________________________________________ 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 arch...@mail-archive.com