en:autorun:documentation:runtime_requestinfo
RequestInfo
RequestInfo(<index>)
Gets some useful information from Total Commander. This feature only works in versions 9.0b and above.
Parameters
index | The index of the value to get. See table below. |
Index values
When called with an index from 1 to 29, the function returns handles to various areas of the program window.
1 | Left file list. |
2 | Right file list. |
3 | Active file list. |
4 | Inactive file list. |
5 | Left header. |
6 | Right header. |
7 | Left size panel. |
8 | Right size panel. |
9 | Left path panel. |
10 | Right path panel. |
11 | Left info panel. Currently unavailable. |
12 | Right info panel. Currently unavailable. |
13 | Left dropdown disk list. |
14 | Right dropdown disk list. |
15 | Left panel (available when tabs opened, near area). |
16 | Right panel (available when tabs opened, near area). |
17 | Bottom panel (with functional buttons). |
18 | Left folder tree. |
19 | Right folder tree. |
20 | Commandline. |
21 | Current directory panel. |
22 | Inplace editor field. |
23 | Panel splitter. |
24 | Left drive panel. |
25 | Right drive panel. |
26 | Left tab panel. |
27 | Right tab panel. |
28 | Buttonbar. |
29 | Vertical buttonbar. |
When called with an index between 1000 and 1012, the function returns the following information:
1000 | Active panel: 1 if left, 2 if right. |
1001 | The number of items in the left pane. |
1002 | The number of items in the right pane. |
1003 | The total number of items in the left pane (including those hidden by the quick filter). |
1004 | The total number of items in the right pane (including those hidden by the quick filter). |
1005 | The number of selected items in the left pane. |
1006 | The number of selected items in the right pane. |
1007 | The index of the current element in the left pane (where the cursor is). The countdown starts from zero. |
1008 | The index of the current element in the right pane (on which the cursor is located). The countdown starts from zero. |
1009 | Index of the first element in the left pane (0 if there is no transition to the parent directory, 1 if there is). |
1010 | Index of the first element in the right pane (0 if there is no transition to the parent directory, 1 if there is). |
1011 | The index of the first file in the left pane. The count starts from zero, returns -1 if there are no files. |
1012 | The index of the first file in the right pane. The count starts from zero, returns -1 if there are no files. |
en/autorun/documentation/runtime_requestinfo.txt · Последнее изменение: 2022/09/26 15:10 — loopback