lotus



previous page: 48  Login script example (ZTerm)
  
page up: ZTerm FAQ
  
next page: 50  Other uses of scripts and macros (ZTerm)

49 Tip: sending a sig with a script and macro. (ZTerm)




Description

This article is from the ZTerm FAQ, by Les Jones lesjones@usit.net with numerous contributions by others.

49 Tip: sending a sig with a script and macro. (ZTerm)

UNIX users often include a signature at the end of their messages.
The signature, or sig, often includes the person's name, email
address, company, etc. Sigs are automated in UNIX. ZTerm users can
easily include a sig with their email by creating a sig script.

Launch your favorite text editor or word processor, set the font to
Monaco, and write the sig as you want it to appear. Then enclose
each line of text in quotation marks, type "send" without the
quotes in front of each line, and include a ^M before the second
set of quotation marks. To send a blank line, send a ^M by itself.
Save the script in the ZTerm folder and name it sig. If you use a
word processor, be sure to use Save As and save in a text only
format.

Example:

send "-- ^M"
send "Les Jones"
send "The America Online and ZTerm FAQs^M"
send "ftp://usit.net/pub/lesjones/"

Now launch ZTerm and choose Edit Macros from the Macro menu. Name
the new macro sig, and type "(option-r)sig" in the Macro String
field. Now your sig is only a macro away. You could also use the
Run Script command under the Macro menu, but it wouldn't be as
convenient. Enjoy!

 

Continue to:















TOP
previous page: 48  Login script example (ZTerm)
  
page up: ZTerm FAQ
  
next page: 50  Other uses of scripts and macros (ZTerm)