• 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: Counting Multiple files??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Open Filemaker Pro
  • Next by Date: Re: Appleworks 5: Make new object at ???
  • Previous by thread: Re: Counting Multiple files??
  • Next by thread: Open/Close Unscriptable Apps?
  • Index(es):
    • Date
    • Thread