Adobe Bridge Extendscript still has two bags

The first bug is that the checkable commands do not display the check mark, regardless of the actual state of the command. In the image taken before the bug appeared, you can see that the “Switch with InDesign” command is checked.

        switchWithInDesignCommand.onDisplay = function()
        {
            if (tsIsSwitchWithInDesign) {
                switchWithInDesignCommand.checked = true;
            }
            else {
                switchWithInDesignCommand.checked = false;
            }
        };

The second bug is that the “scrolling” property of the “statictext” is not working. As shown in the image I uploaded before the bug appeared, it was functioning correctly.

var staticText = group1.add("statictext", 
undefined, 
'', 
{name: "staticText", multiline: true, scrolling: true});