• 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: Creating a new folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a new folder


  • Subject: Re: Creating a new folder
  • From: Bill White <email@hidden>
  • Date: Sun, 09 May 2004 22:06:02 -0400

> I have written the following test script to create a folder in the folder
> "Test" which is on my desktop. The program works, except it says it can't find
> the folder "Test" and instead of creating the folder there, it creates the new
> folder on the desktop. Why?

I don't see your test script, but something like this should do the trick:

tell application "Finder"

set testFolder to folder "Test" of desktop

set myNewFolder to make new folder at testFolder with properties
{name:"New Folder"} -- watch line wraps

end tell

HTH,

Bill
_______________________________________________
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: 
 >Creating a new folder (From: Carl Anderson <email@hidden>)

  • Prev by Date: Re: Creating a new folder
  • Next by Date: Re: Popup dialog message
  • Previous by thread: Re: Creating a new folder
  • Next by thread: Re: Creating a new folder
  • Index(es):
    • Date
    • Thread