Re: quit the dock - possible?
Re: quit the dock - possible?
- Subject: Re: quit the dock - possible?
- From: Joe Klemmer <email@hidden>
- Date: Fri, 25 Jun 2004 14:48:35 -0400
- Organization: Unix System/Network Administrator & Ad Hoc Programmer
On Wed, 2004-06-23 at 07:28, email@hidden wrote:
>
sorry, i did not read the beginning of the thread but i actually had to
>
radically kill the dock yesterday and this worked:
>
>
in terminal:
>
a 'top' to find the dock pid
>
a 'grep' to get that number
>
a 'kill -9' that pid to kill the dock
>
>
et voila, le dock is dead !
>
>
now you only have to put that in an applescript :)
FWIW, here's one way to do that -
do shell script "kill `ps -ef|grep <nameofdock>|grep -v grep|awk '{print $2}'`"
Just replace nameofdock with the actual dock name.
--
Joe Klemmer <email@hidden>
Unix System/Network Administrator & Ad Hoc Programmer
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.