Re: Getting current screen resolution



Thomas Morton wrote:
This is a "thing" that has been annoying me all morning: and I can't
work out how to do it.

I need a way to get the DPI or screen resolution of the monitor that a
script is currently runnign on.

I have a way in Windows but it doesnt port to Unix (which is important).

Any ideas?


warning - be very careful about trying to come up with something like this.
Today it is common for people to have more than one monitor, so you will need to take that into account. Just getting resolution of one monitor might not be enough (but then I don't know EXACTLY what is is that you are doing with the
resolution). I see a lot of software that ignores the dual-monitor possibility.

-Larry
.



Relevant Pages

  • Re: trouble with Javascript Pop-up
    ... the Publisher file on my laptop, but copied it over to my desktop to produce ... I also read somewhere that if you set your monitor to its default ... resolution, that might help??? ... Here's the script for the pop-up: ...
    (microsoft.public.publisher.webdesign)
  • Re: Screen resolution on a sony laptop.
    ... Essentially, previous versions of Ubuntu ... had an option to manually configure your monitor settings in the ... resolution modes your monitor is able to handle the software falls ... Then the screen resolution is locked at 640x480 if you enable the ...
    (Ubuntu)
  • Re: Increase maximum resolution shown by XP
    ... I want to hook up to a 22" external monitor with 1680x1050 native resolution. ... I don't believe there is an updated Intel driver which increases the resolution beyond 1280x1024. ... "Specifically, Intel graphics drivers support: ... Display modes reported by the monitor’s EDID (Extended Display Information ...
    (microsoft.public.windowsxp.hardware)
  • Re: What determines monitor resolution?
    ... I use a 19" LED monitor and have set to run at 1024x768 resolution in Windows desktop properties. ... I am using a NVDIA Geforce4 MX 4000 PCI Video Card. ... The DVI digital connection, offers the ability to keep the signal perfect, ...
    (microsoft.public.windowsxp.general)
  • Re: Page size
    ... Screen resolution has little to do with monitor size, ... There are several 19 inch monitors ...
    (microsoft.public.frontpage.client)