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: "R.L. Grigg" <email@hidden>
- Date: Mon, 26 Nov 2007 17:56:38 -0800
On Nov 22, 2007, at 7:33 AM, Clark Cox wrote:
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.
Tell this to Apple. The installation of iWork '08 and iLife '08 do
this and its very annoying.
Russ
_______________________________________________
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