I need some help using type into activity for string

Hi @harsh2

To handle text that contains multiple lines and special characters in an automation process in UiPath, you can use a few approaches to ensure that the content is typed correctly in the target application.

Here are a few tips that may help:

1. Use the “Set Text” Activity:

If the field you are trying to insert text into allows direct input (e.g. a text field in an application window), you can use the Set Text activity instead of Type Into. The Set Text activity inserts the value directly, without the need to simulate typing, which avoids issues with special characters and multiple lines.

2. Use “Type Into” with Appropriate Options:

If the field does not support the use of Set Text and you need to use Type Into, make sure to enable the SendWindowMessages or SimulateType options. These options are designed to ensure that UiPath can type the text correctly, even when there are special characters or multiple lines involved.