AviSynth Syntax – Internal functions – Script functions – ScriptFile – in the Examples: should be
file = ScriptFile() # file = "video.avs"
(instead of file = ScriptFile() # name = "video.avs")
AviSynth Syntax – Internal functions – Script functions – ScriptDir – in the Examples: should be
folder = ScriptDir() # folder = "F:\ProjectXYZ"
(instead of folder = ScriptDir() # name = "F:\ProjectXYZ")
Fixed. Thanks!