Jump to content
Light-O-Rama Forums

Change schedule from command line


Steven

Recommended Posts

I change the schedule by copying a different weeksched.lsc file by running a BAT file with something like this:

C:\Light-O-Rama>COPY /Y weeksched-Christmas.lsc weeksched.lsc

or

C:\Light-O-Rama>COPY /Y weeksched-Halloween.lsc weeksched.lsc

The trouble is, the LOR control panel sometimes seems to ignore this change, and just sits there showing the "Next Activity" as what it was before. In order to get it to change, I have to start the schedule editor and click "Save".

Why does this work sometimes, but not other times? Is there something I can do from a BAT file to "poke" the control panel to make it notice immediately?

 

Link to comment
Share on other sites

41 minutes ago, ItsMeBobO said:

I suggest a touch to set the time to current.

I tried that (using COPY /Y weeksched-Christmas.lsc+nul weeksched.lsc) but it didn't seem to work last night, on the show computer. I'm going to restart Light-O-Rama and see if that fixes the problem.

Link to comment
Share on other sites

I found the problem. I forgot the /B (binary) option to the COPY command. When the file is copied in text mode (the default), it adds a DOS newline to the end of the file, which confuses the show player (and the schedule editor). Now it works as expected.

Link to comment
Share on other sites

  • The topic was locked
Guest
This topic is now closed to further replies.
×
×
  • Create New...