• 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: Physical size of the trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Physical size of the trash


  • Subject: Re: Physical size of the trash
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 19 Oct 2005 20:55:11 +0200


Le 19 oct. 2005 , à 20:10, John M a écrit :

Dear John,

Good question.  Standard Additions has no problem with it.

set myName to "john" -- your short user name
set x to alias ((path to users folder as text) & myName & ":.Trash")
set y to size of (info for x)


This script may be shorten to:

set ptt to (path to trash)
set y to size of (info for ptt)

But, am I wrong ?

it seems that the question was about "physical size" which is not the same thing than "size".

Yvan KOENIG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Physical size of the trash (From: John M <email@hidden>)

  • Prev by Date: Dialog simple question
  • Next by Date: Re: copying to and from clipboard problem
  • Previous by thread: Re: Physical size of the trash
  • Next by thread: Re: Physical size of the trash
  • Index(es):
    • Date
    • Thread