OpenWGA 7.7 - TMLScript reference

WGA » WGA.File()
Property :

file

On object WGA.File()
Usage Gets (or sets) the wrapped java.io.File object
Examples
WGA.File("test.txt").file.exists()	// tests if the file exists

WGA.File("export").file.mkdir(); // creates directory "export"