Control information (Win32 Application)
Action section (Win32 Application)
Overview
To simplify scripting, we created the Application XRay tool. This tool is included with all installations of the Login Enterprise Virtual Appliance and is part of the scripting toolset ZIP file available for download in the Applications overview. The features described in this article are based on the Login Enterprise version 4.1 and later. The article details all functions of Application XRay available on the Win32 Application tab.
For instructions on downloading and installing the scripting prerequisites, see Installing Application scripting prerequisites.
Starting the Application XRay
To start the Application XRay, navigate to the ".\scriptingstoolset\ApplicationXray\" folder and launch ApplicationXRay.exe. When you start the Application XRay, the following window will appear:
Crosshair button
In the top left corner of the application is the Crosshair Button. Clicking this button will turn it green. Once activated, you can hover over applications, buttons, or other elements you wish to interact with. This feature is usable in both Win32 and web browsers.
Win32 Application
By default, the application opens on the Win32 Application tab. The first section includes the following items:
-
Commandline
- Defines the executable file location. You can pre-define the location of the executable, working folder, and title of the application you wish to start. Alternatively, you can start the application yourself, and Application XRay will auto-fill this information once activated.
-
Working folder
- Specifies the folder where the file can be found.
-
Title
- Displays the title of the application.
-
Class
-
Shows the class name of the window.
-
-
Process name
-
Displays the name and ID of the process associated with the window/application.
-
-
Start / Select
- After filling in the command line and other values, click Start to launch the application using Application XRay. When you click the target button and hover over an open application, the button will change to Select.
Control information (Win32 Application)
Below the Win32 Application section, you will find the Control Information. In applications, controls typically include text fields, buttons, table fields, and other elements that comprise the user interface. The items displayed are:
-
Class
- Indicates the class of the control.
-
Title
-
Displays the title of the control.
-
-
From Tree
- This button appears when a control within an application is selected. Clicking it opens a new window displaying the complete process/object tree of the application. This feature is useful when certain buttons cannot be located by hovering over them but can still be identified within the application.
-
- You can browse through the list to find your preferred object. The selected object will be highlighted in the application for easy identification. Once you locate the desired object, click Select to use it in Application XRay.
Action section (Win32 Application)
The Action section allows you to define, test, and copy the selected command for use in your script.
-
Action Dropdown
- Allows you to select your preferred action. For more information on available functions, see the Scripting functions.
-
Execute
- Executes the selected action on the chosen window/control with the corresponding defined action.
-
To Clipboard
-
Copies the string defined in the Code Snippet section to the clipboard.
-
-
Copy execute to clipboard
-
This checkbox enables automatic copying of all executed actions.
-
-
Code Snippet
-
Displays the code string, which is a combination of the preferred action and the selected object.
-