Re: remove icon from Dock
Re: remove icon from Dock
- Subject: Re: remove icon from Dock
- From: Charles Srstka <email@hidden>
- Date: Tue, 12 Oct 2010 14:50:21 -0500
On Oct 12, 2010, at 12:49 PM, Wim Lewis wrote:
>
> On 12 Oct 2010, at 5:57 AM, kirankumar wrote:
>> Need help , is there any command line for removing icon from Dock.
>>
>> I don't want to do drag option and aslo do not want right click on
>> Remove from Dock.
>
>
> There isn't a specific API for manipulating the dock, but many people have found that it works to change the 'persistent-apps' and 'persistent-others' keys in the com.apple.dock preferences domain and then send the dock process a HUP signal (or just kill it; it will be automatically restarted).
Don’t do this. Killing the Dock does a bunch of rude things to the user — all minimized windows suddenly pop out onto the screen, random desktop pictures get refreshed on older systems, and the Dashboard server gets killed, terminating all active Dashboard widgets. It’s true that I was guilty of doing this a long, long time ago with DockDisks, but I’ve since learned my lesson. ;-) I’d recommend against it.
Charles_______________________________________________
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