get("curtabidx", pane=a|i|1|2) retrieving index of active tab in pane
Posted: 15 Dec 2022 14:40
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.
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.