Re: Counting Multiple files??
Re: Counting Multiple files??
- Subject: Re: Counting Multiple files??
- From: vectormation <email@hidden>
- Date: Tue, 20 Nov 2001 00:37:22 -0500
Here's a snippet
--=======================================
--aFolder : "Drive:folder:subfolder:"
set fList to list folder aFolder
--list folder is in Apple's Standard Additions OSAX
set fCount to count fList
-- check for typical invisible files...
if (fList contains ("icon"&return) as string) then
set fCount to fCount - 1
end if
--=======================================
~Phi
>
Is there a way where I can have applescript count several files in a folder
>
and return an integer number so I can use that number in a loop statement?
>
And how can I get appplescript to get the measurements of a pic.tif or
>
pic.eps. I mean like the parameter size of a pic? For example, a pic that is
>
in a folder is 4X5 inches, I would like applescript to determine those
>
number rather than hard coding it in the script.
>
>
Thanks,
>
Carlos Cavaozs
>
>
>
>
>
>
__________________________________________________________________________
>
____
>
Send a friend your Buddy Card and stay in contact always with Excite
>
Messenger
>
http://messenger.excite.com
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users