In article <
ae6dnfKtyNczH37I...@earthlink.com>,
ANT...@zimage.com (Ant) wrote:
> > > What is a good simple/basic screen ruler (to measure pixels on screen)
>
> > What is it that you want to do with such a ruler? Is it to measure on
> > one home screen (which you can easily know the res of and roll your
> > own ruler for) or is it for something portable for different screens
> > with different resolutions?
>
> Yes, but measure parts on the screen like icons, graphics,
> (font/text)s, etc.
For icons you can tell from the Finder view menu since they are under
your control. Look at Show View Options... For jpgs and other images,
you can tell from Get Info and in other ways in imag software. For
graphics in the process of being made, you can usually use img
software ruler built into the program, Illustrator for example. For
windows, it is a bit trickier but there would surely be terminal ways.
An Applescript way might be something like first put the window you
want to measure as a front one, (click on it) and then go to the
script editor and run
tell application "Finder" to get the bounds of the front window
and it will give you coordinates and from there you could work it out
or write more script to do the maths (or math as Americans like to
say, sounds strange to me!).
As for other things (including widows), a low tech solution of sorts:
For width make a simple graphic of a ruler with your resolution built
into the dimensions, one for height, one for width.
For example, you can make a very thin vertical ruler image and drag it
over a browser window. It will go to the far left by default. You can
then drag many other objects over the browser window, right over to
near the ruler markings and get the height. Similar thing with
vertical.
You could combine both images on the one web browser viewport and then
you would have both dimensions in the one viewport as a ruler for
both. Either by making a combined image or putting the two as
background on an HTML doc and dragging that over a browser window.
If you need help constructing any of these things, just give a shout.
Oh, and don't forget to not show me in any reply, you would not want
to be seen too closely associating with me. I quite understand.
--
dorayme