• 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: Finding the Path to a renamed File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding the Path to a renamed File


  • Subject: Re: Finding the Path to a renamed File
  • From: Emmanuel <email@hidden>
  • Date: Tue, 18 Sep 2001 15:39:53 +0200

At 14:51 +0200 18/09/01, Don Thompson wrote:

>set NewFileName to "MyCustomName"
>set WhereToCreate to "Macintosh HD:MyFolder:"
>
>-- create the file in the folder (which does exist)
>

----------------------- not tested
tell application "Finder" to make new folder at alias WhereToCreate with
properties {name:NewFileName}
-----------------------

or, less smart:

----------------------- not tested
tell application "Finder"
set theNewFolder to make new folder at alias WhereToCreate
set name of theNewFolder to theNewFileName
end
-----------------------

HTH
Emmanuel


References: 
 >Finding the Path to a renamed File (From: Don Thompson <email@hidden>)

  • Prev by Date: Finding the Path to a renamed File
  • Next by Date: Re: Finding the Path to a renamed File
  • Previous by thread: Finding the Path to a renamed File
  • Next by thread: Re: Finding the Path to a renamed File
  • Index(es):
    • Date
    • Thread