What's the "point"? AKA Units of Measure

Post Reply
strido
Member
Posts: 32
Joined: Tue Jan 19, 2016 7:02 pm

What's the "point"? AKA Units of Measure

Post by strido »

Not that I'm totally averse to conversions, but is there a way to tell the connector to search for Stats.MediaBoxHeight (etc...) in inches instead of points?
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: What's the "point"? AKA Units of Measure

Post by gabrielp »

I'm not sure. But off-hand, for anyone else who may come across this topic in the future, here is how to convert:

Code: Select all

[Switch.Calculation:Expression="[Stats.MediaBoxHeight]*0.013888888889",Precision="2"]
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
loicaigon
Advanced member
Posts: 361
Joined: Wed Jul 10, 2013 10:22 am

Re: What's the "point"? AKA Units of Measure

Post by loicaigon »

Why not about dividing per 72. It will lead to teh same result I agree but maybe it's just a bit more user friendly ?

[Switch.Calculation:Expression="[Stats.MediaBoxHeight]/72",Precision="2"]

FWIW
Loic
Post Reply