home *** CD-ROM | disk | FTP | other *** search
- /* Use this script for examaining ImageDesk catalogs from DOpus.
- The most important things you have to know for adding an
- ImageDesk catalog class to DOpus:
-
- * The identification line has to be >>Match IDC<<
- * The way to execute is >>AMIGA DOS<<
- * The execution string has to be
- >>rx <path of this file's directory>/LoadCatFromOpus.IDesk {f}<<
-
- */
-
- ImageDeskCall = "work:ImageDesk/imagedesk"
-
- /* ^- This is path and file name of imagedesk.
- Edit it for your requirements */
-
- OPTIONS RESULTS
-
- PARSE ARG FileName
-
- if( ~SHOW(Ports,"IDESK_REXXPORT") ) then
- do
- ADDRESS COMMAND
- ImageDeskCall "CATFILE="FileName
- end
- else do
- if( ADDRESS() ~= "IDESK_REXXPORT" ) then
- ADDRESS IDESK_REXXPORT
-
- DESKTOFRONT
- CLEANDESK
- if(RC > 0) then exit
- OPENCAT '"'FileName'"'
- end
-
- exit
-
-