10.4: Quickly free memory used by Dashboard widgets
Mar 09, '07 07:30:01AM
Contributed by: Anonymous
If you only use Dashboard on rare occasions, and don't want all those widgets to stay running forever, try the following AppleScript:
tell application "Dock"
quit
launch
end tell
This will relaunch the Dock and, since all the Dashboard widgets are subprocesses of the dock, they will be closed. Widgets will stay closed until Dashboard is invoked again.
[robg adds: This is a handy way to quickly free up the RAM used by open Dashboard widgets. Run it, and the RAM is released. Press F12 again after that, and you'll see that your open Widgets are all still open (you'll just have to wait through that slight delay as Dashboard 'activates' them again). If you're interested in permanently disabling Dashboard, then you want this hint instead.]
Comments (14)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20070307084342195