getLabelText

Gets the current or original lable text for a control.

Parameters

  1. controlId - Id of the control

  2. getDefault - (optional) If set to true, the default label text will be returned

const defaultText = app.getLabelText("myControl", true);

Last updated