home *** CD-ROM | disk | FTP | other *** search
Ami Pro/Word Pro document | 1990-07-12 | 11.6 KB | 264 lines |
- [ver]
- [sty]
- [files]
- [prn]
- PostScript Printer
- [lang]
- [desc]
- This file contains important information about macros, along with descriptions of the macros included with the program.
- 647818232
- 641846289
- [fopts]
- [lnopts]
- Body Text
- [docopts]
- [tag]
- Body Text
- [fnt]
- Tms Rmn
- 240
- 49152
- [algn]
- 225
- [spc]
- 273
- 144
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 272
- [tag]
- Body Single
- [fnt]
- Tms Rmn
- 240
- 49152
- [algn]
- 225
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 272
- [lay]
- Standard
- [rght]
- 15840
- 12240
- 1440
- 1440
- 1440
- 1440
- 1440
- 10800
- 720
- 1440
- 2880
- 4320
- 5760
- [hrght]
- [lyfrm]
- 11200
- 12240
- 1440
- [frmlay]
- 1440
- 12240
- 1440
- 360
- 1440
- 1440
- 10800
- [txt]
- [frght]
- [lyfrm]
- 13248
- 14400
- 12240
- 15840
- [frmlay]
- 15840
- 12240
- 1440
- 360
- 14472
- 1440
- 1440
- 10800
- [txt]
- [elay]
- 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
- 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
- 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
- 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
- [edoc]
- <+B><+!>*****************************************
- <+B><+!>READMAC.SAM - Am<\m> Professional ver. 1.2b
- <+B><+!>*****************************************
- This document contains some important information about macros, along
- with descriptions of several macros included with your Am<\m> Professional
- program.
- ---------------------------------------------------
- The Macro Documentation
- ---------------------------------------------------
- @Body Single@Documentation on the functions and statements used in the macro language
- is available from two sources: the on-line documentation and the
- printed documentation. The contents of both the On-Line and printed
- help are the same. On-Line documentation is available by choosing
- Help/Macro Documentation from the menus. When Macro Documentation
- is displayed, it replaces the regular Am<\m> Professional Help in
- the help window and allows you to look up individual functions and
- statements, either alphabetically, or by menu or function area name.
- @Body Single@NOTE: To see the editing screen and the on-line documentation on
- the screen at the same time you are working on a macro, resize the
- Am<\m> Professional window to fill the top half of the screen, and
- resize the Help window to fill the bottom half of the screen.
- @Body Single@The printed macro documentation is available by completing and returning
- your User Registration Card to Samna Corporation, or by contacting
- the Samna Support Department. There is no charge for the printed
- documentation.
- ---------------------------------------------------
- Changes from Beta User's Guide and Reference Manual
- @Body Single@---------------------------------------------------
- @Body Single@Early revisions of the Am<\m> Professional User's Guide and Reference
- manual are incorrect with respect to the syntax used for beginning
- and ending a macro. Instead of beginning a macro with the MACRO
- statement and ending it with an ENDM statement, macros begin with
- a FUNCTION statement and end with an END FUNCTION statement. The
- operation and purpose of the FUNCTION and END FUNCTION statements
- are the same as the MACRO and ENDM statements; it is only the names
- which have changed. The Macro Reference Documentation reflects these
- changes.
- ---------------------------------------------------
- Macros on Disk
- ---------------------------------------------------
- @Body Single@There are several useful macros included with your Am<\m> Professional
- package. They were copied to the AMIPRO\MACROS directory when the
- program was installed. This section describes each macro and its
- purpose and usage.
- ADDFIELD.SMM
- @Body Single@This macro adds a new field to an existing Am<\m> Professional Merge
- Records File. When you use this macro, you are prompted for the
- existing records file name, the name of the new field, its position,
- and default contents for the new field. The macro then inserts the
- new field into the records file at the appropriate position and adds
- the default contents to each record. This macro calls the parserec()
- function in the file RECMAINT.SMM. Before you use this macro, you
- should ensure you have both files in your default macros directory.
- ANSI.SMM
- @Body Single@This macro displays all of the extended ansi characters in a list
- box, in which, you can then choose the character you would like insert
- and select OK. This macro is convenient when you want to use a special
- or foreign character and don't want to hunt through manuals to get
- the ansi value for the character.
- AUTO.SMM
- This macro loads macnew.smm and macopen.smm in place of your File/New
- and File/Open commands. These new commands will start a memo including
- the To and From fields and prompt you to fill in this data. This
- macro can be used as a model for your to customize for your particular
- needs. If you rename auto.smm to autoexec.smm it will automatically
- run when Am<\m> Professional is started.
- BATCHPRN.SMM
- @Body Single@This macro allows the user to select up to ten files on the disk for
- batch printing. It uses the dialog box functions to display a dialog
- box for this purpose. Once the desired files are selected, the user
- can change print options for any of the files. The files are then
- printed.
- @Body Single@NOTE: you must be using the windows spooler (print manager) for this
- to work.
- @Body Single@Also included with this macro is the dialog box file, BATCHPRN.EXT,
- which contains the dialog boxes which display while running this
- macro. If you would like more information about developing dialog
- boxes to use with Am<\m> Professional, you should order the Macro
- Documentation, and the Am<\m> Professional Software Developer's Toolkit.
- CHARCNT.SMM
- @Body Single@This macro counts the number of characters in a document. You must
- be in the file when you run this macro.
- CHGFONT.SMM
- @Body Single@This macro comes in very handy for converting all your style sheets
- to your default printer. Since a style sheet stores a font for each
- style, and there is no limit to the number of styles allowed, changing
- to a different printer with new fonts could require a lot of editing.
- This macro will examine your printer and fonts and allow you to modify
- all of your style sheets to use new fonts.
- @Body Single@Example: If you were to get a postscript printer, you could change
- all of your style sheets to use Bookman instead of Times Roman and
- Palatino instead of Helvetica. This is a real time saver.
- CUSTMENU.SMM
- @Body Single@This macro will help you customize your menus. You can add, rename,
- delete menu items, add functions or macros to menus, and save these
- settings to use at any time.
- DELETDUB.SMM
- @Body Single@This macro deletes duplicate occurrences of a word from a document.
- Although the spell function offers this ability, this macro will
- do it for you without having to spell check the document as well.
- The user is prompted to confirm each deletion.
- ENVELOPE.SMM
- @Body Single@This macro will print an envelope using a shaded address in a letter.
- Simply shade the address and run the macro.
- @Body Single@NOTE: you may have to modify ~env.sty (envelope style sheet) for your
- printer. Many laser printers must be set for landscape. If your printer
- prints envelopes in landscape, you must set this before running the
- macro.
- FINDFILE.SMM
- @Body Single@This macro uses the information contained in the file document description
- to find files matching criteria that you provide. You can search
- any path for files containing specific data in the document description
- field or any of the four user definable fields in the document description.
- FOURFILE.SMM
- @Body Single@ This macro displays the names of the last four files edited in Am<\m>
- Professional on the File menu, and allows the user to select one
- of these files for editing. It also contains replacement functions
- for the Open, New and Save As functions on the File menu so that
- the name of the current file can be kept track of.
- FRAME.SMM
- @Body Single@This macro lets you provide exact dimensions and location for a frame.
- You enter the size in inches and/or fractions of inches and location
- "from top of page" and "from left of page" and the macro will create
- the frame for you.
- IMPORT.SMM
- @Body Single@This macro lets you import all of your DCA (Revisable Form Text)
- files in the current directory, and places each one into an Am<\m>
- Professional file with the same name. The header information of this
- file also gives the instructions to change this macro for use with
- any of the text formats supported by Am<\m> Professional.
- LOANPMT.SMM
- @Body Single@This macro uses Microsoft Excel to calculate payments on a loan.
- It illustrates the user of Dynamic Data Exchange functions within
- Am<\m> Professional's macro language. In order to run this macro,
- you must be using the full Windows program, and have installed Microsoft
- Excel. Excel must also be in your path.
- MACNEW.SMM
- @Body Single@You can "tie" this macro to a style sheet. The macro will then automatically
- run when a new file is created using this style sheet. This macro
- asks To whom and from whom a memo is written. It is included to demonstrate
- the principle of linking a macro to a style sheet. See also AUTO.SMM.
- @Body Single@You will need to open this macro file using File/Open and checking
- the macro box. and enter the style sheet name in place of ~MEMO1.STY.
- MACOPEN.SMM
- @Body Single@This macro demonstrates how to "tie" a macro to a particular file.
- Using this method, you can automatically run a macro whenever a file
- is opened. See also, AUTO.SMM.
- @Body Single@For example: Whenever you open a file containing a table, you may
- want to turn on margins, table column and row headings, and grid
- lines.
- MERGDATA.SMM
- @Body Single@This macro provides a menu driven way to maintain an Am<\m> Professional
- Merge records file. The records file can be created, or an existing
- file can be used. For each field in the file, the user can fill
- out its value, and the values are automatically typed into the records
- file using the correct syntax.
- ODDEVEN.SMM
- @Body Single@This macro allows printing of just odd or even pages of a file. You
- must be in the file you want to print before running this macro.
- WORDCNT.SMM
- @Body Single@This macro counts the number of words in an Am<\m> Professional document.
- You must be in the file before you run this macro.
- @Body Single@NOTE: Am<\m> Professional's spelling checker includes a word count
- when the spelling checker is finished.
-