Important! Read this.

We have launched a new documentation website. If you're using Enterpise Edition 10 (or higher) or Express/Business Edition 2.4.1 (or higher), visit this page.

Skip to end of metadata
Go to start of metadata

We have moved to a new documentation platform. This section is no longer supported. For the up-to-date information, see Application.

The Application action group provides possibilities to manage and switch active windows which Bot is interacting with (clicking, typing, scrolling, etc.).

To view the windows currently open in your system, hold ALT + TAB. The list of windows appears on your desktop.

Actions LibraryAction Description

Launch Application

The Launch Application action is intended for opening a specific application and switching to it (make its window active, in focus). This action is not recorded automatically and can be added only when editing your automation workflow.

The Launch Application action is a more stable and uniform way of opening an application than clicking a desktop/toolbar icon, or opening the start menu and typing the application name.


  • Executable file or command – specifies the path to the executable file of the program to open. You can enter the path manually or click select file and browse to it in the file explorer.

    How to launch an application with parameters

    C:\Program Files (x86)\Microsoft Office\root\Office16\excel.exe

    To open a file, enter the path to the executable file of the program and then, with a space after it, add the path to your file. It works exactly as when you use the Run commands in Windows to quickly access tools and tasks.

    How to launch a specific file

    C:\Program Files (x86)\Microsoft Office\root\Office16\excel.exe C:\Users\username\Documents\Numbers.xlsx


    If you intend to publish your recording in Control Tower as a Bot Task, escape each slash character before publishing. It is done to avoid problems when the path contains the Space characters.


    WorkFusion Studio:

    C:\Program Files (x86)\Microsoft Office\root\Office16\excel.exe

    Control Tower:

    C:\\Program Files (x86)\\Microsoft Office\\root\\Office16\\excel.exe

  • Autodetect window – if enabled, Bot automatically switches to the newly opened application window, and there is no need to add a separate Window action. If you disable this option, add the Window action after the Launch Application action.
  • Advanced – is used to set a delay type.


The Window action is recorded as a root element containing other actions performed in that window. This helps users observe the overall recording structure and understand where actions actually belong to.

Moreover, the Window action also sets the specified window active even if other applications try to intercept the focus (notification windows, updates, push notifications), thus ensuring automation stability.


  • Mode – specifies the way to select the window.

    • Select an open window – selects the application window. If the window you need is not in the list, click Refresh.

      All applications with open windows are displayed in the list as Window Title - Window Class in the Options section. Since some windows do not have titles, Window Class can be used as a selector.

      Sometimes, there could be no open window with the title you specified. To automate such cases, use the Exception Handling block.

    • Enter window title or part of title – Bot searches for a window which has the following string as a part of its title, and, if found, switches to that window. This option is useful for browser automation where some part of the window title can be changed depending on the page content.
    • Enter window selector from Inspector – Bot locates a needed window by its unique selector. To learn how to get window selectors, refer to Inspector. Mind that you can access Inspector directly on the Window action screen by clicking Open Inspector to get window selector.

  • Output > Put search result into variable – the variable contains the window search results (returns true if window found, otherwise false – only Boolean variables appear in this list).
  • Timeout > Switch window timeout XX milliseconds – sets the maximum time to wait for a window to be switched.

    You can adjust the time to switch to the selected window in Recorder Preferences to minimize the waiting time. Though, avoid setting too short waiting time, as WorkFusion Studio may fail to play the recording correctly.

Get Window Title

The action gets the current window title and sets it to a variable. The variable should have a String type.


To make sure the focus is on the right window, use Get Window Title within the Window action.

 See Actions Flow

Maximize / Minimize Window

The actions are used to maximize and minimize the current  window accordingly.

  • Maximize Window allows to ensure that all UI controls are displayed the same way each time.
  • Minimize Window is used if you do not want to close the current window, though there is no need in it on the screen.


To make sure the focus is on the right window, use Maximize Window / Minimize Window within the Window action.

 See Actions Flow

Close Window

The action closes the currently open window (similar to ALT + F4).


To make sure the focus is on the right window, use Close Window within the Window action. See Actions Flow in Maximize / Minimize Window for more details.

Another window becomes active after the Close Window action is executed.

  • No labels