A way to bookmark a long text?


    Jul 23 2019 | 11:28 pm
    Hello, I am writing a patch for an installation, where Max downloads a text file, saves it locally, opens it and reads each line (there are many). Every day at specific hours, the computer running Max is switched off. I would like Max to remember/bookmark the last line it read so that it can start from the next one. Which would be the best way/approach? Thank you!

    • Jul 24 2019 | 6:20 am
      Link file name and last read line number and store it for next "reading" as text file or coll or whatever, and load it on next start. So the message to text object could be read "File to read.txt", line 22 I would personally prefer coll for that, in favor of text object.
    • Jul 24 2019 | 1:14 pm
      Great idea! Thank you! Yep, I totally forgot about coll :)