Forums > Javascript

File Constructor – how to dynamically name files?

March 31, 2012 | 3:34 am


March 31, 2012 | 5:51 am

solution in case someone happens upon this thread:

var kitstring;

kitstring = kitname(kitstring); //call kitname(); translates name from

var ftstring = ".syx";

kitstring = kitstring.concat(ftstring);
post(kitstring);

var KitFile = new File(filename = kitstring, "readwrite")


Viewing 2 posts - 1 through 2 (of 2 total)