# Adobe Bridge Extendscript still has two bags

**URL:** <https://forums.creativeclouddeveloper.com/t/adobe-bridge-extendscript-still-has-two-bags/7981>\
**Category:** InDesign\
**Tags:** bug, javascript\
**Created:** [June 6, 2024, 7:22am UTC](https://forums.creativeclouddeveloper.com/t/adobe-bridge-extendscript-still-has-two-bags/7981 "2024-06-06T07:22:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dulajun](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/dulajun/32/3362_2.png) [@dulajun](https://forums.creativeclouddeveloper.com/u/dulajun)\
**Post date:** [June 6, 2024, 7:22am UTC](https://forums.creativeclouddeveloper.com/t/adobe-bridge-extendscript-still-has-two-bags/7981/1 "2024-06-06T07:22:58Z")

</div>

![Screen Shot 2024-06-06 at 10.01.40 AM](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/7/7812be2ccce7cd3beb1ca48074d5415d6843739c.jpeg)

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.

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

```

 ![Screen Shot 2024-06-06 at 10.07.48 AM](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/8/885a936b32446d778f689b606cf165ad252e293e.jpeg)

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.

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

```
