Jag har gjort mig ett litet applescript som kör några shell kommandon... Funkar finfint.
tell current application
display dialog "Quit or Start Dashboard?" buttons {"Quit", "Start"} default button 1
set theResult to button returned of the result
end tell
if theResult is "Quit" then
--Kill
do shell script "defaults write com.apple.dashboard mcx-disabled -boolean YES"
do shell script "killall Dock"
else
--Start
do shell script "defaults write com.apple.dashboard mcx-disabled -boolean NO"
do shell script "killall Dock"
end if