10-31-2025, 11:24 PM
I use this code to get the screen dimensions; maybe it will help you solve your problem. I'm on Linux — does it work on Windows and macOS?
Code: (Select All)
' auto detect screen size
screen _newimage(8000,8000,32) ' set a screen too large
_fullscreen , _smooth ' go to fullscreen
_delay 2 ' wait 2 second
height% = _resizeheight ' get max screen height
width% = _resizewidth ' get max screen width
$console
_dest _console : ? "screen resolution is ";width%;"x";height%
system

