Quote:
Originally Posted by sai'ke
Is there a way to get the resolution of the hosts main screen from LUA? I want to spawn a window in a specific corner of the screen.
|
Maybe the my_getViewport-function might help you. Justin explained in this thread, how it works:
https://forum.cockos.com/showthread.php?t=195629
If you want to know the dimensions of the Reaper-Window itself within Lua, then you're out of luck. You can get the HWND, but can't get it's properties, unfortunately...