| Panels | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Operator | Type | Description | ||||||||||||||||||||||||||||
| APanel.ItemCount PPanel.ItemCount |
Number | stores the number of the elements on the panel | ||||||||||||||||||||||||||||
| APanel.SelCount PPanel.SelCount |
Number | stores the number of the selected files on the panel | ||||||||||||||||||||||||||||
| APanel.CurPos PPanel.CurPos |
Number | stores the index of an element on the panel | ||||||||||||||||||||||||||||
| APanel.Current PPanel.Current |
String | stores the name of an element under the cursor | ||||||||||||||||||||||||||||
| APanel.Path PPanel.Path |
String | stores the path for the panel (without trailing '\') | ||||||||||||||||||||||||||||
| APanel.UNCPath PPanel.UNCPath |
String | stores the UNC path for the panel (without trailing '\') | ||||||||||||||||||||||||||||
| APanel.Width PPanel.Width |
Number | stores the width of the panel | ||||||||||||||||||||||||||||
| APanel.Type PPanel.Type |
Number | stores the type of the panel:
|
||||||||||||||||||||||||||||
| APanel.DriveType PPanel.DriveType |
Number | specifies the drive type of the panel:
|
||||||||||||||||||||||||||||
| APanel.OPIFlags PPanel.OPIFlags |
Number | plugin panel flags, can be a combination of the following values (if the panel is not a plugin panel then this value is 0):
|
||||||||||||||||||||||||||||
| APanel.ColumnCount PPanel.ColumnCount |
Number | Number of panel columns. | ||||||||||||||||||||||||||||
| Dialogs | ||||||||||||||||||||||||||||||
| Dlg.ItemCount | Number | number of elements in a dialog box | ||||||||||||||||||||||||||||
| Dlg.CurPos | Number | the number of the item of a dialog box currently in focus | ||||||||||||||||||||||||||||
| Dlg.ItemType | Number | type of the element currently in focus
|
||||||||||||||||||||||||||||
| Command Line | ||||||||||||||||||||||||||||||
| CmdLine.ItemCount | Number | number of characters in the command line | ||||||||||||||||||||||||||||
| CmdLine.CurPos | Number | current command line cursor position | ||||||||||||||||||||||||||||
| CmdLine.Value | String | command line content | ||||||||||||||||||||||||||||
| Editor | ||||||||||||||||||||||||||||||
| Editor.FileName | String | full name of the file being edited | ||||||||||||||||||||||||||||
| Editor.CurLine | Number | current line in the editor (first line is 1) | ||||||||||||||||||||||||||||
| Editor.CurPos | Number | current cursor position in the current line in the editor (first column is 1); tab size is accounted | ||||||||||||||||||||||||||||
| Editor.RealPos | Number | current cursor position in the current line in the editor (first column is 1); without accounting for tab size | ||||||||||||||||||||||||||||
| Editor.Value | Value | contents of the current line in the editor (under the cursor). For example, to show the character under the cursor: MsgBox(substr(Editor.Value,Editor.CurPos-1,1),Editor.FileName,0) |
||||||||||||||||||||||||||||
| Editor.Lines | Number | number of lines in the editor | ||||||||||||||||||||||||||||
| Editor.State | Number | state of the current internal file editor - bit flag set:
$If (Editor.State & 0x8) ...do something if file was modified... $End |
||||||||||||||||||||||||||||
| Viewer | ||||||||||||||||||||||||||||||
| Viewer.FileName | String | full name of the file being viewed | ||||||||||||||||||||||||||||
| Viewer.State | Number | state of the current internal file viewer - bit flag set:
$If (Viewer.State & 0x20) ...do something if hex mode is on... $End |
||||||||||||||||||||||||||||
| Drive menu | ||||||||||||||||||||||||||||||
| Drv.ShowPos | Number | drive menu is shown for the left panel (AltF1, value 1) or the right panel (AltF2, value 2). | ||||||||||||||||||||||||||||
| Drv.ShowMode | Number | drive menu representation flags; bitmask:
|
||||||||||||||||||||||||||||
| Other | ||||||||||||||||||||||||||||||
| MacroArea | String | name of the current macro area | ||||||||||||||||||||||||||||
| ItemCount | Number | number of elements in the current object; delimiters are also counted in the menu | ||||||||||||||||||||||||||||
| CurPos | Number | position in the current object | ||||||||||||||||||||||||||||
| Title | String | title of the current object | ||||||||||||||||||||||||||||
| Far.Width | Number | FAR Manager console width | ||||||||||||||||||||||||||||
| Far.Height | Number | FAR Manager console height | ||||||||||||||||||||||||||||
| Far.Title | String | current title of FAR console window | ||||||||||||||||||||||||||||
| Help.FileName | String | full path to the opened help file; for the list of plugins help topics (Shift-F2) this value is empty | ||||||||||||||||||||||||||||
| Help.Topic | String | ID of the current help topic (without the leading '@' symbol) | ||||||||||||||||||||||||||||
| Help.SelTopic | String | ID of the selected help topic (without the leading '@' symbol) | ||||||||||||||||||||||||||||