Please help me to correct my script
I use this script which copy from the adobe forum:
app.findGrepPreferences.findWhat = "\\r";
app.changeGrepPreferences.changeTo = "\\r\\r";
app.findGrepPreferences = app.changeGrepPreferences = null;
to change my return one to two, but it will always change all my document,
How can I tell the script I only want to change the slection?
notice the syntax ==> target.changeGrep()
if target is app ==> it executes across whole app means each doc opened
if target is doc ==> it executes across entire doc
it can be called for textFrame, story, paragraph..., any text object.
In your case use
or iterate through selection and call
Thank you Jump_Over!