I'm making this patch to read different text files and get the size (number of lines) to then select a random value between the first and last line of the file.
The thing works in the sense that when I choose one or other filename it reads and prints that line number right but the overall size of the file isn't showing. Am I missing something?
- how can I trigger [text get] without using [send text-help-send] ? I need to do the first reading after loading the file.
- How can I set a mode to read sequentially OR randomly between 0 and max number of lines (with a bang)?
Thanks a lot for any help!