The DOpusRT tool can be used from outside of Opus to retrieve information about the currently displayed folders and files.
This functionality is accessed using the dopusrt.exe /info command - following /info you must supply a filename for the output to be saved to, an information command, and the appropriate arguments for that information command. The basic template is:
dopusrt.exe /info <output file>,<command>[,<arguments>]
The data returned by the command will be saved to the specified file in XML format. You can omit the output filename if you do not care about the results. See below for examples of various commands.
Command | Arguments | Description |
---|---|---|
list |
[ ] |
Returns a list of items displayed in the specified tab. Example: |
listsel |
[ ] |
Returns a list of selected items displayed in the specified tab. is the handle of the tab to retrieve the file list from - this can be obtained from the output of the paths command. Specify 0 (or omit this argument) to retrieve the file list from the currently active tab. Example: dopusrt.exe /info %temp%\filelist.txt,listsel,0x1a508 |
open |
,<id>[,<id>,…] |
Opens one or more items in the specified tab. Example: |
paths |
(no arguments) |
Return a list of paths currently displayed in all tabs in all Listers. Example: |
select |
,<id>[,<id>,…] |
Selects one or more items in the specified tab. Example: |