Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: How to select text of child element of graphic element(adobeinDesign)using applescript or Javascript

$
0
0

hi andreas,

 

inline-graphic xml elements have only one child xml element  alt-text .

 

in this case , i am write code as,

 

allImageParaXmlElements = app.activeDocument.xmlElements[0].evaluateXPathExpression('//inline-g raphic/alt-text');

 

allImageParaXmlElements[allImageParaXmlElements.length-1].select(); // Select the last of the para elements found

it causes error !!!!!!!!!!!!!!!...........

 

Regrads,

Suripappu


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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