Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

App Integration package

  • Updated: 9/21/2021
    • Automation 360 v.x
    • Build
    • RPA Workspace

App Integration package

Extract text from a window and save it to a string variable by using the actions in the App Integration package.

The App Integration package supports the following technologies:

  • UNIX shells, such as Cygwin, PowerShell, and GIT shell
  • Windows applications, such as Calculator, Command Prompt, and Notepad
  • Java applications that are based on the Standard Widget Toolkit and Abstract Window Toolkit, which can draw text using Windows text-drawing APIs
The actions in the App Integration package are based on legacy technology and have certain limitations on specific applications. To seamlessly obtain data from applications and browsers, use the Recorder package.

Building bots with actions from the App Integration package

  1. Open the application or file from which you want to capture the text using the Application > Open program/file action.

    Application package

  2. Extract the text using one of the actions from the App Integration package.
  3. Use any of the following actions from the String package to manipulate the captured text:
    • Extract text: Extracts text from the source string using logical operators.
    • Split: Splits the string into multiple strings and stores the output in a list variable.
    • Trim: Trims blanks and white spaces from a string.

    String package

Actions in the App Integration package

The App Integration package includes the following actions:

Action Description
Capture area Extracts text from within the captured area of a window and saves it to a string variable.
  • In the Window field, select an option: Choose from the Application, Browser, or Variable tab.
    • Application: Select from a list of windows, including browser windows, that are currently open on the Bot Creator device.
    • Browser: Select from a list of Google Chrome tabs.
    • Variable: Select an existing window variable to specify the title of the application window title.
  • Insert a wildcard character (*) in the Window title field to search for window titles that can change.

    You can use a regular expression (regex) to identify a window title. Select the regular expression either as a String or Pattern for each regular expression condition and enter the value. By default, the Window title field is case-sensitive. You can enable Case insensitive regex flag to identify a window title that is not case-sensitive.

    For example, you can enter the String value as ((\w*)-Notepad for all the window title names starting with ((\w*)-Notepad, or use Pattern such as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

  • Optional: Select the Resize window option to specify the window dimensions.

    This option delivers a more reliable bot. It resizes the window to the dimensions at which the task was recorded, which enhances the bot's ability to identify the target object.

  • Click Capture region and select the area to capture.
  • In the Save captured text to a variable field, select a string variable.
Capture scrollable text Captures scrollable text from the specified window.
  • In the Window field, select an option: Choose from the Application, Browser, or Variable tab.
    • Application: Select from a list of windows, including browser windows, that are currently open on the Bot Creator device.
    • Browser: Select from a list of Google Chrome tabs.
    • Variable: Select an existing window variable to specify the title of the application window title.
  • Insert a wildcard character (*) in the Window title field to search for window titles that can change.

    You can use a regular expression (regex) to identify a window title. Select the regular expression either as a String or Pattern for each regular expression condition and enter the value. By default, the Window title field is case-sensitive. You can enable Case insensitive regex flag to identify a window title that is not case-sensitive.

    For example, you can enter the String value as ((\w*)-Notepad for all the window title names starting with ((\w*)-Notepad, or use Pattern such as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

  • Optional: Select the Resize window option to specify the window dimensions.

    This option delivers a more reliable bot. It resizes the window to the dimensions at which the task was recorded, which enhances the bot's ability to identify the target object.

  • Click Capture coordinate to capture the coordinates of the window or a specific control within the window.
  • In the Save captured text to a variable field, select a string variable.
Note: The PowerBuilder application is currently not supported.
Capture text of window Extracts all the text from a window and saves it to a string variable.
  • In the Window field, select an option: Choose from the Application, Browser, or Variable tab.
    • Application: Select from a list of windows, including browser windows, that are currently open on the Bot Creator device.
    • Browser: Select from a list of Google Chrome tabs.
    • Variable: Select an existing window variable to specify the title of the application window title.
  • Optional: Select the Resize window option to specify the window dimensions.

    This option delivers a more reliable bot. It resizes the window to the dimensions at which the task was recorded, which enhances the bot's ability to identify the target object.

  • In the Save captured text to a variable field, select a string variable.
Send Feedback