Richard,
Billybob has provided a script that sets a sensor to indicate the connection type.
If you are using JMRI 5.2 or later, an alternate approach is to use LogixNG to set a sensor.
Dave Sand
toggle quoted message
Show quoted text
----- Original message -----
Subject: [jmriusers] Script help please
Date: Sunday, March 23, 2025 2:34 AM
I want to modify the "PreferencesExamples" script to show me the - Preferences - System manufacture and System connection.
I want to check when I'm in " Digitrax - LocoNet Simulator " mode, for use in another script.
?
I can't find the info on how to reference these points.
Any help would be appreciated thanks.
?