by Jolly Roger <jollyroger@[EMAIL PROTECTED]
>
Apr 26, 2008 at 12:57 AM
In article
<301cba75-2b47-45ba-a2c0-3c725f7301da@[EMAIL PROTECTED]
>,
Raj <rajanikanth@[EMAIL PROTECTED]
> wrote:
> Hi!
>
> Could somebody tell me why I get this error
>
> Finder got an error: Can't get every file of folder "Applications" of
> startup.
>
> when I run this script:
(snip)
Try this instead:
set appFolder to POSIX file "/Applications"
tell application "Finder"
if appFolder exists then
return count files in folder appFolder
else
return 0
end if
end tell
--
Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.
JR