Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Deactivate the Dock...?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Deactivate the Dock...?
Authored by: S on Mar 01, '08 09:43:23AM

set dockActive to false
set dockPath to ":System:Library:CoreServices:Dock.app"

try
	dockPath as alias
	set dockActive to true
on error
	set dockActive to false
end try

if dockActive = false then
	do shell script "mv ~/System/Dock.app /System/Library/CoreServices/Dock.app; open /System/Library/CoreServices/Dock.app" user name "*" password "*" with administrator privileges
else
	do shell script "mv /System/Library/CoreServices/Dock.app ~/System/Dock.app; killall Dock" user name "*" password "*" with administrator privileges
end if


[ Reply to This | # ]