Article View: adobe.scripting.indesign
Article #17105Re: InDesign application : sizing and positionning
From: Carl Davaz
Date: Sat, 05 Jul 2003 18:56
Date: Sat, 05 Jul 2003 18:56
15 lines
1239 bytes
1239 bytes
With AppleScript you can find out your window bounds by looking at the result of:
tell application "InDesign 2.0.2"
bounds of active window
end tell
The script will return a list of coordinates like {74, 33, 1188, 1447}
Then, tell InDesign to set the bounds of the active window to the coordinates:
tell application "InDesign 2.0.2"
set bounds of active window to {74, 33, 1188, 1447}
end tell
Carl
Technical Details
Message-ID:
<1de9cc2b.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9cc2b.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,baccf5c841286b90 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-05 12:07:32 PST From: "Carl Davaz" <cdavaz@guardnet.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: InDesign application : sizing and positionning Message-ID: <1de9cc2b.1@WebX.la2eafNXanI> Date: Sat, 5 Jul 2003 11:56:42 -0700 References: <1de9cc2b.-1@WebX.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit