Kill Dock... On 10.5
Kill Dock... On 10.5
- Subject: Kill Dock... On 10.5
- From: Tod Hallberg <email@hidden>
- Date: Fri, 08 Aug 2008 15:56:01 -0500
- Thread-topic: Kill Dock... On 10.5
In 10.3 and in 10.4 I used a applescript named ²Dock² as a startup item. All
it did was quit the dock and it then stayed running so that the original
apple Dock would not start back up.
-------Begin Script---------------
on run
try
set p to (path to startup disk as text) &
"System:Library:CoreServices:Dock.app:"
tell application p
quit
end tell
tell application "Finder"
activate
end tell
end try
end run
----------End Script------------
I am currently testing 10.5, and to much dismay, this simple script no
longer works.
It appears that the "trick" of having another application named "Dock"
running will simply no longer work. The apple Dock does quit, but then
starts right back up, and my applescript Dock is still running as well.
I also tried using a shell script that was posted on the internet to kill
the dock, but it has the same result.
-------Begin Script---------------
Repeat
try
do shell script "kill $(top -l 1 | awk'/Dock/ {print $1}'"
Delay 1
End try
End repeat
----------End Script------------
This does repeatedly attempt to kill the dock, but it is still showing up
when I don't want to see it.
Does anyone know a way to "kill" the 10.5 dock so that it stays quit?
I have tried removing it from the system, but that prevents it from working
in other accounts that have access to the dock. Along with a whole host of
other issues that I am ok doing without in one account, but not the others.
Thanx
tod
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden