Unit conversion


is there easy way convert measurement units?

 

for instance need calculate depth of paragraph rule below , .rulebelowlineweight returns points, makes sense. but, calculations i'm doing in particular script can done in whatever units active except .rulebelowlineweight value.

 

i'm changing units points calculations works .rulebelowlineweight value (seemed easiest) cool have way, or routine, able pass value , unit , receive value in unit need.

 

thanks!

ken

ignore whole first post wrote. didn't notice scripting sub-forum!

 

depending on area in, have been able id conversion me in applescript @ least. eg. width = "5p" convert automatically 60pts. don't know if works rules below or not though.



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts