CompuServe Messages

#macro help

    01-Oct-92 09:16:50
Sb: #44833-#macro help
Fm: New Horizons Software 76004,2021
To: Fred Murray 73455,402
Fred, The example you give change to the Doc: path present the open requester, change the path to Temp: and save the document with the name AS. No SaveAs requester will be presented. Changing the command Save As to SaveAs should work. With Text documents the SaveAs requester will show the path set by the path command with ProWrite Documents the Path Command will not override the path that the document was saved at and you would need to manually set the path. This could be done by typing Temp: in front of the document name in the save as requester. With the new 3.3 version of ProWrite we have added a new SaveAsText AREXX command that will allow you to create the following macro. /* ProWrite to Text * / Options Results /* Let's use variables */ Close /* Close Active Document */ SetPath "Docs: /* Set the Path */ do while RC = 0 /* Loop until Open is cancelled */ Open /* Present the Open Requester */ DocName /* Put the current Document Name in Result */ SaveAsText "Temp:" || Result /* Save as Text in Temp: */ Close /* Close the current Document */ end Hope this helps Randy Brooks New Horizons Software, Inc.