Changing units in MakeGrid script


hi

 

this should simple struggling same.

 

in applescript version of makegrid script comes indesign want make default values column gutter , row gutter 2mm. value use many times day simpler if can in there default.

 

i have identified lines in script define these easily, though able change units 'millimeters', seem have put in value in points. end value of 5.669pts equate 2mm - follows:

 

set mycolumngutterfield make measurement editbox properties {edit value:5.669, edit units:millimeters}

 

this works fine, wonder why cant enter value 2 if units millimeters.

 

it's not big issue, i'm curious know why i'm not able it.

 

thanks

it's way works. under hood, indesign works in points. can specify edit contents (as string) instead of edit value work around it.



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support