Tell Statement Problem
Tell Statement Problem
- Subject: Tell Statement Problem
- From: Bastard Child <email@hidden>
- Date: Sat, 28 Jan 2006 00:04:51 -0800
Hi All,
I've got some code here that doesn't appear to be working, and I can't
figure out why. The closest thing I can come up with, is that the
"tell" statement doesn't like the "theFolder" variable. Whenever I run
the code in the Script Editor, I draw the following error:
Finder got an error: Expected a reference.
Here's the code:
-----
set theFolder to choose folder
parseFolder(theFolder)
on parseFolder(aFolder)
tell application "Finder"
set theNumItems to number of items in aFolder
end tell
end parseFolder
-----
Any ideas?
--
The Bastard Child Has Spoken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden