4 Replies Latest reply on Nov 12, 2010 12:37 PM by dsackett

    How to get the y of the insertionPoint


      I'm getting started with scripting with a little project to make a pull quote. It's well enough along to grab the selected text, plunk into a properly sized text frame in the middle of the page & apply object/paragraph styles, but I'd like the script to put the textbox somewhat near the quote vertically on the page. Seems like the selection or insertionPoint objects would have this info, but I haven't quite gotten the hang of the object model browser & haven't found it. I could probably work around my ignorance by putting a dummy anchored textbox, getting its coordinates and deleting it, but there must be a better way. Any nudges will be much appreciated.