Article View: adobe.scripting.indesign
Article #636Re: How to get the insertionPoint at (x, y)?
From: Dave_Saunders
Date: Wed, 11 Mar 2009 00:38
Date: Wed, 11 Mar 2009 00:38
5 lines
946 bytes
946 bytes
To take your request completely literally, you can measure the position of your current insertion point (by getting the horizontal offset and baseline), then move the containing text frame by the appropriate amount (x - x0, y - y0) where x0 and y0 are where the insertion point is before the move. But I don't think that's quite what you want. Dave
Technical Details
Message-ID:
<59b82907.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b82907.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,33cd5e30c7acbba8 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: How to get the insertionPoint at (x, y)? Message-ID: <59b82907.3@webcrossing.la2eafNXanI> Date: Tue, 10 Mar 2009 17:38:39 -0700 References: <59b82907.-1@webcrossing.la2eafNXanI> Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit