I'm trying to script a writer node.
a string Input (my text)
a string URL
and a Method write
also add using System.IO
Code: Select all
// This Method is called if the function/method Write is invoked by the user or a bound event.
// Return true, if this component has to be revalidated!
public bool OnWrite(int arg)
{
StreamWriter writetext = new StreamWriter(URL);
writetext.WriteLine(Input);
writetext.Close();
changed = true;
return false;
}
None gave a result.
Does someone have an idea ?
Thanks