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


Click here to return to the 'An AppleScript to calculate item sizes in the Finder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to calculate item sizes in the Finder
Authored by: xyz3 on Jun 09, '06 09:35:24AM

--or
tell application "Finder" to set kFiles to selection as list

set izmers_all to 0

repeat with kFile in kFiles
set izmers to size of (info for (kFile as alias))
set izmers_all to izmers_all + izmers
end repeat

set y to izmers_all / ((1024) ^ 2)
set z to (round (10 * y)) / 10
set alerts to "Total size of selected files : " & z & " MB"
display alert alerts


Or Press Command + option + I in the Finder and select multiple items...



[ Reply to This | # ]