MACSCRPT Archives

September 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Emmett Gray <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 9 Sep 2009 22:22:16 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (12 lines)
Aha. Thank you. It does indeed work without the loop. System Events 
properly waits for a meaningful result (a couple of seconds of 
calculation on a large home folder), whereas the Finder did not and 
had to be repeatedly asked.

On Fri, 4 Sep 2009 13:50:06 +1000, Shane Stanley 
<[log in to unmask]> wrote:

>tell application "System Events" to set mySize to (size of alias myFolder)
>
>on my home folder, and there doesn't seem to be any need for a loop.>

ATOM RSS1 RSS2