home *** CD-ROM | disk | FTP | other *** search
- /* NotePad (Arexx) - uses FReq as a front end to NotePad */
-
- /* ** Important Note ** - NotePad will NOT accept a path specification and
- filename longer than 30 characters */
-
- if ~(Show('P', 'FileRequester')) then
- do
- ADDRESS COMMAND "Run >NIL: <NIL: DEVS:Freq >NIL: <NIL:"
- ADDRESS COMMAND "WaitForPort FileRequester"
- if ~(Show('P', 'FileRequester')) then
- do
- say "UnAble to Load FileRequester"
- exit
- end
- end
-
- OPTIONS RESULTS
- ADDRESS "FileRequester"
- 'SetPattern' /* clear the pattern and filename */
- 'SetFileName'
- 'SetPath SYS:Utility' /* Path where NotePad note files are located */
- 'SetTitle Select a NotePad Note to Open'
- 'DisplayDef'
- 'GETFILENAME'
- if (RC = 0) then
- ADDRESS COMMAND "SYS:Utility/Notepad" '"' || Result || '"'
-