home *** CD-ROM | disk | FTP | other *** search
- /* ======================================== */
- /* FINAL WRITER AREXX MACRO */
- /* by Nigel S. Domaingue, 28/1/95 */
- /* Draw_TextBox */
- /* $Ver: Draw_TextBox v1.0 (30/1/95) */
- /* ======================================== */
-
- Options Results
-
- /* Must determine the current page and the current */
- /* scroll-position so that the box will be placed */
- /* in the field of view. */
-
- Status Page
- CurPage = Result
-
- Status ScrollPos
- Parse VAR Result Left Top
- Top = Top +1
- Left = Left +1
-
- /* For some reason, this script did not work properly */
- /* if an ordinary graohic was already selected. It */
- /* failed to put up the requester before placing text, */
- /* theeby placing whatever was previously the default. */
- /* By switching to the texttool and back, this should */
- /* hopefully be resolved. */
-
- TextTool
- GraphicTool
-
- /* Call up the requester. */
- /* This in fact changes the default settings. */
- TextBlockPrefs Prompt
-
- /* Create a text box with the default settings. */
- GetTextBlockPrefs Text
- text=Result
- DrawTextBlock CurPage Left Top text
- Redraw
-
-