ofLight Posted October 31, 2006 Posted October 31, 2006 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
GaryFrost Posted October 31, 2006 Posted October 31, 2006 wouldn't this get you the same information? MsgBox(0,"H x W", @DesktopHeight & " x " & @DesktopWidth & @LF & @DesktopDepth) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
ofLight Posted October 31, 2006 Author Posted October 31, 2006 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now