Page 1 of 1

Using thumbsconf in a script

Posted: 23 Aug 2025 20:45
by klownboy
I want to control the use of captions in a script via Custom Event Actions. I noticed that thumbsconf("1"); doesn't work. As seen in the help file, Thumbsconf("!"); works to toggle, but I have to put in a comma after the 0 or 1 to make it work with thumbsconf("0,"). Not a big deal, but is that expected or a bug? Edit: Same result on X64 and x32.

Re: Using thumbsconf in a script

Posted: 26 Aug 2025 09:58
by admin
The "settings" parameter in SC thumbsconf is overloaded, see Help:
If numeric: Return this number of values (counted from left).
The script engine currently sees a quoted number as a number in this context. That could be fixed, but the fix would probably break old scripts.

Re: Using thumbsconf in a script

Posted: 26 Aug 2025 11:13
by klownboy
No problem at all Don now that I know. Thanks.