• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: "Patrick R. Reardon, M.D." <email@hidden>
  • Date: Tue, 3 Sep 2002 17:31:41 -0500

I am in the process of transferring some of my scripts from
OS 9 to OS X. I can't get past asking the finder to count the number
of files in a folder (using the folder name as a string) with the
count command.


tell application "Finder"
count files of folder
"(Drive_name:Users:user_name:Desktop:folder_name)"
end tell

I always get the error message: "Finder got an error: Can't get
every file of folder
(Drive_name:Users:user_name:Desktop:folder_name)."

The count command worked great in OS 9. Any suggestions. I am
running 10.2. I have been reading Applescript in a Nutshell, from
O'Reilly but I can't solve this. Any help would be greatly
appreciated.
--
Pat


Patrick R. Reardon, MD.
Surgical Consultants of Texas
Surgical Director, Methodist Reflux Center


6550 Fannin
Suite 2435
Houston, Texas 77030
Office: 713-790-3140
FAX: 713-790-3235
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: (no subject)
      • From: Emmanuel <email@hidden>
    • Re: (no subject) [Finder count]
      • From: Cornwall <email@hidden>
  • Prev by Date: Help! Need to get text from OS X Mail to Tex-Edit...
  • Next by Date: Re: MS-DOS better than Applescript??
  • Previous by thread: Re: perl in scriptmenu
  • Next by thread: Re: (no subject) [Finder count]
  • Index(es):
    • Date
    • Thread