Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Change script function

$
0
0

Hi everyone

 

I use this script:

 

app.selection[0].contents=”[undefine]”;

app.selection[0].underline=true;

 

to change whatever I selected

01.png

change to [undefine], then make it underline.

 

02.png

 

but:

 

if I add the
[undefine] into inserpoint,

 

3.jpg

the comeout will not underline.

 

4.jpg

 

 

 

Can someone help me to change the functions:

 

not matter the
selection or inserpoint I want to get the [undefine] with underline.

 

thanks

Regard

 

Teetan


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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