Stream Deck button: regex appearance

This is my task widget button and shows the result of the script as expected.
Screen Shot 2022-07-04 at 12.05.57

I've added a regex alt color and works fine, shows the button on red color but the text shows "shell script", no dynamic value returned.
Screen Shot 2022-07-04 at 12.07.00

There is any kind of special token to be used to display task returned value?

Thanks!

I'll look into that tomorrow, maybe I broke something in the 3.808 release.

This should be fixed in 3.811

Thanks, worked great.

Now, sorry for been THAT GUY but i found a new problem: i did a few changes with the alt color and BTT closed.

Every time i try to select the button the app exits. Doesn't happens with other buttons.

Here is the log:

Successfully reset ListenEvent approval status for com.hegenberg.BetterTouchTool
Successfully reset PostEvent approval status for com.hegenberg.BetterTouchTool
2022-07-06 22:37:08.709 BetterTouchTool[60407:564351] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to insert non-property list object null for key BTTStreamDeckAlternateLastUsedBackground'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001ba835198 __exceptionPreprocess + 240
	1   libobjc.A.dylib                     0x00000001ba57fe04 objc_exception_throw + 60
	2   CoreFoundation                      0x00000001ba90716c -[__NSCFString characterAtIndex:].cold.1 + 0
	3   CoreFoundation                      0x00000001ba85ae90 _CFPrefsValidateValueForKey + 256
	4   CoreFoundation                      0x00000001ba774d28 createDeepCopyOfValueForKey + 180
	5   CoreFoundation                      0x00000001ba774a08 -[CFPrefsSource setValues:forKeys:count:copyValues:removeValuesForKeys:count:from:] + 344
	6   CoreFoundation                      0x00000001ba7bb6d4 -[CFPrefsSource setValue:forKey:from:] + 72
	7   CoreFoundation                      0x00000001ba7bb5fc __76-[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:]_block_invoke + 60
	8   CoreFoundation                      0x00000001ba75eb50 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 384
	9   CoreFoundation                      0x00000001ba8d3394 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
	10  CoreFoundation                      0x00000001ba7bb598 -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 128
	11  CoreFoundation                      0x00000001ba7bb4d8 _CFPreferencesSetAppValueWithContainerAndConfiguration + 136
	12  Foundation                          0x00000001bb6a778c -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 84
	13  BetterTouchTool                     0x000000010244f2d4 +[BTTFormConfigStreamDeck loadDefaultsIntoDictionary:] + 3160
	14  BetterTouchTool                     0x000000010244765c __55+[BTTFormConfigStreamDeck streamDeckShellScriptWidget:]_block_invoke_3 + 732
	15  BetterTouchTool                     0x0000000102499a44 -[BTTFormService reloadValuesForTrigger:] + 1460
	16  BetterTouchTool                     0x0000000102499480 -[BTTFormService reloadValues] + 60
	17  BetterTouchTool                     0x000000010249a8b4 -[BTTFormService loadFormForTrigger:showActionConfig:] + 628
	18  BetterTouchTool                     0x000000010249bde4 -[BTTFormService forceReloadConfigurationForCurrentSelectionWithoutDebounce] + 1736
	19  BetterTouchTool                     0x00000001024c1400 __24-[BTTLevel1VC debounced]_block_invoke + 2380
	20  libdispatch.dylib                   0x00000001ba5225f0 _dispatch_call_block_and_release + 32
	21  libdispatch.dylib                   0x00000001ba5241b4 _dispatch_client_callout + 20
	22  libdispatch.dylib                   0x00000001ba5326cc _dispatch_main_queue_drain + 928
	23  libdispatch.dylib                   0x00000001ba53231c _dispatch_main_queue_callback_4CF + 44
	24  CoreFoundation                      0x00000001ba7f6a1c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
	25  CoreFoundation                      0x00000001ba7b3ca8 __CFRunLoopRun + 2532
	26  CoreFoundation                      0x00000001ba7b2b24 CFRunLoopRunSpecific + 600
	27  HIToolbox                           0x00000001c33eb338 RunCurrentEventLoopInMode + 292
	28  HIToolbox                           0x00000001c33eafc4 ReceiveNextEventCommon + 324
	29  HIToolbox                           0x00000001c33eae68 _BlockUntilNextEventMatchingListInModeWithFilter + 72
	30  AppKit                              0x00000001bd31978c _DPSNextEvent + 860
	31  AppKit                              0x00000001bd318084 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
	32  AppKit                              0x00000001bd30a250 -[NSApplication run] + 596
	33  AppKit                              0x00000001bd2db96c NSApplicationMain + 1132
	34  dyld                                0x0000000103be508c start + 520
)
libc++abi: terminating with uncaught exception of type NSException

Thanks a lot! This will be fixed today.