Robert,
If you are loading the xml file with a "Preferences -> Startup" action, you can also use a startup action to run the script.
The other approach is to use Logix or LogixNG to run the script.? Here is a simple LogixNG.
Because the Startup option is enabled, the ConditonalNG will run after the file loading is done.
Dave Sand
toggle quoted message
Show quoted text
----- Original message -----
Subject: [jmriusers] Associating an init script with a panel file?
Date: Friday, May 16, 2025 11:25 AM
I have a panel file
()
that I have written an init script (it just initializes the internal sensors
to a sane set of states).
Is there some way to run this script when the panel file is loaded?
--
Robert Heller???????????? -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software??????? -- Custom Software Services
? -- Linux Administration Services