Screen Resolution

Discuss RoboTask here
Post Reply
misery
Posts: 12
Joined: Sat Aug 31, 2013 8:59 pm

Screen Resolution

Post by misery »

Hi, is it possible to extract the screen's resolution and place the values in variables?

If not, I've found it's possible to use command prompt to find these values, by using command: wmic desktopmonitor get screenheight, screenwidth

Please let me know, thanks.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Screen Resolution

Post by Oleg »

There are system variables in the "Screen" group.
ScreenH(0) - height of specified screen
ScreenW(0) - Width of specified screen
ScreenVars.png
ScreenVars.png (50.15 KiB) Viewed 8235 times
Oleg Yershov
Post Reply