folder size
folder size
- Subject: folder size
- From: John Cochrane <email@hidden>
- Date: Thu, 2 Oct 2003 21:49:40 +1000
Could someone please explain the following behavior to me.
The first time I run the script
tell application "Finder"
size of aFolder
end tell
It results in a missing value.
Subsequent runs give a correct numeric result unless I log out and run
the script again.
The same does not apply for
tell application "Finder"
size of aFile
end tell
which gets it right from the start.
Is there a way to get the first script to return a number the first
time. Enclosing it in a try block does not seem to help.
AS 2.0 on OS 10.2.8
Puzzled.
John Cochrane
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.