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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Wissensc...', 1758201368, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Wissenschaft/Astronomie/tools/Stellarium/script/API/core/getScreenWidth_Height(47): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78