Script help : object info , hide DSO images

18 views
Skip to first unread message

JRaf G

unread,
May 1, 2026, 7:22:26 PM (4 days ago) May 1
to Stellarium

Hello,

I try to run in the script console :

- for hiding object info panel :
InfoPanel.setFlagShowInfo(false);
setStelProperty("SelectedObjectInfo",false)

- for hiding DSO photos in the background sky
setFlagShowDSS(false)

The two commands don't work : is something missing in the script ?

In general , what do you use for helping you finding the good syntax when it seems you get some part of the answer ? I don't find the solution here :

Thanks a lot for your answer

Paul Gilmartin

unread,
May 1, 2026, 10:37:38 PM (3 days ago) May 1
to stell...@googlegroups.com
On 5/1/26 16:26, JRaf G wrote:
>     ...
> - for hiding object info panel :
> InfoPanel.setFlagShowInfo(false);
> setStelProperty("SelectedObjectInfo",false)
>
> - for hiding DSO photos in the background sky
> setFlagShowDSS(false)
>
> The two commands don't work : is something missing in the script ?
>     ...
Please post a sample of the failing code.

> In general , what do you use for helping you finding the good syntax when it seems you get some part of the answer ? I don't find the solution here :
> https://stellarium.org/doc/head/scripting.html
>     ...
For the few small scripts I have written,  I have copied and modified
commands from the distributed scripts.

Is  the Remote Control plugin useful for debugging
scripts?  It allows control by a separate monitor.

A facility for single stepping scripts for debugging
would be precious.

--
Thanks,
gil


Reply all
Reply to author
Forward
0 new messages