🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8941

Re: RotationAngle + transform content

#8941
From: Dave_Saunders
Date: Thu, 21 Sep 2006 10:46
12 lines
1234 bytes
Which scripting language?

The Rotate method in JavaScript has a transformingContent parameter. Did you give that a value in the call?

For example, this (with an image frame selected):

myFrame = app.selection[0];
myFrame.rotate(30, AnchorPoint.centerAnchor, true, false, false)

rotates the frame 30 degrees leaving the contents alone, no matter the state of the Transform Content option, because that first false parameter overrides. See page 1038 of the Reference guide.

Dave
Technical Details
Message-ID: <3bc1b851.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!feed20.multikabel.net!multikabel.net!feed10.multikabel.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
References: <3bc1b851.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b9d86538aedbb975
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!feed20.multikabel.net!multikabel.net!feed10.multikabel.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: RotationAngle + transform content
Message-ID: <3bc1b851.0@webcrossing.la2eafNXanI>
Date: Thu, 21 Sep 2006 03:46:25 -0700
References: <3bc1b851.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit