Re: quit the dock - possible?
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.