Internal functions/Script functions

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(make redirect)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
== Script functions ==
+
#REDIRECT [[Internal_functions#Script_functions]]
  
They provide AviSynth script information.
 
 
* {{ScriptFunction|ScriptName|v2.60|ScriptName()}}
 
: Returns the path and filename of the loaded script as a string.
 
: ''Examples:''
 
name = ScriptName() # name = "F:\ProjectXYZ\video.avs"
 
 
* {{ScriptFunction|ScriptFile|v2.60|ScriptFile()}}
 
: Returns the filename of the loaded script as a string.
 
: ''Examples:''
 
file = ScriptFile() # name = "video.avs"
 
 
* {{ScriptFunction|ScriptDir|v2.60|ScriptDir()}}
 
: Returns the path of the loaded script as a string.
 
: ''Examples:''
 
folder = ScriptDir() # name = "F:\ProjectXYZ"
 
 
----
 
Back to [[Internal functions]].
 
  
 
[[Category:AviSynth_Syntax]]
 
[[Category:AviSynth_Syntax]]
 
[[Category:Scripting_Basics]]
 
[[Category:Scripting_Basics]]

Latest revision as of 03:56, 17 September 2014

  1. REDIRECT Internal_functions#Script_functions
Personal tools