reference:evaluator:tabpath

TabPath(
     numeric:index,
     [string:side]
)
path

Arguments

index

The index of the desired tab (0-based).

side

Optional. Specific file display (defaults to source).

Return value

The specified tab's path.

Description

In the context of buttons and functions, returns the current path from a specified tab in the Lister.

index is the tab index, and side should be one of the following characters to specify the file display:

lleft/top
rright/bottom
ssource
ddestination

If side isn't specified, the source file display is the default.