Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe InDesign Why is ID still adding 1 point in script

  • Why is ID still adding 1 point in script

    Posted by Miroslav Hora on May 12, 2009 at 1:12 pm

    Hi folks!
    I am quite new to scripting ID so here is first issue I can’t get solved.
    I wrote a js where the dialogue window pops up and asks for dimensions of a new rectangle to add. This new rectangle is created with exactly those values I’ve inserted in the dialogue but with 0.353(or one point)added. For example – If I would insert 10,10 into dialogue the produced rectangle would have 10.353, 10.353. Any Idea? Thx for advice

    https://kreativec.com
    Prague – CZ

    Terry Mikkelsen replied 17 years ago 2 Members · 1 Reply
  • 1 Reply
  • Terry Mikkelsen

    May 15, 2009 at 12:41 am

    There are stroke options which may be the problem. The options are to have the stroke “inside” the box, “centered” or “outside”.

    I know in CS3, if I draw a box that is 10 x 10 and then change the stroke option, it will change the overall dimension of the box.

    Tech-T Productions
    http://www.technical-t.com

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy