mIRC Home    About    Download    Register    News    Help

Print Thread
#261663 07/11/17 10:43 PM
Joined: Jan 2004
Posts: 2,127
maroon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127

Per /help $window the .prop for .tbtext is "returns the toolbar button text". I assume this is a typo as it behaves like it's the treebar text not toolbar.

Also, the .tbtext property does not behave consistently with the way .sbtext behaves, so this might be a bug.

Code:
//window -w3 @abc | echo -a $window(@abc).sbtext / $window(@abc).tbtext
//window -w0 @abc | echo -a $window(@abc).sbtext / $window(@abc).tbtext

.sbtext shows the text regardless whether or not the window is hidden from the switchbar. But .tbtext shows the name only if that window is visible in the treebar. It appears this inconsistency would be a bug.

Both .sbtext and .tbtext behave the same way regardless whether the treebar and/or switchbar themselves are visible/hidden.

Additional related /help glitches:

1. The list of -switches -abBcCde[N]fg[N]... for /window does not contain the capital "D", though there is a description for it below.
2. The list of +switches +bdeflLmnstx for /window includes +m but there is no description for +m below, so either this was a typo or it's an undocumented +switch that doesn't do anything that i could notice.

Joined: Dec 2002
Posts: 5,432
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,432
Thanks for your bug report. This issue has been fixed for the next version.


Link Copied to Clipboard