home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / DWPFAX.MAC < prev    next >
Text File  |  1992-08-08  |  2KB  |  47 lines

  1. !   This DeScribe Macro was designed to work with a user defined layout to
  2. !   create either a FAX  cover sheet, or a one page FAX.
  3. !
  4. !   The macro utilizes three DeScribe Macro Language features:
  5. !          The capability of "nesting" other DeScribe macros.
  6. !          The "pop up input window".
  7. !          The 26 automatically declared variables.
  8. !
  9. !   To successfully use this macro, you will need to do the following:
  10. !            - Create a layout for a FAX cover sheet.
  11. !            - Insert asterisks where you intend to make replacements.
  12. !            - Save your layout with the cursor in the position you wish the date to 
  13. !                 print.
  14. !            - Change the macro text to find your layout at the NewDocumentFile 
  15. !                 statement.
  16. !            - Change the macro to find the macro directory where the DATEFULL
  17. !                 macro is located.
  18. !            - Compile the macro.
  19. !
  20. !
  21. MACRO DeScribeMacro
  22.     NewDocumentFile "C:\DeScribe\Layout\YOURFAXLAYOUT"
  23.     PlayMacro "C:\DeScribe\Macros\DATEFULL"
  24. SearchClear
  25.     SET SearchSearch1 TO "*"
  26.     SET SearchConfirm1 TO FALSE
  27.     SearchForward
  28.     GET "Enter Customer Name." TOSTRING A
  29. PUT A
  30.     SearchClear
  31.     SET SearchSearch1 TO "**"
  32.     SET SearchConfirm1 TO FALSE
  33.     SearchForward
  34.     GET "Enter Company Name." TOSTRING B
  35. PUT B
  36.     SearchClear
  37.     SET SearchSearch1 TO "***"
  38.     SET SearchConfirm1 TO FALSE
  39.     SearchForward
  40.     GET "Enter FAX Number." TOSTRING C
  41. PUT C
  42.     SET SearchSearch1 TO "****"
  43.     SET SearchConfirm1 TO FALSE
  44.     SearchForward
  45. MSG "Enter Information and Print FAX."
  46. END MACRO
  47.