Skip navigation.
 
mlRe: Adding and removing application to the dock programmatically.
FROM : R.L. Grigg
DATE : Tue Nov 27 02:56:38 2007

On Nov 22, 2007, at 7:33 AM, Clark Cox wrote:

> On Nov 22, 2007 1:04 AM, Amit8 J <amit8.<email_removed>> 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

Related mailsAuthorDate
mlAdding and removing application to the dock programmatically. Amit8 J Nov 22, 10:04
mlRe: Adding and removing application to the dock programmatically. Alastair Houghton Nov 22, 11:27
mlRe: Adding and removing application to the dock programmatically. Scott Anguish Nov 22, 11:43
mlRe: Adding and removing application to the dock programmatically. Clark Cox Nov 22, 16:33
mlRe: Adding and removing application to the dock programmatically. R.L. Grigg Nov 27, 02:56