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

Re: new folder


  • Subject: Re: new folder
  • From: Barry Wainwright <email@hidden>
  • Date: Wed, 21 Sep 2005 13:16:07 +0100
  • Thread-topic: new folder

On 21/9/05 12:57, "Bob Cuilla" <email@hidden> wrote:

> I am running Tiger and would like to script the creation of a new
> folder.  Can anyone provide that syntax?
>
> Thanks
>
> Bob Cuilla


Tell app "finder" to make new folder at desktop with properties {name: "My
New Folder"}

Alternatively, if you want to get fancy and create an entire hierarchy:

Do shell script "mkdir -p '/Users/[your user
name]/Desktop/This/is/a/new/folder/'"


--
Barry



 _______________________________________________
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

References: 
 >new folder (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: new folder
  • Next by Date: Droplet for disks with duplicate names
  • Previous by thread: Re: new folder
  • Next by thread: Re: new folder
  • Index(es):
    • Date
    • Thread