If there are more than one tab in pane are open with identical path a script can't get correct index position of currently active tab. Searching for position of tab in pane via get("tab","|","a") is no solution because path criteria is not unique to get the index of actual active tab in pane.
I'm trying to open search results in paperfolders nextby to active tab and therefore I need an index to apply newly created tabs in ordered manner at left or right of active tab position.
get("curtabidx", pane=a|i|1|2) retrieving index of active tab in pane
-
roemer_m
- Posts: 20
- Joined: 10 Dec 2016 15:18
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: get("curtabidx", pane=a|i|1|2) retrieving index of active tab in pane
Already possible, use this:
tab("get", "index"); >>>>>> Moved topic to T&T Q&A-
roemer_m
- Posts: 20
- Joined: 10 Dec 2016 15:18
Re: get("curtabidx", pane=a|i|1|2) retrieving index of active tab in pane
Oh - I was not aware of tab("get","index"). Thanks for the hint jupe.
XYplorer Beta Club