Hi,
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...");
myFile.open("W");
myFile.write(xmlStr);
myFile.close();
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?
Thanks
North America
Europe, Middle East and Africa
Asia Pacific