Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI TextEdit




Le 2 juin 07 à 21:27:53, Philip Aker a écrit : …


'Fraid not,

Just see what happens when Acme-Sales-2007-05.html already exists. Kinda short on time for today but I'll see about a solution for tomorrow.

Cheers

Hello

Can't you test if the html file already exists?
If it does, rename it something like Acme-Sales-2007-05-old.html

So you will be able to save the new one.

I'm not accustomed to TextEdit scripting so, I don't know if there is a way to rename the active document on the fly.
If it can be done, if Acme-Sales-2007-05.html already exists, try to rename the open doc Acme-Sales-2007-05#1 and save it as Acme- Sales-2007-05#1.html


Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: GUI TextEdit (From: "Nigel Garvey" <email@hidden>)
 >Re: GUI TextEdit (From: Philip Aker <email@hidden>)
 >Re: GUI TextEdit (From: "Nigel Garvey" <email@hidden>)
 >Re: GUI TextEdit (From: Philip Aker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.