The Lister object represents an open Lister window. A collection of currently open Lister objects is available from the DOpus.listers property, and if a command results in a new Lister being opened, the Results object.
Property Name |
Return Type |
Description |
---|---|---|
activetab |
object:Tab |
Returns a Tab object representing the currently active (source) tab. |
bottom |
int |
Lister window bottom-edge coordinate. |
custom_title |
string |
Returns the custom title of the Lister (if any) as set by the Set LISTERTITLE command. This may be an empty string. The title property returns the actual window title. |
desttab |
object:Tab |
Returns a Tab object representing the current destination tab (in a dual-display Lister). |
dual |
int |
Indicates whether the Lister is in dual-display mode or not. Possible values
are: |
dualsize |
int |
Returns the current split percentage of the dual displays (e.g. 50 indicates they are evenly sized). |
foreground |
bool |
Returns True if this Lister is currently the foreground (active) window. |
lastactive |
bool |
Returns True if this Lister is currently the active Lister (foreground window), or was the most recently active Lister. |
layout |
string |
Provides the name of the Lister layout that this Lister came from (if any). |
left |
int |
Lister window left-edge coordinate. |
metapane |
int |
Indicates whether the metadata pane is currently open or not.
Possible values are: |
right |
int |
Lister window right-edge coordinate. |
state |
string |
Returns the state of a single-display mode Lister: |
style |
string |
Returns the name of the Lister style which was last applied to the Lister, or an empty string if there is none. This is just the last style which was loaded and does not mean the Lister still looks the same; the user may have opened or closed panels and made other changes via other methods in the time since the style was applied. |
tabs |
collection:Tab |
Returns a collection of Tab objects that represent all tabs in this Lister. In a dual-display Lister this includes tabs in both the left and right file displays. |
tabgroupleft |
string |
Returns the name of the Folder Tab Group which was last loaded into the left half of the Lister, or an empty string if no group has been loaded. The name only changes when a Folder Tab Group is loaded. The current tabs may no longer resemble the named tab group if the user has made changes since the group was loaded. The name persists across restarts, through the Default Lister and saved Layouts. |
tabgroupright |
string |
Similar to tabgroupleft, above, but for the right half of the Lister (if any). |
tabsleft |
collection:Tab |
Returns a collection of Tab objects that represent the tabs in the left/top side of a dual-display Lister. In a single-display Lister this is equivalent to all the tabs in the Lister. |
tabsright |
collection:Tab |
Returns a collection of Tab objects that represent the tabs in the right/bottom side of a dual-display Lister. In a single-display Lister this will return an empty collection. |
title |
string |
Returns the current title of the Lister window. |
toolbars |
collection:Toolbar |
Returns a collection of Toolbar objects representing all currently open toolbars in this Lister. |
top |
int |
Lister window top-edge coordinate; |
tree |
int |
Indicates whether or not the folder tree is currently open. Possible
values are: |
utilpage |
string |
If the utility panel is currently open, returns a string indicating the currently selected utility page. Possible values are find (which means the Find panel's Simple version), findadvanced, sync, dupe, undo, filelog, ftplog, otherlog, email. |
utilpane |
int |
Indicates whether or not the utility panel is currently open. Possible
values are: |
vars |
object:Vars |
This Vars object represents all defined variables with Lister scope (that are scoped to this Lister). |
viewpane |
int |
Indicates whether or not the viewer pane is currently open. Possible
values are: |
Method Name |
Arguments |
Return Type |
Description |
---|---|---|---|
Dlg |
none |
object:Dialog |
Creates a new Dialog object, that lets you display dialogs and popup menus. The dialog's window property will be automatically assigned to this Lister. |
SetTaskbarGroup |
<string:group> |
bool |
Used to change how the lister window is grouped with other Opus windows on the taskbar. Specify a group name to move the window into an alternative group, or omit the group argument to reset back to the default group. If one or more windows are moved into the same group, they will be grouped together, separate from other the default group. This only works on Windows 7 and above, and only when taskbar grouping is enabled. Group names are limited to 103 characters and will be truncated if longer. Spaces and dots in group names are automatically converted to underscores. Returns true on success. |
Update |
none |
none |
The first time a script accesses a particular Lister object, a snapshot is taken of the Lister state. If the script then makes changes to that Lister (e.g. it opens a new tab, or moves the window), these changes will not be reflected by the object. To re-synchronize the object with the Lister, call the Lister.Update method. |