Refreshing the dock without killing it?!
Long story, but basically I need to be able to force the dock to update all of its icons either through the terminal or applescript. I am currently accomplishing this by killing the Dock process, but this also causes the dashboard to restart, and also the desktop picture (if it is set to change periodically).
Is there no way around this? Any terminal command for closing and reopening the dock without closing and reopening the Dock 'application'?
Thanks
Is there no way around this? Any terminal command for closing and reopening the dock without closing and reopening the Dock 'application'?
Thanks
Comments
Long story, but basically I need to be able to force the dock to update all of its icons either through the terminal or applescript. I am currently accomplishing this by killing the Dock process, but this also causes the dashboard to restart, and also the desktop picture (if it is set to change periodically).
Is there no way around this? Any terminal command for closing and reopening the dock without closing and reopening the Dock 'application'?
Thanks
Not really. The closest thing is to use Activity Monitor to force-quit the Dock, but that will essentially kill it, just like Terminal. Mind if I ask why it's necessary?
I have a small app that update iCal's icon, so I need to force the dock to refresh it. I'll just need to go with killing the Dock process, and put up with the Dashboard restarting.
Thanks for confirming what I thought.
I have a small app that update iCal's icon, so I need to force the dock to refresh it. I'll just need to go with killing the Dock process, and put up with the Dashboard restarting.
Is it something like making the iCal icon display the current date, rather than July 17th, without having to constantly run the program?
Because that's bitchin'.
killall -HUP Dock