Variable external to max
Hi all,
I have 10 sounds and I want my patch to load file1.wav the first time it starts, file2.wav the second time I open the same patch, and so on...
What's the quickiest way to do this?
I was wondering about writing a txt file from [shell] but how?
And moreover... Is there. A simpler way?
Thanks a lot!
you can write a text file using [preset], [coll], or [text], thats much better.
and define a custom path inside the search path, like /patches/thisapp/thisappsprefs.txt
the folder /thisapp must be present prior to writing the file.
Roman, i just got the time to get into that: very straightforward!
Thanks a lot!
PS i used text btw, didn't know of an object for direct editing of txt files...