@guy038 said in Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro:
Hello, @b-sethi24, @alan-kilborn and All,
Strange ! No answer regarding my assertion / question !
Cheers,
guy038
I think you may have understood the original question differently than @Alan-Kilborn did. I made a similar interpretation at first, until I tried to figure out why Alan thought it wasn’t doable, when I original did. Re-reading the original post, I determined the key point was “Pasting in ReplaceWith field”.
At first, like you, I thought @B-Sethi24 just wanted to paste the bookmarked lines in the document – in which case, the macro you showed would work.
But if they really want to paste it into the REPLACE WITH field, with all the options available in the dialog box (including regex processing on the REPLACE WITH value), that cannot be done. (For example, if the line ${1} to ${10} were bookmarked, and they wanted to use that as the REPLACE WITH in a regex replacement.)
Since @B-Sethi24 hasn’t come back since, I doubt we’ll get clarification anytime soon.