Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Re: How to change the order of two sets of words

$
0
0

Hi, try this

 

app.findGrepPreferences = app.changeGrepPreferences = null;

app.findGrepPreferences.findWhat = "(Construction) of (word1 word2 word3), (Construction) of (word4 word5)";

app.changeGrepPreferences.changeTo = "$2 $1, $4 $3";

app.selection[0].changeGrep();

app.findGrepPreferences = app.changeGrepPreferences = null;

 

or

 

app.findGrepPreferences = app.changeGrepPreferences = null;

app.findGrepPreferences.findWhat = "(Construction) of (word1 word2 word3), (Construction) of (word4 word5)";

app.changeGrepPreferences.changeTo = "$2机场建设, $4机场建设";

app.selection[0].changeGrep();

app.findGrepPreferences = app.changeGrepPreferences = null;

 

will that help?

 

John White


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>