Re: Programmatically placing an item in the dock

2008-04-22 Thread Oliver Wagner
I know what I'm wanting to do used to be possible (link is from 2002), so I wasn't sure if it had migrated over to 10.5 http://developer.apple.com/adcnews/pastissues/devnews110102.html (search for CFPrefDockItems) Ollie On Apr 22, 2008, at 9:51 AM, John Stiles wrote: This "solution" will

Re: Programmatically placing an item in the dock

2008-04-22 Thread John Stiles
This "solution" will also kill all the user's Dashboard widgets, so it's not to be taken lightly. Mike Abdullah wrote: 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, Oliv

Re: Programmatically placing an item in the dock

2008-04-22 Thread Mike Abdullah
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 re

Programmatically placing an item in the dock

2008-04-21 Thread Oliver Wagner
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 ___