home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff308.lzh
/
FReq
/
Examples
/
NotePad
< prev
next >
Wrap
Text File
|
1990-01-18
|
781b
|
27 lines
/* 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 || '"'