Re: Get physical size
Re: Get physical size
- Subject: Re: Get physical size
- From: Yvan KOENIG <email@hidden>
- Date: Thu, 14 May 2009 10:02:41 +0200
Le 14 mai 2009 à 09:21, Jay Louvion a écrit :
Hi all,
I have often had problems when it came to returning the physical
size of an element*, especially from mounted netwrok discs.
Does anyone have a foolproof way of doing this, even using a shell
script – working around the eternal (or often returning) missing
value. Looping works some times, but also sometimes loops for five
hours to no avail...
*as in “set MySize to physical size of...” in a tell Finder block.
the Finder is an old lazy beast.
Why not rely on the more efficient "System Events" ?
tell application "System Event"
set myPhysicalSize to physical size of disk item
"path:to:the:target:item"
end tell
Yvan KOENIG (from FRANCE jeudi 14 mai 2009 10:02:33)
_______________________________________________
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