I'm trying to select a paragraph as follows:
select paragraph paragraphIndex of text frame textFrameIndex of page pageIndex
the selection is successful, but I want to display such selection in the middle of my screen as well. Currently, the screen displays the part of the document as it was before executing the script. The genetic function I try to mimic here is find & replace, as it can select and track at the same time.
Any idea to put a certain part of a document to the middle of the display? Thanks!
any one knows?
layoutWindows' zoomPercentage focusses to a selection.
app.activeWindow.zoomPercentage = 1000
you've got to turn it to AS ;-)
aha, that's also the way I figured out finally~ thank you so much for your help hans~