i want to have a part of my autorun.brs file write a text file if it doesn't exist, then write a value to if it didn't exist. then i want to have this script read the value each time on restart, store this value in a variable in the routine, and then add one to it and write it back to the text file to be saved there for future use when a power cycle occurs. i am using a rather older brightsign unit, the HD1022 and it is equipt with 7.1.65 firmware. didn't think this would be so mind-boggling. no ai model has been able to do it until now. does anyone have an example they could paste here for this legacy brightscript solution?
Date
Votes
3 comments
-
Bright Scripters Are you using BrightAuthor at all or just autorun.brs?
I'm asking because BrightAuthor User Variables can be stored on the SD card without much effort.
In such scenario, you'd need to make sure that user variables are NOT being reset at startup, so previous value of variables are restored from the SD card.
Do you happen to know which version of BrightScript is supported by the HD1022?
-
Steven Hello Bright Scripters, the version of BrightScript supported by a HD1022 with the 7.1.65 Firmware would be the Brightscript version 7 if I am not mistaken.
-
Bright Scripters Are you using BrightAuthor for this project?
Please sign in to leave a comment.