Skip to main content
Question

I have created a bot where it opens a word file and by using Simulate keystrokes it opens the find and replace search bar, now my query is how do I set text in the find textbox and replace it with something else. I Tried Universal rec but it throws i

  • March 3, 2022
  • 1 reply
  • 36 views

I have created a bot where it opens a word file and by using Simulate keystrokes it opens the find and replace search bar, now my query is how do I set text in the find textbox and replace it with something else. I Tried Universal rec but it throws issue.

1 reply

Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • March 3, 2022

Hi @Pratiksha Bari​ ,

 

The Word Action Package has a Replace Action that you can take advantage of, which works in background.

 

Imagine the Text you wanted to replace was '$TextToBeReplace$'

 

imageI've added two Dollar Signs to each end in order to Escape it.

Automation Anywhere interprets dollar signs as variable initializations, which is why it is necessary to escape them if you want it to be considered as a part of the actual text.

 

Could you try that and let us know if it works out for you?

 

Kind Regards,

Ashwin A.K


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings