Quite simply there is no public API to control the dock. The closest
(and hacky) solution is to modify the dock's plist and restart it.
Mike.
On 22 Apr 2008, at 07:02, Oliver Wagner wrote:
Hi everyone,
I would like to add and remove an item in the dock (preferably with a
nice poof when removed) programmatically without restarting the dock.
I can't find a way to do this in 10.5. Do any of you know if this is
possible?
Thanks,
Ollie
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden