a = ReadLn('Info');a = ReadLn('Info');a = ReadLn('Info')
InfoTxt = ReadLn('Info')
Close('Info')
Delete 'T:DevDetective.INF'
InfoTxt = Right(InfoTxt,Length(InfoTxt)-10)
If InfoTxt = 'Unreadable disk' Then Return
Status 3
ActiveWin = Result
Status 13 ActiveWin
CurrentPath = Result
Status 13 1-ActiveWin
OtherPath = Result
If Left(CurrentPath,Length(Device)) = Device Then Status 13 ActiveWin Set Device
If Left(OtherPath,Length(Device)) = Device Then Status 13 1-ActiveWin Set Device
If Left(CurrentPath,Length(Device)) = Device | Left(OtherPath,Length(Device)) = Device Then Return
lf = '0a'x
Query ScreenName
PubScreen = Result
Call AddLib("rexxreqtools.library",0,-30,0)
DOpusToFront
Busy On
Call rtezrequest("A new disk has been inserted in drive "Device || lf"Do you want to read this disk?","_Left Window|_Right Window|_Cancel","Directory Opus Request","RTEz_Flags=EZReqF_CenterText RT_ReqPos=ReqPos_CenterScr RT_PubScrName="PubScreen)