I'm trying to write some XML to a file through a script. The following code works fine:
var xmlStr = _newVnXML.toXMLString();
var myFile = File.saveDialog ("Save the XML file...");
But I'm looking for a way to avoid needing the saveDialog section - I want to create a new file and save it entirely behind-the-scenes to a predetermined location (ie. by passing a path as a string).
Does anyone know how to do this?
Europe, Middle East and Africa