Re: How to implement "Save As" function for text editor?
Re: How to implement "Save As" function for text editor?
- Subject: Re: How to implement "Save As" function for text editor?
- From: "Marc K. Myers" <email@hidden>
- Date: Mon, 08 Jan 2001 01:53:48 -0500
- Organization: [very little]
email@hidden wrote:
>
From: =?BIG5?B?Uk9CSU4uSEFOIMH6pK+0vA==?= <email@hidden>
>
To: "'email@hidden'"<email@hidden.
>
com>
>
Subject: How to implement "Save As" function for text editor?
>
Date: Mon, 8 Jan 2001 09:02:28 +0800
>
>
Hi,
>
>
I am trying to implement a script which could save files for most text
>
editors.
>
I found that some text editors can accept the commands of AS, but others
>
can't.
>
For example, the AppleWorks can, but the SimpleText, BBEdit and MS-Word
>
can't.
>
I don't know what makes the result different.
>
Is there any one can tell me why?
>
Or is there any solution for this issue?
>
Thanks.
Expecting different programs to implement commands the same way is
doomed to be a frustrating experience. However, if what you're aiming
to do is save text files in different locations, with different names,
and/or different "creator applications", you're in luck. AppleScript's
standard set of scripting additions and the Finder contain commands that
will enable you to do just that.
How were you planning to implement this general purpose script that
would control any one of a whole range of applications with one set of commands?
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[1/8/01 1:53:31 AM]