Is possible detect screen resolution?
Is possible detect screen resolution without use any external?
If somebody know, please post some example.
Thankyou !
you can get the screen size with [screensize]. If you need to know more about your monitor, check out jit.displays.
-Ben
Thankyou ben
Now i dont know how do simple thing
Main monitor is configured 800 x 600
screensize report this infomration: 0 0 800 600
What im trying to do is compare if screen is configured to that resolution, if the resolution is 800 x 600 i want have value out 1 , if different , value output should be 0
How can compare that string of numbers ?
In this case, it seems easiest to add the two numbers, and then do [== 1400].
Tim, is possible see some example : )
Please !
Larsen, what is there to show in an example?
Btw, I don't really like the addition method, Tim, since there may be equal totals, although not commonly :P:
768 + 576 (PAL) = 854 + 480 (WVGA)
1280 + 854 = 1366 + 768
but tim, this will also report "true" when the monitor is in 700*700 mode.
you could use [match]:
M
Thank you very usefull.
You're all correct lol, I guess I'm a little out of touch with the range of screen resolutions whose sides would sum equally.......I didn't think of any after a casual contemplate.
But absolutely! Don't add and compare then :)