• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Referring to a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Referring to a folder (From: Brian Mather <email@hidden>)

  • Prev by Date: misleading Quark picture box
  • Next by Date: Connect to server question
  • Previous by thread: Referring to a folder
  • Next by thread: RE: referring to a folder
  • Index(es):
    • Date
    • Thread