home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************
- * TEXTRA AREXX script -- Mike Haas, 1991, All Rights Reserved. *
- * Freely distributable ONLY as a component of the TEXTRA package. *
- * This banner may not be removed or altered (improvements to the *
- * actual program welcome). Please document and send to me. *
- * !!! PLACE THIS FILE IN YOUR REXX: DIRECTORY !!! *
- ******************************************************************/
-
- /*
- **
- ** InsertF.textra
- **
- ** Insert the specified file
- **
- ** this is a great file to save as CTRLi.textra
- **
- ** Then just enter the filename in the destination
- ** text file, select the filename, then CRTL-i!
- **
- ** Usage:
- ** 1. select filename in window to be inserted into
- ** 2. execute this script
- **
- ** Mike Haas
- */
-
- options results
-
- get select text
-
- parse var result numlines' 'theFile
-
- if (result == "NO SELECT") then
- exit
-
- if (numlines > 0) then
- exit
-
- insertfile '"'theFile'"'
-