• 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: Bryan <email@hidden>
  • Date: Tue, 18 Sep 2001 10:04:14 -0400
  • Organization: Apex Radiology

set NewFileName to "MyCustomName"
set WhereToCreate to "Macintosh HD:"
tell application "Finder"
if folder WhereToCreate exists then
make file at alias WhereToCreate with properties {name:NewFileName}
end if
end tell

Don Thompson wrote:

> Hi,
>
> OK, I give up. All I want to do is create a file with a specific name in a
> specific place.
>
> Despite AppleScript for Dummies and AppleScript in a Nutshell, all I manage
> to do is confuse the Finder.
>
> Here's the basics:
>
> set NewFileName to "MyCustomName"
> set WhereToCreate to "Macintosh HD:MyFolder:"
>
> -- create the file in the folder (which does exist)
>
> insert your wisdom here.
>
> I'm hoping that this will be a piece of cake for most of you.
>
> Thanks....in advance.
>
> Don Thompson
> Sleek Software
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users

[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]


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

  • Prev by Date: Re: Finding the Path to a renamed File
  • Next by Date: Re: applescript-users digest, Vol 2 #1070 - 16 msgs
  • Previous by thread: Re: Finding the Path to a renamed File
  • Next by thread: Re: applescript-users digest, Vol 2 #1070 - 16 msgs
  • Index(es):
    • Date
    • Thread