Skip to main content

CODE ID

Use CODE ID to grab the identifier from another button using a name.


FORMAT: CODE ID "button_name"


DEFINITIONS:

  • button_name: A string with the name of a button in the code input window.

EXAMPLE 1

$id = CODE ID "Kobe Bryant"

Obtains the identifier of the button with the name "Kobe Bryant". The identifier is stored in the variable $id which can be used as you wish in your script.

EXAMPLE 2

$id = CODE ID "Kobe Bryant" IN WINDOW "Lakers"

Obtains the identifier of the button with the name "Kobe Bryant" from the window called "Kobe Bryant". The identifier is stored in the variable $id which can be used as you wish in your script.