Escaping special character square brackets "[" and "]"

Hello Expert,

I would like to type one sentence in notepad, this sentence includes special character “[“ and “]”. UiPath always ignore the information within “[“ and “]”.
For example, I would like to type “V[DOCNO]” into one notepad like this:


Then UiPath behavior is like this, missing the content between “[” and “]”.
2
Any suggestion to solve this issue?

Thanks.

Hi @Cherry_Zhu,

In Type into activity can you use simulate type as the input method

Hello @anil5,

Thanks for the quick feedback, and it tested successfully in notepad.

But actually I want to type into cmd file, then it doesn’t work. It types into the title position (position 1), not in the mouse position (position 2). See picture:

Is it because the “Simulate Type” works in the background? Any suggestion?

Thanks.

With Type you need to double the opening square bracket. Otherwise it’s being interpreted as a special key sequence.

2 Likes

Hello @c.ciprian,
Thank you. This is exactly the solution.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.