home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
opus
/
v4
/
warp
/
wersion.dopus
< prev
Wrap
Text File
|
1996-01-10
|
1KB
|
70 lines
/*
$VER: $VER Scanner V1.0 - for Opus V4.XX Written by Warp oh' GiGA Prod'©96
Purpose?
1}.To enable use of the 'C:Version' command in Opus...
2}.To enable fast version checking when copying Libs, Exe's etc...
How to configure?
Type the folowing line in your Opus config... (I hope you've done this before!)
[AmigaDOS] | C:RX S:Wersion.dopus {f}
You should tick the following options:
CD Source
Run Asynchronously
->} If you still don't know how to use this script, then don't you worry...
you won't need it.....YET! :·)
Known Bugs: <- they arent really bugs just some improvements I could think of...
Can only be used with the first opened Dopus (DOPUS.1), however it can
easily be fixed I won't bother until I/YOU! need it....
the script does not support multiple scans, say Five different files in a go,
and then a req showing em all, or incorporated in a copy routine alá BrowserII!
*/
Parse arg FILENAME
if Pos('DOPUS.1',Show('PORTS')) = 0 then do
say ''
say ' Sorry!- This Script needs to be run via OPUS 4.XX...'
say ''
say ' Look out for an OPUS 5.XX Version! :·)'
say ''
exit
end
Address Command
'C:Version >RAM:WERS 'FILENAME
call open('FileIN','RAM:WERS','r')
VSTR='$VER: '
VSTR=VSTR || ReadLN('FileIN')
Address 'DOPUS.1'
VSTR = CENTER(VSTR,80)
'toptext' VSTR
Address Command
Call Close('FileIN')
'Delete >NIL: RAM:WERS'