Type Into| Type Secure Text | Send Hotkey Activity

Type Into Activity -:

Before learning these activities you have to know the below definition.

What are keystrokes?

keystroke is a single press of a key on a keyboard.

Each key press is a keystroke.

Type Into Activity -:

It sends the keystrokes to a UI element. i.e, It will type the string or string variable that we are passing in the text property field.

Input properties -:

Text -: In this field, we will specify which text has to be entered in a specific UI element.

After entering the text if we need to enter any special keys we can do that by simply clicking on the + icon in the activity and select the required special key.

Optional properties -:

These properties are same for every activity in UiPath.

SimulateType -:

By default, this check box is not selected. If selected, it simulates the type and completes the type if the targeted application is in the background. This property is the fastest to work in the background.

SendWindowMessages -:

By default, this checkbox is not selected. If selected, it also completes the type if the targeted application is in the background. But this property is slow when compared with SimulateType.

We have to select either SimulateType or SendWindowMessages property because the two properties are the same but differ in speed.

DelayBetweenKeys -:

It offers delay time(milli seconds) between two keystrokes.

The default amount of delay time is 10 milliseconds and the maximum delay time is about 1000 milliseconds.

ClickBeforeTyping -:

By default, this checkbox is not selected. If you select this checkbox to true then it will click the specified UI element before typing.

EmptyField -:

By default, this checkbox is not selected. If you select this checkbox to true then it will erase all the data that is present in the UI element before typing.

Activate -:

By default, this checkbox is not selected. If you select this checkbox to true then it will get the specified UI element application to the foreground before typing anything.

Common Properties -:

These properties are same to every activity in uipath.

Display Name -:

This property allows us to name every activity in the workflow. This helps us to know which activity currently we are in the workflow.

DelayAfter -:

This property allows delay time(milliseconds) after executing the activity.

The default delay time is about 300 milliseconds.

DelayBefore -:

This allows delay time(milliseconds) before executing the activity.

The default delay time is about 200 milliseconds.

ContinueOnError -:

By default, this property is not selected. If selected, it continues the automation should continue even when the activity throws an error.

This property only supports Boolean values.

Type Secure Text Activity -:

This activity sends a secure text string to the specified UI element.

Input Properties -:

SecureText -:

The Secure Text that need to be written in the specified UI element.

How to create a secure String variable?

  • Create a variable and select the data type as SecureString.
  • Now New System.Net.NetworkCredential(String.Empty, “Aditya Learnings”).SecurePassword assigns this to the SecureString variable.
  • If we enter this SecureString Variable in WriteLine Activity or MessageBox Activity then it shows System.Security.SecureString.
  • If you want to see the secure string then change New System.Net.NetworkCredential(String.Empty, “Aditya Learnings”).SecurePassword to New System.Net.NetworkCredential(String.Empty, “Aditya Learnings”).Password

Optional Properties -:

These are the same properties in every activity learn here.

Common Properties -:

These are also same in every activity. Learn them from top of the page.

Send Hotkey Activity -:

It sends Keyboard shortcuts to UI elements.

Input Properties -:

Key -:

The key or key combination that compose the hotkey that is sent to the application.

Optional Properties -:

SpecialKey -:

Indicates which keyboard shortcut keys you are using in the list of shortcut keys the activity is providing.

All other properties are same to every activity. Please refer above.

KeyModifiers -:

It enables you to add a key modifier.

The available key modifiers are -:

  • Alt
  • Ctrl
  • Win
  • Shift

All the remaining properties are the same for all activities. Please refer above.

Common Properties -:

All these properties are same to all activities. Please refer above.

That’s it for Type Into Activity, Type Secure Text Activity and Send Hotkey Activity.

Happy Learning!

Like this post then let your friends know about this-:

Leave a Reply

Your email address will not be published. Required fields are marked *