Re: Referring to a folder
Re: Referring to a folder
- Subject: Re: Referring to a folder
- From: Michelle Steiner <email@hidden>
- Date: Wed, 26 Nov 2003 10:47:03 -0700
On Nov 26, 2003, at 9:32 AM, Brian Mather wrote:
Problem is I receive this error:
Can't make <<class cfol>> (<<class cfol "large" of <<class cdis>>
"Scratch"
of application "finder") of application "Finder" into a item.
It would help us if you indicated what line of code had the error. I'm
guessing that it was this one:
if imageHeight >= 400 then move theFile to folder largefolder
The problem is that you already defined the folder in this line:
set largefolder to folder "large" of disk "Scratch"
So all you would need to do is remove the word "folder" from the
if-then statement, so it becomes this:
if imageHeight >= 400 then move theFile to largefolder
At least, that's what I think the problem is.
--Michelle
--
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.