View Single Post
Old 01-25-2018, 09:22 AM   #301
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Quote:
Originally Posted by sai'ke View Post
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...
Meo-Ada Mespotine is offline   Reply With Quote