Search notes:

Stellarium API: core.getScreenWidth / core.getScreenHeight

//  vim: ft=javascript
//
//  ..\runScript.bat getScreenWidth_Height.ssc
//  

LabelMgr.labelScreen("Width:  " + core.getScreenWidth () , 20, 20, true, 50, '#ff3311');
LabelMgr.labelScreen("Height: " + core.getScreenHeight() , 20, 80, true, 50, '#ff3311');
Github repository about-Stellarium, path: /API/core/getScreenWidth_Height.ssc
Unfortunately, there does not seem to exist a corresponding core.setScreenWidth(), core.setScreenHeight() or core.setScreenSize().

See also

Stellarium Script API

Index