• 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: help on a script regulating folder size please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help on a script regulating folder size please


  • Subject: Re: help on a script regulating folder size please
  • From: "Wallace, William" <email@hidden>
  • Date: Tue, 30 Mar 2004 15:41:46 -0600
  • Thread-topic: Re: help on a script regulating folder size please

Here's how you can get the size in kilobytes or megabytes:

set theFolder to choose folder
set folderSize to (size of (info for theFolder))
set kiloSize to round (folderSize / 1024) rounding to nearest
set megaSize to (round (kiloSize * 10) / 1024) / 10

B!ll
_______________________________________________
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.


  • Prev by Date: Re: Image Events
  • Next by Date: Re: AppleScript & HTML Again...
  • Previous by thread: Re: help on a script regulating folder size please
  • Next by thread: do shell script curl where url must contain double quotes
  • Index(es):
    • Date
    • Thread