Re: Get physical size of file on mounted disk
Re: Get physical size of file on mounted disk
- Subject: Re: Get physical size of file on mounted disk
- From: Brian Christmas <email@hidden>
- Date: Wed, 11 Mar 2009 06:42:38 +1100
G'day Jay
This works for me.
set mysize to {} tell application "Finder" repeat with myStraw in (get every file of entire contents of folder "Yearly Email Storage 2009" of disk "jobs") set end of mysize to physical size of myStraw end repeat end tell mysize
Regards
Santa
On 11/03/2009, at 6:24 AM, Jay Louvion wrote: repeat with myStraw in myHaystack if (name of myStraw) is in myNeedles then set myPinCushion to myPinCushion & (myStraw as alias) set mysize to missing value repeat until mysize is not missing value tell application "Finder" to set mysize to physical size of myStraw if mysize is missing value then tell application "Finder" to update myStraw end if end repeat end if end repeat
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden