determine screen size?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Mark Gevry
Pro Scripter
Posts: 63
Joined: Sat Dec 25, 2004 3:23 pm

determine screen size?

Post by Mark Gevry » Tue Mar 15, 2005 3:14 am

Hi. Is there a way to get the user scren size...like in a msedit thing... tell them if there window is in 800x600...or 1024x760...and if the screen is 800x600 have a pop up message saying switch to 1024x760 to use this program. Thank you.

Regards,
Mark

Luciano
Junior Coder
Posts: 31
Joined: Fri Feb 11, 2005 1:10 pm
Location: Ghent, BELGIUM

Post by Luciano » Tue Mar 15, 2005 8:09 am

Try this:


Mousemove>2000,2000
GetCursorPos>xres,yres
Let>xres=%xres%+1
Let>yres=%yres%+1
Messagemodal>%xres%,%yres%


Greetings,

Luciano

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts