Article View: adobe.scripting.indesign
Article #1761Re: How Do I Rotate Content, Not the Frame
From: Achy_Fakey
Date: Fri, 23 Jan 2009 18:36
Date: Fri, 23 Jan 2009 18:36
25 lines
1744 bytes
1744 bytes
Your definitions are what I would expect, but for me, applying each version as one of these two separate scripts: 1) tell application "InDesign CS" activate set rotation angle of selection to 10 end tell 2) tell application "InDesign CS" activate set rotation angle of selection to 10 end tell Gives me the same result. The frame rotates and the content rotates with it. Let me start over with my problem as that may help... So let's say I have a frame and it has rotation 0˚. Inside the frame I have an object rotated to 5˚. Applying either of those two scripts has the same result. The frame rotates to 10˚ and the content (when selected with the direct selection tool) now shows a rotation of 15˚. But what I want is for the frame to stay at 0˚ and the content (when selected with the direct selection tool) to show a rotation of 15˚. I am thinking this may be relates to the "Transform Content" and "Transformations Are Totals" preference settings. Both of which I have turned on. I know how to turn them on and off with an AppleScript, but it doesn't seem to be helping.
Technical Details
Message-ID:
<59b7a6d7.4@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7a6d7.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,6a0d066e95558f81 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Achy_Fakey@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: How Do I Rotate Content, Not the Frame Message-ID: <59b7a6d7.4@webcrossing.la2eafNXanI> Date: Fri, 23 Jan 2009 10:36:53 -0800 References: <59b7a6d7.-1@webcrossing.la2eafNXanI> Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit