How to get character left and rigth from insertionpoint [js-CS6]?
couldn't moved further this:
var aa = app.selection[0].insertionpoints[0].words[0];
can't ideas, how use in line command "charat"...
index = app.selection[0].insertionpoints[0].index;
charleftofcursor = app.selection[0].parentstory.characters[index-1];
charrightofcursor = app.selection[0].parentstory.characters[index];
peter
More discussions in InDesign Scripting
adobe
Comments
Post a Comment