Re: Get File Size - Mac OS 9
Re: Get File Size - Mac OS 9
- Subject: Re: Get File Size - Mac OS 9
- From: Duncan Cowan <email@hidden>
- Date: Fri, 6 Dec 2002 07:03:31 +1100
This in OS X.2.2 - but should be universal.
set theFile to choose file
set fileSize to size of (info for theFile)
display dialog "The file is " & (fileSize as integer) & " bytes"
On Friday, December 6, 2002, at 05:30 AM, Charles Heizer wrote:
>
Hello,
>
I'm not having much luck. I'm trying to write a script to get the size
>
(in bytes) of a file. does anyone have n example of this?
>
>
Thanks,
>
>
- Charles
>
_______________________________________________
>
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.
_______________________________________________
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.