Internal functions/Script functions

From Avisynth wiki
Revision as of 17:10, 28 December 2013 by Admin (Talk | contribs)

Jump to: navigation, search

Script functions

They provide AviSynth script information.

  • ScriptName   |   v2.60   |   ScriptName()
Returns the path and filename of the loaded script as a string.
Examples:
name = ScriptName() # name = "F:\ProjectXYZ\video.avs"
  • ScriptFile   |   v2.60   |   ScriptFile()
Returns the filename of the loaded script as a string.
Examples:
file = ScriptFile() # name = "video.avs"
  • ScriptDir   |   v2.60   |   ScriptDir()
Returns the path of the loaded script as a string.
Examples:
folder = ScriptDir() # name = "F:\ProjectXYZ"

Back to Internal functions.

Personal tools