• 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: Gnarlodious <email@hidden>
  • Date: Wed, 23 Jun 2004 21:19:20 -0600

Entity Jonathan Levi, M.D. spoke thus:

> repeat
> try
> do shell script "kill $(top -l 1 | awk '/Dock/ { print $1 }')"
> delay 1
> end try
> end repeat

It looks to me like what is happening here is that Dock.app is repeatedly
starting and quitting. Sort of a high overhead solution, isn't it?

> but you'd best be sure that not letting the Dock revive is really
> what you want: I put that script into ScriptMenu.menu and now I can't
> kill it!
In a pinch you can fire up Activity Monitor and quit from in there.

But here's what I'm saying:


on reopen
tell me to quit
end reopen

So Dock toggles on and off from the same script.
Thanks to Walter for the "reopen" tip

-- Gnarlie
_______________________________________________
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: 
 >Re: Re: quit the dock - possible? (applescript-users digest, Vol 3 #2777) (From: "Jonathan Levi, M.D." <email@hidden>)

  • Prev by Date: Second-Time conversion
  • Next by Date: Re: Second-Time conversion
  • Previous by thread: Re: Re: quit the dock - possible? (applescript-users digest, Vol 3 #2777)
  • Next by thread: Re: quit the dock - possible?
  • Index(es):
    • Date
    • Thread