• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get physical size of file on mounted disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 15:09:00 +1100


Actually, System Events isn't needed.

This is as fast as I can make it


set mysize to {}
set mysizestring to {}
set mynamestring to {}
tell application "Finder"
set mysize to (get properties of every file of entire contents of folder "Yearly Email Storage 2009" of disk "jobs")
repeat with temp in mysize
set end of mynamestring to name of temp
set end of mysizestring to size of temp
end repeat
end tell
mysizestring & mynamestring

Regards

Santa
 _______________________________________________
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

  • Follow-Ups:
    • Get List of window PC's in the network
      • From: "Sutapalli Satyanarayana" <email@hidden>
    • Re: Get physical size of file on mounted disk
      • From: Brian Christmas <email@hidden>
References: 
 >Get physical size of file on mounted disk (From: Jay Louvion <email@hidden>)
 >Re: Get physical size of file on mounted disk (From: KOENIG Yvan <email@hidden>)
 >Re: Get physical size of file on mounted disk (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Get physical size of file on mounted disk
  • Next by Date: Re: Get physical size of file on mounted disk
  • Previous by thread: Re: Get physical size of file on mounted disk
  • Next by thread: Re: Get physical size of file on mounted disk
  • Index(es):
    • Date
    • Thread