Good question, and you were very close to the solution ![]()
The solution is indeed to use csvreadARRAY and csvsaveARRAY. These two commands have the full CSV in memory as array, so you can change any line. After changing the array cells as needed, just do a csvsavearray and keep the same CSV file name. This updates the file on the disk.
=> See this post: How to mark a row in a CSV line as processed? - #3 by TechSupport
Your task is the same
Except that instead of adding โDoneโ to a line, you would store the updated values e. g. โONโ or โOFFโ.