Request Widget: "Menubar Button"

I'm hunting down some power efficiency issues with AQT and one of them is my highlighting menubar buttons.

These activate an item in the menubar and check its status, weather it's "checked" or "unchecked":

They are quite performance costly:

I'd greatly appreciate if a widget could be made that does the same thing through more efficient means if possible...

Applescript Code:

try
	tell application "System Events"
		tell application process "Preview"
			--return UI elements of menu 1 of menu bar item "Format" of menu bar 1
			set state to value of attribute "AXMenuItemMarkChar" of menu item "Thumbnails" of menu "View" of menu bar item "View" of menu bar 1
			
			if state is "✓" then
				return "✓"
			else
				return " "
			end if
		end tell
	end tell
on error
	return " "
end try

Widget JSON:

[
  {
    "BTTWidgetName" : "Thumbnails (With Indicator)",
    "BTTTriggerType" : 639,
    "BTTTriggerTypeDescription" : "Apple Script Widget",
    "BTTTriggerClass" : "BTTTriggerTypeTouchBar",
    "BTTPredefinedActionType" : -1,
    "BTTPredefinedActionName" : "No Action",
    "BTTAutoAdaptActionToKeyboardLayout" : true,
    "BTTShortcutToSend" : "58,55,19",
    "BTTEnabled2" : 1,
    "BTTAlternateModifierKeys" : 0,
    "BTTUUID" : "96357948-7775-4954-967E-A232E5B67B0F",
    "BTTNotesInsteadOfDescription" : 0,
    "BTTEnabled" : 1,
    "BTTModifierMode" : 0,
    "BTTOrder" : 4,
    "BTTDisplayOrder" : 3,
    "BTTMergeIntoTouchBarGroups" : 0,
    "BTTIconData" : "TU0AKgAAFKj_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_AP8A_wD_A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HEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W3hzeot8p36_gNuC94UThzOJT4tvjY+Pr5HPk_OWE5g3mlucf56noMui86Ubp0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx__KM8xnzp_Q09ML1UPXe9m32+_eK+Bn4qPk4+cf6V_rn+3f8B_yY_Sn9uv5L_tz_bf__",
    "BTTTriggerConfig" : {
      "BTTTouchBarButtonColor" : "59.000000, 59.000000, 59.000000, 255.000000",
      "BTTTouchBarItemIconWidth" : 30,
      "BTTTouchBarButtonTextAlignment" : 0,
      "BTTTouchBarItemPlacement" : 1,
      "BTTTouchBarButtonFontSize" : 15,
      "BTTTouchBarButtonCornerRadius" : 0,
      "BTTTouchBarColorRegex" : "^✓",
      "BTTTouchBarAlwaysShowButton" : false,
      "BTTTBWidgetWidth" : 400,
      "BTTTouchBarAppleScriptStringRunOnInit" : true,
      "BTTTouchBarAppleScriptString" : "try\r\ttell application \"System Events\"\r\t\ttell application process \"Preview\"\r\t\t\t--return UI elements of menu 1 of menu bar item \"Format\" of menu bar 1\r\t\t\tset state to value of attribute \"AXMenuItemMarkChar\" of menu item \"Thumbnails\" of menu \"View\" of menu bar item \"View\" of menu bar 1\r\t\t\t\r\t\t\tif state is \"✓\" then\r\t\t\t\treturn \"✓\"\r\t\t\telse\r\t\t\t\treturn \" \"\r\t\t\tend if\r\t\tend tell\r\tend tell\ron error\r\treturn \" \"\rend try",
      "BTTTouchBarAlternateBackgroundColor" : "128.829533, 128.829533, 128.829533, 255.000000",
      "BTTTouchBarScriptUpdateInterval" : 0.5,
      "BTTTouchBarButtonWidth" : 100,
      "BTTTouchBarAppleScriptUsePath" : 0,
      "BTTTouchBarFreeSpaceAfterButton" : 1,
      "BTTTouchBarOnlyShowIcon" : true,
      "BTTTouchBarItemIconHeight" : 30,
      "BTTTouchBarItemPadding" : -10
    }
  }
]

thanks a heap!

Imprint | Privacy Policy