Chapter 12. Special Features

Misc features

12.1. Name and path of the sourcefile

You can get the filename and the path of the current sourcefile with the getPath() and getFilename() functions:

.print "Path : " + getPath()
.print "Filename : " + getFilename()