Physical Screen Size
Ian Wood
revlist at azurevision.co.uk
Fri Jan 19 09:52:20 EST 2007
If you *have* to have the physical dimensions, remember that some of
the odder screen resolution settings don't have the same vertical and
horizontal pixels per inch, so the user will need to measure in both
directions.
Rather than asking the user to measure an object (and enter the
measurement) it might be easier to vary the size of the object to
match a ruler, i.e. "please line the ruler up with the left end of
the bar, and drag the right end of the bar until it reaches the 10cm
mark on the ruler".
I don't know of ANY other way to find out the physical dimensions,
even Apple don't manage it on their own hardware.
Ian
On 19 Jan 2007, at 12:02, Tim Ponn wrote:
> Hello!
>
> I'm working on a project and I would like to get the "physical"
> screen size of the system. Is there a way to do this? I see how
> to get many of the screen attributes...but as to physical
> siza...nadda.
>
> A cheesy way to do this, I suppose, would be to display an object
> when the app is started up and ask the user to measure it and enter
> the measurement. Based on that I could calculate the size of the
> screen.
>
> Has anyone discovered how to do this?
>
>
> Best Regards,
>
> Timothy R. Ponn
> ALPTEX, Inc.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list