Инструменты пользователя

Инструменты сайта


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

indexThe 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.

1Left file list.
2Right file list.
3Active file list.
4Inactive file list.
5Left header.
6Right header.
7Left size panel.
8Right size panel.
9Left path panel.
10Right path panel.
11Left info panel. :!: Currently unavailable.
12Right info panel. :!: Currently unavailable.
13Left dropdown disk list.
14Right dropdown disk list.
15Left panel (available when tabs opened, near area).
16Right panel (available when tabs opened, near area).
17Bottom panel (with functional buttons).
18Left folder tree.
19Right folder tree.
20Commandline.
21Current directory panel.
22Inplace editor field.
23Panel splitter.
24Left drive panel.
25Right drive panel.
26Left tab panel.
27Right tab panel.
28Buttonbar.
29Vertical buttonbar.

When called with an index between 1000 and 1012, the function returns the following information:

1000Active panel: 1 if left, 2 if right.
1001The number of items in the left pane.
1002The number of items in the right pane.
1003The total number of items in the left pane (including those hidden by the quick filter).
1004The total number of items in the right pane (including those hidden by the quick filter).
1005The number of selected items in the left pane.
1006The number of selected items in the right pane.
1007The index of the current element in the left pane (where the cursor is). The countdown starts from zero.
1008The index of the current element in the right pane (on which the cursor is located). The countdown starts from zero.
1009Index of the first element in the left pane (0 if there is no transition to the parent directory, 1 if there is).
1010Index of the first element in the right pane (0 if there is no transition to the parent directory, 1 if there is).
1011The index of the first file in the left pane. The count starts from zero, returns -1 if there are no files.
1012The 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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki