(no subject)
(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.