Re: Getting current screen resolution
- From: Larry Bates <larry.bates@xxxxxxxxxxx`>
- Date: Mon, 09 Jun 2008 17:16:57 -0500
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
.
- Follow-Ups:
- Re: Getting current screen resolution
- From: Thomas Morton
- Re: Getting current screen resolution
- References:
- Getting current screen resolution
- From: Thomas Morton
- Getting current screen resolution
- Prev by Date: Re: Question by someone coming from C...
- Next by Date: Re: Question by someone coming from C...
- Previous by thread: Re: Getting current screen resolution
- Next by thread: Re: Getting current screen resolution
- Index(es):
Relevant Pages
|