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?