Vantha Posted Tuesday at 13:02 Report Share Posted Tuesday at 13:02 Is it possible to read the screen resolution from JavaScript scripts? If so, how? Quote Link to comment Share on other sites More sharing options...
Stan` Posted Tuesday at 13:08 Report Share Posted Tuesday at 13:08 let screen = guiObj.parent.getComputedSize(); let h = screen.bottom - screen.top; let w = screen.right - screen.left; let iw = h * 2; Just pick the highest element in the page you can grab. 1 Quote Link to comment Share on other sites More sharing options...
Vantha Posted Tuesday at 13:54 Author Report Share Posted Tuesday at 13:54 Wow, that's so much more simple than I hoped for. It even allows to get the actually displayed size for GUI objects directly as well. Thanks. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.