home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0020 - 0029 / ibm0020-0029 / ibm0028.tar / ibm0028 / AMWP-2.ZIP / DOCS.ZIP / READMAC.SAM (.txt) < prev    next >
Encoding:
Ami Pro/Word Pro document  |  1990-07-12  |  11.6 KB  |  264 lines

  1. [ver]
  2. [sty]
  3. [files]
  4. [prn]
  5.     PostScript Printer
  6. [lang]
  7. [desc]
  8.     This file contains important information about macros, along with descriptions of the macros included with the program.
  9.     647818232
  10.     641846289
  11. [fopts]
  12. [lnopts]
  13.     Body Text
  14. [docopts]
  15. [tag]
  16.     Body Text
  17.     [fnt]
  18.         Tms Rmn
  19.         240
  20.         49152
  21.     [algn]
  22.         225
  23.     [spc]
  24.         273
  25.         144
  26.         100
  27.     [brk]
  28.     [line]
  29.     [spec]
  30.     [nfmt]
  31.         272
  32. [tag]
  33.     Body Single
  34.     [fnt]
  35.         Tms Rmn
  36.         240
  37.         49152
  38.     [algn]
  39.         225
  40.     [spc]
  41.         273
  42.         100
  43.     [brk]
  44.     [line]
  45.     [spec]
  46.     [nfmt]
  47.         272
  48. [lay]
  49.     Standard
  50.     [rght]
  51.         15840
  52.         12240
  53.         1440
  54.         1440
  55.         1440
  56.         1440
  57.         1440
  58.         10800
  59.         720
  60.         1440
  61.         2880
  62.         4320
  63.         5760
  64.     [hrght]
  65.     [lyfrm]
  66.         11200
  67.         12240
  68.         1440
  69.     [frmlay]
  70.         1440
  71.         12240
  72.         1440
  73.         360
  74.         1440
  75.         1440
  76.         10800
  77.     [txt]
  78.     [frght]
  79.     [lyfrm]
  80.         13248
  81.         14400
  82.         12240
  83.         15840
  84.     [frmlay]
  85.         15840
  86.         12240
  87.         1440
  88.         360
  89.         14472
  90.         1440
  91.         1440
  92.         10800
  93.     [txt]
  94. [elay]
  95.     14 513 37 32 16384 0 0 65535 65535 Standard    0 0 0    0 0 0 0 0 0 0 65535 0 0 0 0 0 0
  96.     30 92 15 0 16384 0 0 65535 65535 Standard    0 0 0    0 0 0 0 0 0 0 65535 0 0 0 0 0 0
  97.     46 193 37 32 16384 0 0 65535 65535 Standard    0 0 0    0 0 0 0 0 0 0 65535 0 0 0 0 0 0
  98.     63 94 9 1025 16384 0 0 65535 65535 Standard    0 0 0    0 0 0 0 0 0 0 65535 0 0 0 0 0 0
  99. [edoc]
  100. <+B><+!>*****************************************
  101. <+B><+!>READMAC.SAM  -  Am<\m> Professional ver. 1.2b
  102. <+B><+!>*****************************************
  103. This document contains some important information about macros, along 
  104.  with descriptions of several macros included with your Am<\m> Professional 
  105.  program.
  106. ---------------------------------------------------
  107. The Macro Documentation
  108. ---------------------------------------------------
  109. @Body Single@Documentation on the functions and statements used in the macro language 
  110.  is available from two sources:  the on-line documentation and the 
  111.  printed documentation.  The contents of both the On-Line and printed 
  112.  help are the same.  On-Line documentation is available by choosing 
  113.  Help/Macro Documentation from the menus.  When Macro Documentation 
  114.  is displayed, it replaces the regular Am<\m> Professional Help in 
  115. the help window  and allows you to look up individual functions and 
  116. statements, either alphabetically, or by menu or function area name.
  117. @Body Single@NOTE:  To see the editing screen and the on-line documentation on 
  118.  the screen at the same time you are working on a macro, resize the 
  119.  Am<\m> Professional window to fill the top half of the screen, and 
  120. resize  the Help window to fill the bottom half of the screen.
  121. @Body Single@The printed macro documentation is available by completing and returning 
  122.  your User Registration Card to Samna Corporation, or by contacting 
  123.  the Samna Support Department.  There is no charge for the printed 
  124.  documentation.
  125. ---------------------------------------------------
  126. Changes from Beta User's Guide and Reference Manual
  127. @Body Single@---------------------------------------------------
  128. @Body Single@Early revisions of the Am<\m> Professional User's Guide and Reference 
  129.  manual are incorrect with respect to the syntax used for beginning 
  130.  and ending a macro.  Instead of beginning a macro with the MACRO 
  131. statement  and ending it with an ENDM statement, macros begin with 
  132. a FUNCTION  statement and end with an END FUNCTION statement.  The 
  133. operation and  purpose of the FUNCTION and END FUNCTION statements 
  134. are the same as  the MACRO and ENDM statements; it is only the names 
  135. which have changed.   The Macro Reference Documentation reflects these 
  136. changes.
  137. ---------------------------------------------------
  138. Macros on Disk
  139. ---------------------------------------------------
  140. @Body Single@There are several useful macros included with your Am<\m> Professional 
  141.  package.  They were copied to the AMIPRO\MACROS directory when the 
  142. program was installed.  This section describes  each macro and its 
  143. purpose and usage.
  144. ADDFIELD.SMM
  145. @Body Single@This macro adds a new field to an existing Am<\m> Professional Merge 
  146.  Records File.  When you use this macro, you are prompted for the 
  147. existing  records file name, the name of the new field, its position, 
  148. and default  contents for the new field.  The macro then inserts the 
  149. new field  into the records file at the appropriate position and adds 
  150. the default contents to each record.  This macro calls  the parserec() 
  151. function in the file RECMAINT.SMM.  Before you use  this macro, you 
  152. should ensure you have both files in your default macros directory.
  153. ANSI.SMM
  154. @Body Single@This macro displays all of the extended ansi characters in a list 
  155. box, in which, you can  then choose the character you would like insert 
  156. and select OK. This  macro is convenient when you want to use a special 
  157. or foreign character  and don't want to hunt through manuals to get 
  158. the ansi value for the character.
  159. AUTO.SMM
  160. This macro loads macnew.smm and macopen.smm in place of your File/New 
  161. and File/Open commands. These new commands will start a memo including 
  162. the To and From fields and prompt you to fill in this data.  This 
  163. macro can be used as a model for your to customize for your particular 
  164. needs.  If you rename auto.smm to autoexec.smm it will automatically 
  165. run when Am<\m> Professional is started.
  166. BATCHPRN.SMM
  167. @Body Single@This macro allows the user to select up to ten files on the disk for 
  168.  batch printing.  It uses the dialog box functions to display a dialog 
  169.  box for this purpose.  Once the desired files are selected, the user 
  170.  can change print options for any of the files.  The files are then 
  171.  printed.
  172. @Body Single@NOTE: you must be using the windows spooler (print manager) for this 
  173.  to work.
  174. @Body Single@Also included with this macro is the dialog box file, BATCHPRN.EXT, 
  175.  which contains the dialog boxes which display while running this 
  176. macro.   If you would like more information about developing dialog 
  177. boxes to  use with Am<\m> Professional, you should order the Macro 
  178. Documentation,  and the Am<\m> Professional Software Developer's Toolkit.
  179. CHARCNT.SMM
  180. @Body Single@This macro counts the number of characters in a document. You must 
  181.  be in the file when you run this macro.
  182. CHGFONT.SMM
  183. @Body Single@This macro comes in very handy for converting all your style sheets 
  184.  to your default printer. Since a style sheet stores a font for each 
  185.  style, and there is no limit to the number of styles allowed, changing 
  186.  to a different printer with new fonts could require a lot of editing.  
  187. This macro will examine your printer and fonts and allow you to modify 
  188.  all of your style sheets to use new fonts.
  189. @Body Single@Example: If you were to get a postscript printer, you could change 
  190. all  of your style sheets to use Bookman instead of Times Roman and 
  191. Palatino  instead of Helvetica. This is a real time saver.
  192. CUSTMENU.SMM
  193. @Body Single@This macro will help you customize your menus. You can add, rename, 
  194.  delete menu items, add functions or macros to menus, and save these 
  195.  settings to use at any time.
  196. DELETDUB.SMM
  197. @Body Single@This macro deletes duplicate occurrences of a word from a document.  
  198.  Although the spell function offers this ability, this macro will 
  199. do  it for you without having to spell check the document as well.  
  200. The  user is prompted to confirm each deletion.
  201. ENVELOPE.SMM
  202. @Body Single@This macro will print an envelope using a shaded address in a letter.  
  203. Simply shade the address and run the macro.
  204. @Body Single@NOTE: you may have to modify ~env.sty (envelope style sheet) for your 
  205.  printer. Many laser printers must be set for landscape. If your printer 
  206.  prints envelopes in landscape, you must set this before running the 
  207.  macro.
  208. FINDFILE.SMM
  209. @Body Single@This macro uses the information contained in the file document description 
  210.  to find files matching criteria that you provide. You can search 
  211. any  path for files containing specific data in the document description 
  212.  field or any of the four user definable fields in the document description.
  213. FOURFILE.SMM
  214. @Body Single@ This macro displays the names of the last four files edited in Am<\m> 
  215.  Professional on the File menu, and allows the user to select one 
  216. of  these files for editing.  It also contains replacement functions 
  217. for  the Open, New and Save As functions on the File menu so that 
  218. the name  of the current file can be kept track of.
  219. FRAME.SMM
  220. @Body Single@This macro lets you provide exact dimensions and location for a frame.  
  221. You enter the size in inches and/or fractions of inches and location 
  222.  "from top of page" and "from left of page" and the macro will create 
  223.  the frame for you.
  224. IMPORT.SMM
  225. @Body Single@This macro lets you import all of your DCA (Revisable Form Text)  
  226. files in the current directory, and places each one into an Am<\m> 
  227. Professional file with the same name.  The header information of this 
  228. file also gives the instructions to change this macro for use with 
  229. any of the text formats supported by Am<\m> Professional.
  230. LOANPMT.SMM
  231. @Body Single@This macro uses Microsoft Excel to calculate payments on a loan.  
  232.  It illustrates the user of Dynamic Data Exchange functions within 
  233.  Am<\m> Professional's macro language.  In order to run this macro, 
  234. you  must be using the full Windows program, and have installed Microsoft 
  235.  Excel.  Excel must also be in your path.
  236. MACNEW.SMM
  237. @Body Single@You can "tie" this macro to a style sheet. The macro will then automatically 
  238.  run when a new file is created using this style sheet. This macro 
  239.  asks To whom and from whom a memo is written. It is included to demonstrate 
  240.  the principle of linking a macro to a style sheet.  See also AUTO.SMM.
  241. @Body Single@You will need to open this macro file using File/Open and checking 
  242.  the macro box. and enter the style sheet name in place of ~MEMO1.STY.
  243. MACOPEN.SMM
  244. @Body Single@This macro demonstrates how to "tie" a macro to a particular file.  
  245. Using this method, you can automatically run a macro whenever a file 
  246.  is opened.  See also, AUTO.SMM.
  247. @Body Single@For example: Whenever you open a file containing a table, you may 
  248. want  to turn on margins, table column and row headings, and grid 
  249. lines.
  250. MERGDATA.SMM
  251. @Body Single@This macro provides a menu driven way to maintain an Am<\m> Professional 
  252.  Merge records file.  The records file can be created, or an existing 
  253.  file can be used.  For each field in the file, the user can fill 
  254. out  its value, and the values are automatically typed into the records 
  255.  file using the correct syntax.
  256. ODDEVEN.SMM
  257. @Body Single@This macro allows printing of just odd or even pages of a file. You 
  258.  must be in the file you want to print before running this macro.
  259. WORDCNT.SMM
  260. @Body Single@This macro counts the number of words in an Am<\m> Professional document.  
  261. You must be in the file before you run this macro.
  262. @Body Single@NOTE: Am<\m> Professional's spelling checker includes a word count 
  263.  when the spelling checker is finished.
  264.