IT-FORUM

IT-FORUM



SearchSearch   Users   Registration   Entrance
Today: 01.04.2026 - 00:42:03
Pages:  1  

Get the Top Layer script's absolute path

AuthorMessage

'93E36

fluder


Statistics:
Messages: 219
Registration: 08.03.2002

For Example, top.avs imported function.avsi, in function.avsi, I want to get the top layer script's absolute path: 'e:\scripts\top.avs' I tried to call ScriptFile() in function.avsi when I execute top.avs, but it always returns function.avsi's path. It seems avisynth internel function doesn't have feature to get the Top Layer script's absolute path?



Message # 1 21.11.22 - 12:31:56
RE: Get the Top Layer script's absolute path

BlackChrome

fluder


Statistics:
Messages: 710
Registration: 06.17.2003

You would use a global variable here - Code:


---------------------
2002 M5 Chiaretto Red/Caramel extended leather
Message # 2 21.11.22 - 12:38:34
RE: Get the Top Layer script's absolute path

shiggarfraggar

fluder


Statistics:
Messages: 352
Registration: 12.14.2003

Think you actually need ScriptName rather than ScriptFile. D:\WRK\Top.avs Code:


---------------------
s50 cams, s50 euro headers, cosomos intake, iridium plugs, custom track pipe with no cats, acs muffler, 3.38 lsd, bilstien shocks H&R springs, tms shock mounts tms subframe plates, JC software, uuc ssk, Urethane traling arm bushings, and millions of
Message # 3 21.11.22 - 12:47:22
RE: Get the Top Layer script's absolute path
Dash Light For Rear of Heater Controls. : Previous topicNext topic: Encoding not producing Target Size output
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants