Ken Patience wrote to All:
KP> How do you go importing a text file as a message into a
KP> message base within Opus?
UPLOAD MSG
Opus now allows text files to be uploaded directly into the
Message Section. Uses Xmodem transfer protocol.
If you can't call yourself, use your "preffered" wordprocessor
instead of the onboard one.
OR ELSE:
LOCAL EDITOR %s
Definition: Specifies the use of an external editor with Opus. If
you use an external message editor, it will be
available to anybody who has a privilege equal to
SYSOP or HIDDEN. When replying to messages, Opus will
quote the entire previous message using > NN: where
NN are your initials.
Required: No
Example: To specify an external editor in keyboard mode, put
this in your control file:
LOCAL EDITOR %s
The "" is the name of the program with
any parameters. You cannot call a batch file here.
The "%s" is required. Opus will substitute a file
name where it finds the "%s". For example, if your
editor takes a command line switch "-f" for filename,
you could put "-f%s" in the control file line:
LOCAL EDITOR C:\Brief\B -t -z -r -a -e -L43 %s
If you want to use your external message editor ON-
LINE as well as in keyboard mode, put an exclamation
point in front of the as in:
LOCAL EDITOR !D:\Myeditor %s
If you absolutely must use a batch file, you can do
something like this:
Local Editor C:\COMMAND.COM editor.Bat %s
TECHNICAL NOTE: The "%s" is not absolutely necessary.
You could use MSGTMP.TMP instead. In any event, Opus
will look for a file called "MSGTMP.TMP" in the
default sub-directory when you exit your editor.
The program flow looks like this:
1. execute the program named as the external editor
2. convert MSGTMP.TMP to a message.
The point is that you do not actually have to go to
an editor. You can execute any program. If MSGTMP.TMP
exists when the program finishes, Opus will turn it
into a message.
Regards,
--- timEd/B8
---------------
* Origin: Pete's Place: 1-905-471-5229 (1:2424/204)
|