Getting number of tabs
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Getting number of tabs
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...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: Getting number of tabs
In the help under "Scripting Commands Reference" there you find tab() command.
Try this in the address bar
::msg tab(,"c");
or more future proof
::msg tab("get","c");
Try this in the address bar
::msg tab(,"c");
or more future proof
::msg tab("get","c");
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Getting number of tabs
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");
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Getting number of tabs
:facepalm: so it's official, I'm getting blind...
Thanks a lot!!
Thanks a lot!!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Getting number of tabs
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");
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Getting number of tabs
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");
XYplorer Beta Club