🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17501

Re: Reset transforms to 100%

#17501
From: Shane Stanley
Date: Sat, 31 May 2003 03:05
17 lines
1411 bytes
in article 1de9579c.-1@WebX.la2eafNXanI, Kenny Hoff wrote:

> Hi, I'm looking for a method or AS that can help restore a frame or other
> object to 100% in the transform pallette without affecting size or position.

Try something like this:


tell application "InDesign 2.0.2"
    set theProps to properties of item 1 of selection
    set theProps to {absolute vertical scale:nothing, vertical scale:100,
absolute horizontal scale:nothing, horizontal scale:100} & theProps
    set properties of item 1 of selection to theProps
end tell

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BAFD6A1E.5BBE8%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de9579c.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,3645d1b4a9bc81d1
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-30 20:08:01 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Reset transforms to 100%
Message-ID: <BAFD6A1E.5BBE8%sstanley@myriad-com.com.au>
Date: Fri, 30 May 2003 20:05:51 -0700
References: <1de9579c.-1@WebX.la2eafNXanI>
Lines: 21
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit