Getting number of tabs
Posted: 21 Nov 2011 20:17
As the title says, how is it possible to obtain the number of tabs opened in the current pane? get doesn't seem to do the trick...
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Searching "Help on scripting commands" you'll find that the command "tab" will do it. Could you please do a thorough search first?Marco wrote:As the title says, how is it possible to obtain the number of tabs opened in the current pane? get doesn't seem to do the trick...
Honestly, I always RTFM before posting, I must have passed over that line on page #361... I for sure didn't do that on purpose.serendipity wrote:Searching "Help on scripting commands" you'll find that the command "tab" will do it. Could you please do a thorough search first?Marco wrote:As the title says, how is it possible to obtain the number of tabs opened in the current pane? get doesn't seem to do the trick...
Anyway, this will do it:
text tab (, "count");
No problem, was just putting it out there for others too.Marco wrote:Honestly, I always RTFM before posting, I must have passed over that line on page #361... I for sure didn't do that on purpose.serendipity wrote:Searching "Help on scripting commands" you'll find that the command "tab" will do it. Could you please do a thorough search first?Marco wrote:As the title says, how is it possible to obtain the number of tabs opened in the current pane? get doesn't seem to do the trick...
Anyway, this will do it:
text tab (, "count");