Re: InDesign text frame baseline shift
Re: InDesign text frame baseline shift
- Subject: Re: InDesign text frame baseline shift
- From: Stan Cleveland <email@hidden>
- Date: Mon, 08 May 2006 13:29:20 -0700
- Thread-topic: InDesign text frame baseline shift
On 5/8/06 12:40 PM, Michel Raj wrote:
> Thank's Stan,
> Your script works, it's just what I wanted.
> But my script works well in a test page, and not in my layout, giving
> me a message saying that doing so would move objects out of the "plan
> de travail", the working area.
> It says so, even if I reduce the geometric bounds values ???
>
> Michel
There are four settings that can cause objects to unexpectedly fall "out of
bounds": measurement units (both vertical and horizontal), ruler origin, and
zero point (of the ruler). For example, you may be specifying your
measurements in points, but the document may be set to inches, which are 72
times larger.
One shouldn't assume that some particular InDesign document is set up as
desired. Only when you explicitely define those settings can you rely on
them to be correct.
Here's code to set all these preferences (and show rulers):
tell application "InDesign CS"
tell document 1
tell view preferences
set horizontal measurement units to points
set vertical measurement units to points
set show rulers to true
set ruler origin to page origin
end tell
set zero point to {0.0, 0.0}
end tell
end tell
Stan Cleveland
Color Technology Inc.
Portland, Oregon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden