On Oct 12, 2010, at 7: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.

If you intend to do this programmatically, only do so with the consent of the 
user.  The dock is the domain of the user.  It is not appropriate for an 
application to modify it on its own.  Only the user is entitled to modify it.

That's presumably why Apple has not provided any public means to modify it.  
(By contrast, they did provide public API starting with 10.5, LSSharedFileList, 
for login items, favorites, and recents.)

Regards,
Ken

_______________________________________________

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

Reply via email to