Re: Finding the Path to a renamed File
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]