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


Click here to return to the 'An AppleScript to toggle 'Calculate folder sizes'' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to toggle 'Calculate folder sizes'
Authored by: amos on May 13, '04 04:04:00PM
This version will change the view of the frontmost window to list view before activating the option to view the folder size

tell application "Finder"
	set current view of Finder window 1 to list view
	if calculates folder sizes of the list view options ¬
		of the front window is true then
		set calculates folder sizes of the list view options ¬
			of the front window to false
	else
		set calculates folder sizes of the list view options ¬
			of the front window to true
	end if
end tell
Andrea

[ Reply to This | # ]