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

Re: Can you fix scripts problem?

$
0
0

Hi

 

if I can change this line

 

07.else if(app.selection.length == 1 && app.selection[0].hasOwnProperty( “baseline” ))

 

into:

 

        myParas = doc && app.selection.length && app.selection[0].hasOwnProperty('paragraphs') && app.selection[0].paragraphs.everyItem ().getElements ().slice(0)     //I copy from somewhere

 

and make it hapen?


Viewing all articles
Browse latest Browse all 142955

Trending Articles