Actions GetWidgetAttribute - thica/ORCA-Remote GitHub Wiki

getwidgetattribute

Gets some attributes of widgets

Attribute Description
string getwidgetattribute
widgetname Name of the widget, which attribute should be returned
attributename Name of the attribute to return. You can get the following attributes:
  • 'bold': Get the "bold" attribute of a font (0/1)
  • 'italic': Get the "italic" attribute of a font (0/1)
  • 'textcolor': Gets the text color (hex RGBA)
  • 'fontsize': Gets the font size of text
  • 'caption': Gets the caption of text
  • 'enabled': Gets the Enable/Disable attribute of a widget (0/1)
  • 'picturenormal': Gets the picture name of a BUTTON or PICTURE.
  • 'picturepressed': Gets the pressed picture name of a BUTTON.
  • 'color': Gets the background color (hex RGBA), (RECTANGLE, CIRCLE only)
  • 'transparency': Gets the transparency of a widget
  • 'action': Gets the action of a widget
  • 'startangle': For Circles: Gets the start angle of the circe
  • 'endangle': For Circles: Gets the end angle of the circe
  • 'exists': Returns, if the widget exists (0/1)
retvar the varname, which should hold the return value
ignoremissing Dont raise an error if widget is missing
touchtype For action attribute: the touch type of the action
  • (nothing = Standard action)
  • Other options are 'double', 'up', 'down'
A short example:
⚠️ **GitHub.com Fallback** ⚠️