Folder Sizes
Folder Sizes
- Subject: Folder Sizes
- From: Steve Suranie <email@hidden>
- Date: Thu, 23 Mar 2006 12:17:54 -0500
- Thread-topic: Folder Sizes
I'm trying to get the size of some folders on a file server. When I run my
script, whether I am using the Finder or System Events I get "missing value"
returned but when I get info on the folder from my desktop it calculates the
size (in this case 76.2mb)
Here's the relevant code:
repeat with x from 1 to count of every item of scrubbedList
set thisFolder to item x of scrubbedList
tell application "System Events"
try
return properties of (thisFolder as alias)
on error errMsg
display dialog errMsg
end try
end tell
end repeat
scrubbedList contains paths to the folders: ImageDump:Online
_Shop_Originals:2006:OT:OT_apparel:tops:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden