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

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


en:autorun:documentation:runtime_getitematcursor

ItemAtCursor

ItemAtCursor(<infotype>)

Returns various information about the file list item currently under the mouse cursor.

Parameters

infotype«index»The index of the file list element. If there is no list item under the cursor, the return value is -1.
«selected»Selecting an element. The function returns 1 if selected, 0 — if not.
«focused»Focus on the element. The function returns 1 if the focus box is on the element, 0 — otherwise.
«panel»Returns the number of the panel the element is on. 1 — left, 2 — right.
«text»Returns the text of the element. If there is no list item under the cursor, the function will return an empty string.

Remarks

If the cursor is not over one of the file panes, the function will return an empty string and set ERROR to 1.

en/autorun/documentation/runtime_getitematcursor.txt · Последнее изменение: 2022/09/26 15:09 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki