home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / GOLD.ARJ / ADDTAG.DOC next >
Encoding:
Text File  |  1994-11-13  |  17.9 KB  |  549 lines

  1.  
  2.   ▄███████▄               ▄███████▄         ▄█▄
  3.  ████▀▀▀████             ████▀▀▀████       █████
  4.  ████▄▄▄████             ███     ███       █████
  5.  ███████████ ╓──┐ ╓─╥─┐  ███     ███ ╥──┐  █████ ╓─╥─┐ ╥──┐ ╥  ┬ ╥    ╓─┐ ╥──┐
  6.  ████   ████ ║      ║    ████▄▄▄████ ╟─    █████ ║ ║ │ ╟──┘ ║  │ ║    ╙─┐ ╟─
  7.  ▀██▀   ▀██▀ ╙──┘   ╨     ▀███████▀  ╨      ▀█▀  ╨ ╨ ┴ ╨    ╙──┘ ╨──┘ ╙─┘ ╨──┘
  8.  
  9.                P.O. Box 3246,  3502 GE,  Utrecht,  The Netherlands
  10.  .────────────────────────────────────────────────────────────────────────────.
  11.  
  12.  
  13.  
  14.                          Act Of Impulse Add a Tagline
  15.  
  16.                                     v1.03
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.        │ What is the Act Of Impulse add tagline ?
  24. ──────────────────────────────────────────────────────────────────────
  25.        │
  26.  
  27.  Simple, it offers you to select the tagline you want at the end
  28.  of your message.
  29.  
  30.  I was getting tired of the random taglines with GoldEd and the no
  31.  taglines at all of TimEd. So I tried an add a tagline program (TeTag)
  32.  very nice but not what I was looking for besides that it was only
  33.  usable with TimEd, and I normally use GoldEd. So I wrote my own.
  34.  
  35.  This program allows you to select a tagline from your tagline file
  36.  (Maximum of 5000 taglines!) and put it at the bottom of your
  37.  message.
  38.  
  39.  I used to work with BlueWave (I guess a lot of us started that way)
  40.  and I made Addtag a bit like the BlueWave tagline selector, ofcourse
  41.  I did a lot of improvement but it has the look of the Bluewave
  42.  tagline selector.
  43.  
  44.  I have included a small tagline file with some nice taglines!
  45.  
  46.  This program works for sure with the following programs:
  47.  
  48.   - TimEd (External editor)
  49.   - GoldEd (Internal editor and external editor)
  50.   - FrontDoor 2.12 or higher (Internal editor)
  51.   - TerMail 1.5x                                                      
  52.   
  53.  I am pretty sure that it will work with other programs, though I 
  54.  don't know all mail programs out there at this moment. Neither
  55.  do I have the time to set them all up to test with AddTag.
  56.  
  57.  I hope you enjoy using this program as much as I enjoyed writing it.
  58.  
  59.  And remember if you can't get it to work, or have questions don't
  60.  hesitate to send me or one of the support sites a message. I am
  61.  sure we can help you with your problem.
  62.  
  63.  An OS/2 version might be there soon! Keep looking out for it.
  64.  
  65.  
  66.        │ Disclaimer
  67. ──────────────────────────────────────────────────────────────────────
  68.        │
  69.  
  70.  In no event shall Act Of Impulse nor Pascal van Rossum be liable to
  71.  you or anyone else for any special, incidental, consequential,
  72.  indirect or similar damages due to the use of this program even if
  73.  one of our support-sites has advised you to use the program in a
  74.  special way. The program is provided as it is, and you use it on your
  75.  own risk. If your computer starts smoking it is though luck for you
  76.  
  77.  The exe files nor the Doc files may be changed in any way.
  78.  
  79.  
  80.        │ How to use the program
  81. ──────────────────────────────────────────────────────────────────────
  82.        │
  83.  
  84.  
  85.  General notes
  86.  ─────────────
  87.  
  88.  It is difficult to write a good documentation for this program since
  89.  there are a lot of different modes like macro mode and multiple
  90.  tagline mode. However I did my best on it. If you encounter any
  91.  problem or just don't know how to install please do write a message.
  92.  
  93.  
  94.  You can start AddTag like this:
  95.  
  96.  AddTag <Tagline file> <File with the message>    (Normal mode)
  97.  
  98.  For both file parameters you must include a path if the files cannot
  99.  be found in the current directory. See the chapter extra paramaters
  100.  for more startup methods! Also see the chapter about multiple
  101.  tagline files.
  102.  
  103.  I have absolutly no idea if it also works with other mail readers.
  104.  I tested it only with TimEd, GoldEd and FrontDoor.
  105.  Please let me know if you were able to run it with an other program,
  106.  please also mention how you did it!
  107.  
  108.  You can use the following function keys within the program:
  109.  
  110.  F1  -> Random tagline WITH confirm.
  111.  F2  -> Random tagline WITHOUT confirm.
  112.  F3  -> Add a tagline to the message and the tagline file.
  113.  F4  -> Add a tagline only to the message.
  114.  F5  -> Search a tagline
  115.  F6  -> Search again
  116.  F7  -> Load another tagline file (only when in multiple tagline mode)
  117.  F10 -> Help
  118.  DEL -> Delete current tagline
  119.  
  120.  Note that it is not mandatory to work with a registered version of
  121.  TimEd, GoldEd or FrontDoor. Though it would be nice if you would
  122.  support the author of the program you use by registering.
  123.  
  124.  How to change the default colors
  125.  ────────────────────────────────
  126.  
  127.  You can change most of the default colors. If you don't like the
  128.  default colors you can change them in the 'addtag.col' file, this
  129.  is a normal ascii file which can be edited by using a normal text
  130.  editor. The color numbers you can use can be found in this file.
  131.  
  132.  If you like the default colors you can erase the addtag.col file
  133.  since it automaticly starts-up with these default colors.
  134.  
  135.  How to place the tagline anywhere you like
  136.  ──────────────────────────────────────────
  137.  
  138.  It is possible to add a tagline anywhere you like, for instance
  139.  above your sign-off.
  140.  
  141.  You can do this by adding:
  142.  
  143.  @AddTag to your message. Ofcourse you can also add it to your
  144.  template file.
  145.  
  146.  E.g.:
  147.  
  148.           _
  149.     Bye, |_|
  150.          |ascal
  151.  
  152.  @ADDTAG
  153.  
  154.  
  155.  ! Note that if you wish to use this function that you must specify
  156.  '/M' as a 3th or 4th parameter! It will not look for a tearline in
  157.  this case but will just replace @AddTag for the choosen tagline.
  158.  
  159.  
  160.  Multiple tagline file mode
  161.  ──────────────────────────
  162.  
  163.  You can use AddTag in the multiple tagline file mode if you
  164.  start AddTag like this:
  165.  
  166.  AddTag @<file> <File with the message>    (Normal mode)
  167.        !^!
  168.  
  169.  The <file> should be a textfile (vanilla ascii) with on each line
  170.  a name (with path if the file cannot be found in the current
  171.  directory) of a tagline file, after the filename you can add a
  172.  description.
  173.  
  174.  Example:
  175.  
  176.  C:\GOLDED\TAGLINES\GENERAL.TAG     ;General taglines
  177.  C:\GOLDED\TAGLINES\WINDOWS.TAG     ;Windows taglines
  178.  C:\GOLDED\TAGLINES\STTNG.TAG       ;Star Trek taglines
  179.  C:\GOLDED\TAGLINES\ADOPTED.TAG     ;Adopted taglines
  180.  
  181.  The tagline file on the first line will be automaticly loaded when
  182.  you start up the program (so make sure this is the tagline file you
  183.  use the most).
  184.  
  185.  If the file is called 'Tagfiles.lst' you start addtag like this:
  186.  
  187.  AddTag.exe @Tagfiles.lst <file with the message> (/M) (/R or /W) (/C)
  188.  
  189.  An example is included in the archive.
  190.  
  191.  
  192.  Extra parameters
  193.  ────────────────
  194.  
  195.  Apart from the <Tagline file> and <File with the message> parameters
  196.  you can use the following parameters as EXTRA parameters. These
  197.  parameters are not mandatory, they are here to make your life more
  198.  easy. If you use them though they MUST be supplied after the
  199.  tagline file and file with message parameter (3th, 4th or 5th
  200.  parameter)
  201.  
  202.  /M -> Put AddTag in macro mode (@ADDTAG)
  203.  /R -> Put AddTag in random with confirm mode
  204.  /W -> Put AddTag in random without confirm mode
  205.  /C -> Put AddTag in the capture mode
  206.  
  207.  Note that you can only use /R or /W you can't use them both!
  208.  
  209.  e.g.:
  210.  
  211.  AddTag <Tagline file> <File with the message> /M     (Macro mode)
  212.  AddTag <Tagline file> <File with the message> /R     (Random mode)
  213.  AddTag <Tagline file> <File with the message> /W     (Random without
  214.                                                        confirm mode)
  215.  AddTag <Tagline file> <File with the message> /M /R  (Macro & random
  216.                                                        mode)
  217.  AddTag <Tagline file> <File with the message> /M /W  (Macro & random
  218.                                                        without confirm
  219.                                                        mode)
  220.  
  221.  
  222.  Index Mode
  223.  ──────────
  224.  
  225.  If you want to index a tagline file that is kinda big you can
  226.  start AddTag in the Index mode. It will look if indexing is
  227.  necessary. If that is the case it will index your tagline file
  228.  and exit to dos after that.
  229.  
  230.  Tip: If you use large taglines files you could better divide them
  231.  over a few other files and start AddTag in the multiple tagline
  232.  mode!
  233.  
  234.  Start Addtag like this:
  235.  
  236.  Addtag.exe <Tagline file> /I
  237.  
  238.  AddTag now uses a smart indexing method when adding or deleting
  239.  taglines.
  240.  
  241.  Capture mode
  242.  ────────────
  243.  
  244.  The current capture mode isn't very good yet but it's a start. It
  245.  reads the message and looks for a ... <tagline>. However it does
  246.  not work if the tagline is quoted so you should unquote the
  247.  tagline which you want to have adopted. I am not experienced
  248.  in writing TSR programs or reading from the screen. If any of you
  249.  know how to write such a tagline grabber let me know and if it
  250.  works I'll include it in the archive. (You'll get a free key for
  251.  AddTag <Grin>)
  252.  
  253.  
  254.  How to implent AddTag
  255.  ─────────────────────
  256.  
  257.  In the following examples it is assumed you don't use the extra
  258.  parameters, but it shouldn't be too hard to 'change' the example
  259.  to your needs. It is also assumed your tagline file is called
  260.  'taglines.txt' Of course this can be any other filename. It is just
  261.  an example.
  262.  
  263.  
  264.  
  265.  
  266.  With TimEd
  267.  ──────────
  268.  
  269.  Simple, you must use a batch file to start up your editor
  270.  
  271.  An example:
  272.  ─────────────────────────────────────────────────────────────────────
  273.  
  274.  @ECHO OFF
  275.  EDIT.COM TIMED.MSG
  276.  ADDTAG.EXE TAGLINES.TXT TIMED.MSG
  277.  
  278.  ─────────────────────────────────────────────────────────────────────
  279.  Of course you can use your favourite editor instead of Edit.com
  280.  (Like Qedit or the Vision Editor).
  281.  
  282.  You must change in TimEd.CFG:
  283.  
  284.  'Editor Ed.Bat' instead of 'Editor Internal'
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  With GoldEd (Internal Editor)
  295.  ─────────────────────────────
  296.  
  297.  Add this to Golded.Cfg:
  298.  
  299.  ;   =================================================================
  300.  ;   EXTERNAL UTILS
  301.  ;   =================================================================
  302.  
  303.  EXTERNUTIL   1 ADDTAG.EXE TAGLINES.TXT @File
  304.  EDITSAVEMENU Yes
  305.  EDITSAVEUTIL 1 "T Add a tagline to the message."
  306.  
  307.  It's assumed that you don't have any other external utils installed.
  308.  Look in the doc files of GoldEd for more details.
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  With Golded (External editor)
  317.  ─────────────────────────────
  318.  
  319.  Simple, you must use a batch file to start up your editor
  320.  
  321.  An example:
  322.  
  323.  ─────────────────────────────────────────────────────────────────────
  324.  
  325.  @ECHO OFF
  326.  EDIT.COM %1
  327.  ADDTAG.EXE TAGLINES.TXT %1
  328.  
  329.  ─────────────────────────────────────────────────────────────────────
  330.  Of course you can use your favourite editor instead of Edit.com
  331.  (Like Qedit or the Vision Editor).
  332.  
  333.  
  334.  Add this to golded.cfg:
  335.  
  336.  
  337.  ;   -----------------------------------------------------------------
  338.  ;   Commandline for an external editor, if any.
  339.  ;   -----------------------------------------------------------------
  340.  EDITOR C:\COMMAND.COM /C ED.BAT @File
  341.  
  342.  See advanced.cfg included in the GoldEd package for more external
  343.  editor functions.
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  With TerMail
  353.  ────────────
  354.                         
  355.  Simple, you must use a batch file to start up your editor
  356.  
  357.  An example:
  358.  ─────────────────────────────────────────────────────────────────────
  359.  
  360.  @ECHO OFF
  361.  EDIT.COM %1 %2
  362.  ADDTAG.EXE TAGLINES.TXT %1
  363.  
  364.  ─────────────────────────────────────────────────────────────────────
  365.  Of course you can use your favourite editor instead of Edit.com
  366.  (Like Qedit or the Vision Editor).
  367.  
  368.  Add (or change) this to your Tmail.cfg:
  369.  
  370.  Editor     C:\TERM\TMAIL\TAG.BAT @FILE
  371.  
  372.  If you do not use the @ADDTAG token you should set the tearline to
  373.  a fidonet tearline.
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  With FrontDoor 2.12 (and higher)
  383.  ────────────────────────────────
  384.  
  385.  File   Global   Mailer   Editor   Terminal   Modem   Printer   Manager
  386. ══════════════════════════╔═════════════════╗════════════════════════════
  387. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║ Miscellaneous   ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  388. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║ NetMail folder  ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  389. ▒▒╔══════════════════════════════════════════════════ Keyboard macros ╗▒▒
  390. ▒▒║                                                                   ║▒▒
  391. ▒▒║ F1  ~EAddTag Taglines.Txt [FD.MSG;~RFD.MSG;                       ║▒▒
  392. ▒▒║ F2                                                                ║▒▒
  393. ▒▒║ F3                                                                ║▒▒
  394. ▒▒║ F4                                                                ║▒▒
  395. ▒▒╚═══════════════════════════════════════════════════════════════════╝▒▒
  396. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  397.  
  398.  It is not necessary that FD.MSG exists but it could be for instance
  399.  a textfile with your signoff. There is in this situation no need for
  400.  a tearline. Note that FM erases FD.MSG in this case so if you want to
  401.  put a signoff it's probably best to make a batch file that copies
  402.  your signoff to a temporary file that can be erased by FM.EXE.
  403.  
  404.  In that case you shoud add this to FD:
  405.  
  406.  File   Global   Mailer   Editor   Terminal   Modem   Printer   Manager
  407. ══════════════════════════╔═════════════════╗════════════════════════════
  408. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║ Miscellaneous   ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  409. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║ NetMail folder  ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  410. ▒▒╔══════════════════════════════════════════════════ Keyboard macros ╗▒▒
  411. ▒▒║                                                                   ║▒▒
  412. ▒▒║ F1  ~ETag.bat; ~RFD.MSG                                           ║▒▒
  413. ▒▒║ F2                                                                ║▒▒
  414. ▒▒║ F3                                                                ║▒▒
  415. ▒▒║ F4                                                                ║▒▒
  416. ▒▒╚═══════════════════════════════════════════════════════════════════╝▒▒
  417. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  418.  
  419.  Note that you could also use a different filename for FD.MSG, but
  420.  you must specify the '[' in front of the name! (and ofcourse both
  421.  names should be the same)
  422.  
  423.  
  424.  
  425.        │ Registration
  426. ──────────────────────────────────────────────────────────────────────
  427.        │
  428.  
  429.  If you like this software please send me a postcard of your town
  430.  or a picture of you, your sister or the dog ;-) Also if you think
  431.  the program is great you can always send me money.
  432.  
  433.  You can send it to:
  434.  
  435.         Pascal van Rossum
  436.         P.O. Box 3246
  437.         3502 GE Utrecht
  438.         The Netherlands
  439.  
  440.  I will appreciate it if you would send me a postcard (I kinda save
  441.  them), and remember it doesn't cost that much to send one!
  442.  
  443.  Oh yeah and if you put anything on like: 'Don't know if you already
  444.  received my netmail about ...' put also your fidonet address on the
  445.  card. It's hard to write back if I didn't receive the netmail and
  446.  don't know your fido address.
  447.  
  448.  
  449.        │ Suggestions
  450. ──────────────────────────────────────────────────────────────────────
  451.        │
  452.  
  453.  I would be glad to hear them! Till now I haven't received many
  454.  suggestions for AddTag so if you want something send me a message.
  455.  
  456.  
  457.        │ What might be in the next version
  458. ──────────────────────────────────────────────────────────────────────
  459.        │
  460.  
  461.  - Indexing method will be changed
  462.     - Index file will be according to the number of taglines you have.
  463.     - Probably increase the total taglines (now max. 5000)
  464.     - Perhaps it can be made a great deal faster on the initial
  465.       indexing. But this is quite a lot of work so thats why it is
  466.       not done for this release.
  467.  
  468.  - Perhaps also adding of a random signature. (Don't know yet if I
  469.    want to add this since it is a tagline program. But if you like
  470.    this feature please do send me a netmail or mention it on your
  471.    card. If a lot of people want this I will probably add it)
  472.  
  473.  - Sorting of the tagline file
  474.  
  475.  - An OS/2 version. (there might already be an OS/2 version of
  476.    v1.03 soon, though it will not be released together with
  477.    this dos version).
  478.  
  479.  
  480.        │ Contacting the Author
  481. ──────────────────────────────────────────────────────────────────────
  482.        │
  483.  
  484.   Pascal Van.Rossum      The White Room
  485.   P.O.Box 3246           +31-30-893342 (v22b,v32b,v42b)
  486.   3502 GE Utrecht          2:281/714    FidoNet
  487.   The Netherlands        234:234/0      ActNet WHq
  488.  
  489.  I prefer (of course) netmail.
  490.  
  491.  
  492.        │ Thanks/Greetings
  493. ──────────────────────────────────────────────────────────────────────
  494.        │
  495.  
  496.  
  497.  In no particular order I would like to thank and greet:
  498.  
  499.   - All FileArea Managers who are nice enough to Hatch this program
  500.     in their filenets.
  501.  
  502.   - You, for reading this and maybe even trying the program.
  503.  
  504.   - All the people that have suggested features or just told me it
  505.     was a nice program.
  506.  
  507.   - Michel van Rossum
  508.  
  509.   - Jan Ubels, without him knowing he gave me the idea for the
  510.     @AddTag function (macro mode).
  511.  
  512.   - Melle Koning, he suggested (among other things) to include the
  513.     @D@ etc. commands like BlueWave has.
  514.  
  515.   - A few other people in GoldEd.028 that supplied me with information
  516.     or usefull tips.
  517.  
  518.   - Daniel Ahlberg for the TerMail batch file.
  519.  
  520.   - Martin Davies
  521.  
  522.   - Jochem Valkenburg. He made the color configuration examples
  523.  
  524.   - Lydia, my great friend. Love you much.
  525.  
  526.   ! All the people that send me a postcard.
  527.  
  528.   If I forgot to mention you! please send me a netmail.
  529.  
  530.  
  531.        │ Copyrights / Trademarks
  532. ──────────────────────────────────────────────────────────────────────
  533.        │
  534.  
  535.  GoldEd           -> Odinn Sorensen (GoldWare International)
  536.  TimEd            -> Gerard van Essen (ArtWare)
  537.  TeTag            -> Richard Coffee
  538.  FrontDoor        ─> Joaquim H. Homrighausen (Advanced Eng. sarl)
  539.  TerMail          -> Bo Bendtsen
  540.  BlueWave         -> George Hatchew (Cutting Edge Computing)
  541.  Act Of Impulse   -> Pascal van Rossum
  542.  
  543.  All (other) copyrights and trademarks are of their respective
  544.  owners
  545.  
  546.  Documentation and Program Copyright 1994 
  547.                              Act Of Impulse & Pascal van Rossum.
  548.  
  549. (EOF)