The Results object provides information about the outcome of a function run by the Command object. It is obtained from the Command.results property.
Property Name | Return Type | Description |
---|---|---|
changes |
collection of FileChange |
This property returns a collection of FileChange objects representing any file changes made by the command. You must set the logchanges property in the Command object if you want file changes logged. |
result |
int |
Indicates whether or not the command ran successfully. Zero indicates the command could not be run or was aborted; any other number indicates the command was run for at least some files. (Note that this is not the "exit code" for external commands. For external commands it only indicates whether or not Opus launched the command. If you need the exit code of an external command, use the WScript.Shell Run or Exec methods to run the command.) |
newtabs |
collection of Tab |
This property returns a collection of Tab objects representing any new tabs created by the command. |
newlisters |
collection of Lister |
This property returns a collection of Lister objects representing any new Listers created by the command. |
newviewers |
collection of Viewer |
This property returns a collection of Viewer objects representing any new image viewers created by the command. (This is only for standalone viewers, not the viewer pane.) |