I'm running into a possible bug and hoping that someone can point me towards a workaround or solution while not having to disable "Send Text as Hardware Keys". I might be missing something obvious, but I have scoured forums and documentation and am at a loss.
With Send Text as Hardware Keys enabled, it returns the following text:
John {(}(}Bob{)}
With Send Text as Hardware Keys disabled, it returns the expected result:
John (Bob) Doe
Steps to replicate:
1. Set new variable %FullName% with text 'John (Bob) Doe'
2. Focus window 'Untitled - Notepad'
3. Send Keys %FullName% to the foreground window
-In this step, enable "Send Text as Hardware Keys"
Error Location: Subflow: Main, Action: 3, Action name: Send keys
Error Message: There isn't an active application to send keystrokes to.
Error Details:
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: There isn't an active application to send keystrokes to. ---> System.InvalidOperationException: Stack empty.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.MouseAndKeyboard.CommonKeyboardActions.SendKeystrokes(String textToSend, Int32 delayBetweenKeystrokes, Boolean sendTextAsHardwareKeys)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.MouseAndKeyboard.Actions.SendKeys.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)