Democratizing RPA with Power Automate Desktop by Peter Krause

Democratizing RPA with Power Automate Desktop by Peter Krause

Author:Peter Krause
Language: eng
Format: epub
Publisher: Packt
Published: 2023-01-15T00:00:00+00:00


Operating computer peripherals

The actions presented in this section complete the capabilities of PAD to manage workstations by simulating an operation or, of course, to cover other use cases. The following components can be controlled and can be found as action groups:

The workstation itself and connected printers

The mouse and keyboard

The clipboard

With these action groups, it is possible to simulate complete user sessions by moving the mouse or pressing keystrokes.

This can also be helpful, for example, when none of the previously discussed options (UI elements or images) are available to communicate with an application. Maybe we are not able to capture UI elements, but then we can still navigate the mouse to specific positions and send clicks or even keys.

However, at this point, we have to be very precise, and this is for the following reason. We will see in this example that the Send mouse click action works with the X and Y coordinates of the screen. This means that the mouse is guided exactly to these coordinates, and then the click is triggered. This will work until the screen resolution of the local machine is eventually changed or the flow is run on another machine with a different resolution. The same coordinates then lead to a completely different location, so the flow no longer works properly. The relationship is shown in the following diagram:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.