Re: Count problem
Re: Count problem
- Subject: Re: Count problem
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 16 Jul 2002 12:58:17 -0400
- Organization: [very little]
>
Date: Mon, 15 Jul 2002 22:25:41 -0700
>
Subject: Count problem
>
From: Duane Bemister <email@hidden>
>
To: email@hidden
>
>
I am trying to get the result of the count of the number of files in a
>
folder
>
>
set the source_folder to alias "WisdomQuesteLibrary:AllwestScans:"
>
set the file_count to the count of the source_folder each file
>
if file_count is 1 then
>
beep
>
else
>
something else
>
>
I get a Finder expected a reference error
>
>
"count of the source_folder each file"
Try:
set the file_count to (count files of source_folder)
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[7/16/02 12:58:09 PM]
_______________________________________________
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.