Internal functions/Script functions

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(v2.60 updates - script functions)
 
m (1 revision)

Revision as of 23:33, 9 May 2013

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:\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:\"

Back to Internal functions.

Personal tools