Subscribe

UiPath Studio

The UiPath Studio Guide

Example of using Mouse and Keyboard Automation

To exemplify the automation of a process by using activities that simulate mouse and keyboard input, we created an automation that displays the IP address, subnet mask, and default gateway for all adapters from the Command Prompt, by using the ipconfig command and actions similar to human ones:

  1. Create a new Sequence.
  2. Add a Click activity to the Designer panel.
  3. Select the activity, click the Indicate on screen button and click the Start button.
284
  1. Add a Type Into activity under the previously added one.
  2. Select the activity, and in the Text field, write cmd.
438
  1. Add a Send Hotkey activity under the previously added one.
  2. Select the activity and, from the drop-down menu choose enter.
434
  1. Add another Type Into activity under the previously added one.
  2. Select the activity, and into the Text field, write ipconfig.
338
  1. Add another Send Hotkey activity under the previously added one.
  2. Select the activity, and from the drop-down menu select the enter key.
284
  1. Press F5. The automation is executed. The IP address, subnet mask and default gateway for all adapters are displayed in the Command Prompt.

Download example

Updated 3 years ago


Example of using Mouse and Keyboard Automation


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.