Get a bang from [text] when file not found?
Jan 13 2022 | 11:50 pm
Hi! I'm looking for ways to read a file with a specific name, or write that file if it is missing.
If I send a "read myfile.txt" message to [text], I get a red error in the Max window that the file was not found. Helpful, but not useful for my purpose. If I could somehow get a bang when the file is not found, I could use that to kick off another part of the patch that might create the file or do something else.
Any thoughts? Thanks!