Replace the Coordinates in Rational Robot scripts with Jedit Regex

I have a problem with Rational Robot sometimes. For every object it deals with it puts coordinates. If you click in edit box it creates coordinates where you clicked it. A lot of times I want to standarize playback where I don’t care where Robot clicks my objects. I just want it to set focus. In those times I use regex to change the entire string that denotes coordinates.
 
I usually use jedit and it’s search and replace all functionality. I open all the .rec files I need to modify strings and load them in buffers. Then I run search and replace all using string "[0-9]{1,3},[ ]{0,1}[0-9]{1,3}" including quotes. Then I save all files.
 
It’s done.

close Reblog this comment
blog comments powered by Disqus