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 » Wed Sep 14, 2016 3:13 pm

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 » Wed Sep 14, 2016 3:30 pm

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

If I've helped you and you'd like to say thanks, consider adding me on LinkedIn and leaving me an endorsement or recommendation. It helps a lot!

loicaigon
Advanced member
Posts: 224
Joined: Wed Jul 10, 2013 10:22 am

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

Post by loicaigon » Fri Sep 16, 2016 11:16 am

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