Re: Suppressing visibility in the Dock
Re: Suppressing visibility in the Dock
- Subject: Re: Suppressing visibility in the Dock
- From: Michael Diehr <email@hidden>
- Date: Thu, 27 May 2010 12:16:35 -0700
On May 24, 2010, at 9:19 AM, Ben Haller wrote:
> On 24-May-10, at 12:30 AM, Ben Haller wrote:
>
>> On 24-May-10, at 12:12 AM, Ken Thomases wrote:
>>
>>> I think you can also get away with using LSBackgroundOnly or LSUIElement and then, when you want it to be a foreground GUI app, use TransformProcessType() to make it one.
>>
>> This seems pretty plausible. Somebody else suggested the same thing off-list. I'll give it a go and report back once I've got results.
>
> For the list: this worked very nicely. Very easy to set up. These pages were useful:
>
> http://www.cocoadev.com/index.pl?TransformProcessType
> http://www.cocoadev.com/index.pl?LSUIElement
> http://www.cocoadev.com/index.pl?LSBackgroundOnly
I use a similar technique and have found it works well, only issue is on 10.4 it's a bit wonky (if memory serves, LEUIElement doesn't work so you have to use LSBackgroundOnly, but then when you TransformProcessTYpe() the dock icon is missing the "active app" indicator. Do test on 10.4 if that's a supported platform for you._______________________________________________
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