AppleScript widget not updating on Stream Deck Plus touch screen

Describe the bug

AppleScript Widget used on Stream Deck Plus does not update per set schedule

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):

Stream deck plus

Device information:

MBP M1 Max
Mac OS 14.3
BTT version 4.375

Additional information (e.g. crash logs, related issues, etc.):

I created an AppleScript widget which simply return the current volume and set it to update every five seconds. When I add it to the 'normal' Streamdeck buttons it works exactly as intended.

However, when I add it to an SD+ touch screen configuration group, it will only update once (when restarting BTT) and then never update again. I copied and pasted the configuration below.


[
  {
    "BTTLastUpdatedAt" : 1705998768.282567,
    "BTTTriggerType" : 725,
    "BTTTriggerTypeDescription" : "Apple Script Widget",
    "BTTTriggerParentUUID" : "4B63FA32-3FC9-4D83-84E3-8CCBEDA8B257",
    "BTTTriggerClass" : "BTTTriggerTypeStreamDeck",
    "BTTPredefinedActionType" : 366,
    "BTTPredefinedActionName" : "Empty Placeholder",
    "BTTUUID" : "36F8052B-03A7-4D98-BEAB-5DA4B8C8C3B0",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTOrder" : 0,
    "BTTMergeIntoTouchBarGroups" : 0,
    "BTTStreamDeckButtonName" : "Apple\nScript",
    "BTTTriggerConfig" : {
      "BTTStreamDeckImageHeight" : 50,
      "BTTStreamDeckCornerRadius" : 12,
      "BTTStreamDeckBackgroundColor" : "0.000000, 0.000000, 0.000000, 255.000000",
      "BTTScriptSettings" : {
        "BTTScriptType" : 0,
        "BTTAppleScriptString" : "tell application \"Finder\"\r\tset currentVolume to output volume of (get volume settings)\r\treturn currentVolume\rend tell\r",
        "BTTAppleScriptUsePath" : false
      },
      "BTTScriptUpdateInterval" : 5,
      "BTTStreamDeckIconColor1" : "255, 255, 255, 255",
      "BTTStreamDeckLCDImageWidth" : {
        "BTTStreamDeckLCDImageWidth" : "200",
        "BTTStreamDeckLCDImageHeight" : "100"
      },
      "BTTStreamDeckAlternateImageHeight" : 50,
      "BTTStreamDeckMainTab" : 1,
      "BTTStreamDeckAlternateIconColor1" : "255, 255, 255, 255",
      "BTTStreamDeckIconColor2" : "255, 255, 255, 255",
      "BTTStreamDeckAlternateIconColor2" : "255, 255, 255, 255",
      "BTTStreamDeckAlternateIconColor3" : "255, 255, 255, 255",
      "BTTStreamDeckAlternateBackgroundColor" : "108.194754, 155.000000, 201.000000, 255.000000",
      "BTTStreamDeckAttributedTitle" : "cnRmZAAAAAADAAAAAgAAAAcAAABUWFQucnRmAQAAAC6UAQAAKwAAAAEAAACMAQAAe1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcY29jb2FydGYyNzU5Clxjb2NvYXRleHRzY2FsaW5nMFxjb2NvYXBsYXRmb3JtMHtcZm9udHRibFxmMFxmbmlsXGZjaGFyc2V0MCBTRkNvbXBhY3QtUmVndWxhcjt9CntcY29sb3J0Ymw7XHJlZDI1NVxncmVlbjI1NVxibHVlMjU1O1xyZWQyNTVcZ3JlZW4yNTVcYmx1ZTI1NTt9CntcKlxleHBhbmRlZGNvbG9ydGJsOztcY3NnZW5lcmljcmdiXGMxMDAwMDBcYzEwMDAwMFxjMTAwMDAwO30KXHBhcmRcdHg1NjBcdHgxMTIwXHR4MTY4MFx0eDIyNDBcdHgyODAwXHR4MzM2MFx0eDM5MjBcdHg0NDgwXHR4NTA0MFx0eDU2MDBcdHg2MTYwXHR4NjcyMFxwYXJkaXJuYXR1cmFsXHFjXHBhcnRpZ2h0ZW5mYWN0b3IwCgpcZjBcZnM1MCBcY2YyIEFwcGxlXApTY3JpcHR9AQAAACMAAAABAAAABwAAAFRYVC5ydGYQAAAAsHmvZbYBAAAAAAAAAAAAAA==",
      "BTTStreamDeckAlternateCornerRadius" : 12,
      "BTTStreamDeckIconColor3" : "255, 255, 255, 255",
      "BTTStreamDeckLCDImageX" : {
        "BTTStreamDeckLCDImageY" : "",
        "BTTStreamDeckLCDImageX" : ""
      }
    }
  }
]

Thanks for reporting! This should be fixed in 4.377 alpha (uploading now)

Confirmed fixed! Thanks so much for great support for a great product.