if exists('T:FILE_ID.diz')then address command 'delete T:FILE_ID.diz quiet'
ADDRESS command 'lha x > NIL: '||file||' FILE_ID.diz T:'
if ~exists('T:FILE_ID.diz')then Signal Contl
Showme=""
call open('FileID','T:FILE_ID.diz','r')
do until eof('FileID')
Showme=Showme||lf||readln('FileID')
end
contl:
rtezrequest(" " showme " ","E_xtract|_Edit|_About|_To List|_Next","Trade Tool V1.1 By Side\X/inder of LSD","RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)
if rtresult = 1 then signal lhaw
if rtresult = 2 then signal ledit
if rtresult = 3 then signal about
if rtresult = 4 then signal filelist
if rtresult = 0 then exit
end
ledit:
address command 'lha x > NIL: '||file||' FILE_ID.diz T:'
address command 'copy ram:t/FILE_ID.diz ram:'
dopus back
address command 'ed ram:FILE_ID.diz'
dopus front
call rtezrequest("Repack your New File Id ?.","_OK|_Cancel","Trade Tool V1.1 By Side\X/inder of LSD ","RT_ReqPos=ReqPos_CenterScr rt_PubScrName = "DOPUS.1)
if rtresult = 1 then signal lhapack
if rtresult = 0 then exit
end
lhapack:
address command 'lha d > NIL: '||file||' FILE_ID.diz '
address command 'lha a > NIL: '||file||' ram:FILE_ID.diz'
address command 'delete ram:file_id.diz'
exit
end
lhaw:
rtezrequest(" Please Select " lf " Ram:T/ Or Select (Another Path.)","_Ram:T/|_Select|_Next","Trade Tool V1.1 by Side\X/inder of LSD ", "RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)
if rtresult = 1 then signal lhaw1
if rtresult = 2 then signal select
if rtresult = 0 then exit
select:
dirname = rtfilerequest(, , "Please Pick A Directory",,,
if exists('T:FILE_ID.DIZ')then address command 'delete T:FILE_ID.DIZ quiet'
ADDRESS command 'LZX x > NIL: '||file||' File_Id.Diz Ram:T/'
if ~exists('T:File_Id.Diz')then Signal Contx
Showme=""
call open('FileID','T:FILE_ID.diz','r')
do until eof('FileID')
Showme=Showme||lf||readln('FileID')
end
contx:
rtezrequest(" " showme " ","E_xtract|_Edit|_About|_To List|_Next","Trade Tool V1.0 By Side\X/inder of LSD", "RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)
if rtresult = 1 then signal lzxw
if rtresult = 2 then signal lzedit
if rtresult = 3 then signal about
if rtresult = 4 then signal filelist
if rtresult = 0 then exit
lzedit:
address command 'LZX x > NIL: '||file||' File_Id.Diz Ram:'
dopus back
address command 'ed ram:File_Id.Diz'
dopus front
call rtezrequest("Repack your New File Id ?.","_OK|_Cancel","Trade Tool V1.1 By Side\X/inder of LSD ","RT_ReqPos=ReqPos_CenterScr rt_PubScrName ="DOPUS.1)
if rtresult = 1 then signal lzxpack
if rtresult = 0 then exit
end
lzxpack:
address command 'lzx r > NIL: '||file||' ram:File_Id.Diz '
address command 'delete ram:file_id.diz'
exit
end
lzxw:
rtezrequest(" Please Select " lf " Ram:T/ Or Select (Another Path.)","_Ram:T/|_Select|_Next","Trade Tool V1.1 by Side\X/inder of LSD", "RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)
if rtresult = 1 then signal lzxw1
if rtresult = 2 then signal select1
if rtresult = 0 then exit
select1:
dirname = rtfilerequest(, , "Please Pick A Directory",,,
if exists('T:FILE_ID.diz')then address command 'delete T:FILE_ID.diz quiet'
ADDRESS command 'dmsdescript > NIL: x T:FILE_ID.diz '||file
IF~exists('T:FILE_ID.diz')then signal Contd
else do
Showme=""
call open('FileID','T:FILE_ID.diz','r')
do until eof('FileID')
Showme=Showme||lf||readln('FileID')
end
Contd:
rtezrequest(" " showme " ","E_xtract|_Edit|_About|_To List|_Next","Trade Tool V1.1 By Side\X/inder of LSD", "RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)
if rtresult = 1 then signal ext
if rtresult = 2 then signal edit
if rtresult = 3 then signal about
if rtresult = 4 then signal filelist
if rtresult = 0 then exit
end
EDIT:
address command 'DMSDESCRIPT x ram:t/FILE_ID.diz ' ||file
address command 'copy ram:t/FILE_ID.diz ram:'
dopus back
address command 'ED ram:FILE_ID.diz '
dopus front
call rtezrequest("Repack your New File Id ?.","_OK|_Cancel","Trade Tool V1.1 By Side\X/inder of LSD ","RT_ReqPos=ReqPos_CenterScr rt_PubScrName = "DOPUS.1)
if rtresult = 1 then signal dmspack
if rtresult = 0 then exit
end
dmspack:
address command 'DMSDESCRIPT d ' ||file
address command 'DMSDESCRIPT a ram:FILE_ID.diz ' ||file
address command 'delete ram:file_id.diz'
exit
end
EXT:
rtezrequest("Insert disk in drive and then select "lf" destination for" dmsname".","DF0:|DF1:|FF0:|FF1:|FF2:|FF3:|FF4:|RAD:|_Exit","Dms Extraction", "RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)
if rtresult = 1 then do
Dest='DF0:'
signal dmsw
end
if rtresult = 2 then do
Dest='DF1:'
signal dmsw
end
if rtresult = 3 then do
Dest='FF0:'
signal dmsw
end
if rtresult = 4 then do
Dest='FF1:'
signal dmsw
end
if rtresult = 5 then do
Dest='FF2:'
signal dmsw
end
if rtresult = 6 then do
Dest='FF3:'
signal dmsw
end
if rtresult = 7 then do
Dest='FF4:'
signal dmsw
end
if rtresult = 8 then do
Dest='RAD:'
signal dmsw
end
if rtresult = 0 then
exit
end
dmsw:
lister new
handle=result
lister set handle busy on
lister set handle path dest
lister set handle progress 80 'Unpacking' dmsname'...'
if exists('T:FILE_ID.DIZ')then address command 'delete T:FILE_ID.DIZ quiet'
ADDRESS command 'GifDesc e > NIL: '||File||' T:FILE_ID.DIZ '
if ~exists('T:FILE_ID.DIZ')then signal ContGif
Showme=""
call open('FileID','T:FILE_ID.diz','r')
do until eof('FileID')
Showme=Showme||lf||readln('FileID')
end
ContGif:
rtezrequest(" " showme " ","_Edit|_About|_Next","Trade Tool V1.1 By Side\X/inder of LSD", "RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)
if rtresult = 1 then signal gifedit
if rtresult = 2 then signal about
if rtresult = 0 then exit
end
GifEDIT:
address command 'GIFDESC e > NIL: '||File||' ram:t/FILE_ID.diz '
address command 'copy ram:t/FILE_ID.diz ram:'
dopus back
address command 'ED ram:FILE_ID.diz '
dopus front
address command 'GifDESC d ' ||file
address command 'GifDESC a > NIL: '||File||' ram:FILE_ID.diz '
address command 'delete ram:file_id.diz'
exit
end
Fail:
call rtezrequest("You Failed To Pick A Destination Directory.", "_Exit", ,"RT_ReqPos=ReqPos_CenterScr rt_PubScrName = "DOPUS.1)
exit
end
about:
call close('FileID')
Call rtezrequest("Trade Tool V1.1 was created by Side\X/inder of LSD on 8th June 1995."lf""lf"For more information and all the latest filez,call"lf""lf"CEMENT CITY-TANGOLAND-13th HOUR","_Quit|_Exit","Trade Tool V1.1 by Side\X/inder of LSD","RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="DOPUS.1)