🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17430

[VB] How to change Ruler Origin

#17430
From: roberto soto
Date: Wed, 11 Jun 2003 14:44
22 lines
1383 bytes
Hi,

I have a problem, here is the scenario:

- Creating a new document
- With User Interface (UI) moving ruler origin to the middle of the page.

Now, when I try to change the rule origin with:

myInDesign.ViewPreferences.RulerOrigin = idSpineOrigin

The preferences in the program change but not in the screen.

If I change the Ruler Origin with UI Preferences is working.

Any ideas??

(I need to change this ruler origin programmatically because if user change it before run the script, the position of the objects that I sending to the page can be wrong or can cause an error because are outside of spread limit. )

Thanks,

Roberto
Technical Details
Message-ID: <1de97e28.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,9c359dac3599b1b1,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-11 08:08:29 PST
From: "roberto soto" <roberto1soto@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: [VB] How to change Ruler Origin
Message-ID: <1de97e28.-1@WebX.la2eafNXanI>
Date: Wed, 11 Jun 2003 07:44:14 -0700
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit