Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 4th September 2021, 14:25   #1  |  Link
konstantin1
Registered User
 
Join Date: Mar 2014
Posts: 38
How can I read a string value from a text file and assign it to a variable?

Unfortunately Avisynth script can't accept parameters, as far as I know. Currently I try to use environment variables, and a plugin from stickyboy, to make my script more flexible by parameterizing some variables. It would be better and more flexible to read the value(s) from a text file. This is a quite simple task in every programming language, but seems impossible in avisynth. Is it possible? How can I do that?

I found command "conditionalreader", but as far as I can tell, the variable can be used only in "scriptclip" calls.
konstantin1 is offline   Reply With Quote
 

Tags
environment, file, parameter, string, variable


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.