#!/usr/bin/perl use Tk; my $mw=tkinit; $mw->withdraw; $height = $mw->screenheight; $width = $mw->screenwidth; $depth = $mw->screendepth; print "height->$height width->$width depth->$depth\n"; Tk::exit; MainLoop;
In reply to Re: Determine screen resolution (on Windows)
by zentara
in thread Determine screen resolution (on Windows)
by mdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |