• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: quit the dock - possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >quit the dock - possible? (From: Armin Egginger <email@hidden>)
 >Re: quit the dock - possible? (From: Paul Skinner <email@hidden>)
 >Re: quit the dock - possible? (From: Walter Ian Kaye <email@hidden>)
 >Re: quit the dock - possible? (From: Paul Skinner <email@hidden>)
 >Re: quit the dock - possible? (From: email@hidden)

  • Prev by Date: guess the file size of compressed file from the original
  • Next by Date: Re: Finder window sidebar
  • Previous by thread: Re: quit the dock - possible?
  • Next by thread: Re: quit the dock - possible?
  • Index(es):
    • Date
    • Thread