home *** CD-ROM | disk | FTP | other *** search
- /* Insert_File
-
- Insert a given file into the current document at
- the insertion point.
-
- Digita ARexx Script for Wordworth 5
- Copyright ©1996, Digita International Ltd.
-
- Created: 19 January 1996
- Author: MJ
- */
-
-
- OPTIONS RESULTS
-
-
- WwPortName = Address()
-
- GetFont
- OldFont = Result
-
- GetFontSize
- OldFontSize = Result
-
- RequestFile TITLE "Select File to Insert"
- File = Result
-
- If (RC > 0) THEN
- Exit
-
- New
- Address Value Result
-
- Open FILENAME File
-
- SelectAll
-
- Font NAME OldFont SIZE OldFontSize
-
- Copy
-
- Close FORCE
-
- Address Value WwPortName
-
- Paste
-