Re: Adding and removing application to the dock programmatically.
Re: Adding and removing application to the dock programmatically.
- Subject: Re: Adding and removing application to the dock programmatically.
- From: "Clark Cox" <email@hidden>
- Date: Thu, 22 Nov 2007 07:33:31 -0800
On Nov 22, 2007 1:04 AM, Amit8 J <email@hidden> wrote:
> Hi All
> I have been having a bit of a problem with placing an application in the
> Dock. I want to place an application icon in the Dock programically. Is
> there some API call which can do this. I Already know another way to do
> the same which is by adding the application to
> "com.apple.preferences.plist" using "defaults". However the problem with
> this way is that the dock has to be restarted to show the change.
This is the only way that I know of to do this, and it is a horrible
idea, for several reasons:
1) It is not supported by Apple, and could change with any OS update
2) Killing the user's Dock also kills all of the things that the dock
is responsible for (such as Dashboard widgets).
3) If I want something in my Dock, I'll put it there; nobody else should do so.
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
P.S. Is this disclaimer really necessary? Taking it literally, I'm not
allowed to even read your e-mail, as I was not the "intended
recipient", and I am committing a crime by the "use, review, ... or
copying of the information contained in this e-mail message"
--
Clark S. Cox III
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:
This email sent to email@hidden