home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / WordProcessors / FinalDT.lha / FinalDT.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1996-06-08  |  1.2 KB  |  45 lines

  1. /*
  2.             FinalDT Script V1.00
  3.  
  4.      (C)Copyright 1996 By Fabio Rotondo
  5.  
  6.     This script will call FinalDT program
  7.     to place an image inside FinalWriter
  8.     using DataTypes.
  9.  
  10.     Author: Fabio Rotondo
  11.     e-mail: fsoft@intercom.it
  12.  
  13.     FinalDT is e-mail ware: if you use it, please send me an e-mail!!!
  14.  
  15.     Check Out FinalTyper, another cool FinalWriter Tool written by me!!!!!
  16. */
  17. OPTIONS RESULTS
  18.  
  19. IF ( ADDLIB("rexxsupport.library", 0, -30, 0) = FALSE) THEN EXIT 20
  20. WPPort = ADDRESS()          /* Here we have to know FinalWriter Port */
  21.  
  22. ADDRESS VALUE WPPort
  23. STATUS PAGE INSERT          /* In which page will the picture be imported ? */
  24. Page   = RESULT
  25.  
  26. GetImportPrefs LINKED       /* Here we store User Import Graphic Prefs */
  27. Link   = RESULT
  28.  
  29. ImportPrefs LINKED No       /* We force Graphic complete storing inside doc */
  30.  
  31. ADDRESS command             /* Here we call FinalDT */
  32.  
  33. /* 
  34.    **********************************************************
  35.    Change FinalDT Path Here  BUT DO NOT CHANGE THE PARAMS !!!
  36.    **********************************************************
  37. */
  38. 'Work:Programs/Proggy/MyProgs/FinalDT '|| WPPort || ' ' || Page
  39.  
  40.  
  41. ADDRESS VALUE WPPort      /* Here we restore User Prefs */
  42. ImportPrefs LINKED Link
  43.  
  44. Exit
  45.