When a box returns a pathname, this pathname can be visualized via a textfile box.
The editsco function from the OM2Csound userlibrary writes a text file – a Csound score – and returns the file pathname.Zoom
Removing Attachements
To remove a link to a file, select Free Attached File.
This option is only available if the
textfile
is already attached to a file. Once the attached file is is "freed", the contents of the
textfile
is internalized in the patch.
File Modification
Save Command
Inputting data via "exp-list" on append mode.
To modify an attached file :
input data via the "exp-list" input
evaluate the box
from the text editor, press cmd + s to store the modifications in the box.
When the object is saved, the related file on the hard drive is modified as well.
Externalized Contents
The attached file has been deleted. The Listener displays an error message.
Contrary to the "import" and "export" options, the attach option implies that the textfile object itself refers to a persistent file. Hence, its content won't be stored int the patch itself.
Parallel modifications of the attached file will affect the textfile box's content.
If the attached file is deleted of moved, the textfile will be empty when the patch is reloaded.