Jump to content

Recommended Posts

Posted

Ive Managed to figure out howto get the Resolution of a given Machine by canabalizing some of Larrys Scripts.

$VIRTUALDESKTOPWIDTH = DLLCall("user32.dll","int","GetSystemMetrics","int",$SM_VIRTUALWIDTH)
$VIRTUALDESKTOPWIDTH = $VIRTUALDESKTOPWIDTH[0]
$VIRTUALDESKTOPHEIGHT = DLLCall("user32.dll","int","GetSystemMetrics","int",$SM_VIRTUALHEIGHT)
$VIRTUALDESKTOPHEIGHT = $VIRTUALDESKTOPHEIGHT[0]

From this i whould also Guess that i can get the Color mode from user32.dll, however i can find no Documentation on this. Any help, or just a pointer to a location i can read about retrieving info from the dll whould be apreciated.

There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

Posted

yup thats it and much easyer, was lookin all over, Thanks gafrost

There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...