RPA-Blueprism - Global Send Keys - Input text which has '(' is not working

Siddu Kalligudd picture Siddu Kalligudd · Mar 16, 2018 · Viewed 9.5k times · Source

RPA-Blueprism - Global Send Keys - Input text which has '(' is not working. Only the text gets entered without brackets, please assist. Ex: 'Paste (Text)' is the text I want to send, however the text is sent to the field as 'Paste Text'

Answer

ICTylor picture ICTylor · May 4, 2018

Global Send Keys internally uses System.Windows.Forms.SendKeys so characters like braces or parentheses must be escaped.

One way of doing it is using a Calculation stage with several Replace instructions, replacing the problematic characters with the escaped version.

For more information about System.Windows.Forms.SendKeys check the following MSDN link https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys(v=vs.110).aspx