Skip to main content

Interfaces

Launch an interface (an app) by calling it by it’s identifier. Running the line below would launch the Maps app.
You can select a portal (window) and route (tab) by following the app identifier with -#-# where the first number is the portal and the second number is the route of the portal. The numbers are indexes of the objects in array so they start at 0. The below code will launch the third portal of the Notes app (to create). If the portal or route is out-of-bounds (or does not exist) nothing will happen.

Elements and Inputs

You can select specific elements in a portal and route in UI automation by using an elements handle. Use an HTML attribute ‘handle’ and the value provided therein is the elements identifier to be used in the Standard UI automation code.

Shortcuts

You can call shortcuts for UI automation by simply writing the shortcut as it is executed without the plus sign. The below code will trigger CTRL + A (select all).