Lister Copy

back to section start!

  The  lister copy  command lets you quickly copy the display contents,
(not the actual files/directories), from one lister to another.

  Example:


 /* ListerCopy.dopus5 */ 
options results
lf = 0a'x
address 'DOPUS.1'
dopus front
"lister new 1/1/100/100 mode name 'SYS:'"
handle1 = result
"lister new 100/100/100/100 mode name 'RAM:'"
handle2 = result
lister wait handle2
dopus request '"The contents will be copied from one to the other'||lf||,
              'when you close this requester." OK'
lister copy handle1 handle2             /* Copy the contents */
address command wait 4
lister close handle1
lister close handle2
dopus back
exit

  This command can be used to provide a 'Window Copy' function like in the
old Directory Opus 4, in fact someone has done it for you, look  here .

DOpus PLUS - giving you that bit extra...