http://qs321.pair.com?node_id=114449


in reply to How to get screen resolution under Win32?

Check out Aldo Calpini's chres.pl. It gets\sets the screen settings.

You probably already know this, but this method will not work in a CGI environment - i.e. you can't get the resolution of a remote user's screen via a webpage without a client-side script such as javascript. But I'm the wrong person to ask about that :)

Update: Aldo's site appears to have changed since I was last there - and I can't find anything related to perl. The above URL is the same one listed for him on CPAN. ?

Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Replies are listed 'Best First'.
Re: Re: win32 help...
by CubicSpline (Friar) on Sep 25, 2001 at 04:44 UTC
    A simple Google...

    You can download Aldo's chres.pl script here.

      My link to chres.pl is ok - it's the link to Aldo's site that is the problem. :)

      And yes, I tried google for that too - the url is ok, it's the same one I've used many times - but his site is gone and without trace!

      Simon Flack ($code or die)
      $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
      =~y'_"' ';eval"die";print $_,lc substr$@,0,3;