• 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: Tell Finder Make New Folder wierdness!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tell Finder Make New Folder wierdness!


  • Subject: Re: Tell Finder Make New Folder wierdness!
  • From: Ehsan Saffari <email@hidden>
  • Date: Tue, 22 May 2001 21:17:58 -0600

On 22/05/2001 20:42, Roderick Scott Corporation <email@hidden>
wrote:

>I hope someone can help me. I'm trying to write a handler that will
>crawl a folder path and verify the existence of the path, making new
>folders as necessary to fulfill the path. Unfortunately, once my
>script passes the point of creating a folder, it can no longer use
>that new folder to place anything into it i.e. another folder. I
>simply get an error that the last folder I created does not exist -
>and therefore I cannot make a new folder in it.

Works fine here, strParentFolder contains the alias to the newly created
folder and you can tell Finder to create a folder in it within the same
handler.

--begin snippet--
set strParentFolder to strFolderPath as alias
end repeat
end if
make new folder at strParentFolder with properties {name:"Aha!"}--add
this line
end tell
--end snippet--

Maybe your problem is in passing strParentFolder to another handler?

cheers
ehsan


  • Prev by Date: Re: Tell Finder Make New Folder wierdness!
  • Next by Date: Finder - make new folder solution
  • Previous by thread: Re: Tell Finder Make New Folder wierdness!
  • Next by thread: Finder - make new folder solution
  • Index(es):
    • Date
    • Thread