Subject: | |
From: | |
Reply To: | |
Date: | Sun, 31 Jan 2010 05:34:51 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
EUREKA!!!!
However, I had to change set file name of filePath to fileNameNew to read...
set file name of ALIAS filePath to fileNameNew
THANKS, Ed!!!!
Chuck
On Jan 30, 2010, at 2:11 PM, [log in to unmask] wrote:
> You've gotten a few good answers, here's one more that may require less editing of your scripts that depend on Jons Commands:
>
>
>
> set fileNameNew to (fileNameNew & mySuffix) as string -- new name for file
>
> set filePath to (srcFolder & fileName) as string -- path to file to be renamed
>
> tell application "Finder" to set name of file filePath to fileNameNew
>
>
> HTH
>
> ES
>
> On Jan 30, 2010, at 9:19am, Chuck Pelto wrote:
>
>> Here's the latest of an hours worth of beating my head against the monitor....only to leave slobber all over it....
>>
>> set fileNameNew to (fileNameNew & mySuffix) as string -- new name for file
>>
>> set filePath to (srcFolder & fileName) as string -- path to file to be renamed
>>
>> set file name of file filePath to fileNameNew
>
|
|
|