Greetings from Greece!
My question is a bit difficult to answer so I'll need your attention.
I am trying to auto-create txt files, named after the corresponding .MTS files (video) and contain specific text that has a variable in each txt.
Actually I need to automatically create .avs files (avisynth config files - actually txt files renamed to avs) for each of my .MTS (video) files that act as video servers for virtual dub.
Here is an example of the text:
where ######.mts is the name of the corresponding video.
Each txt file must have the same name as the video it represents!
e.g. the 0058.avs file should contain the text:
I managed to auto create the files but I can't make them to pre-contain the text (not to mention to automatically change the name inside the text) using the following button:
FileType NEW=.txt FROMCLIPBOARD
Rename FROM ".txt" TO ".avs"
This is where my "talent in scripting " stops. I can't do anything beyond that.
Any help will be appreciated, I have about 200+ video files on each project and it is a real pain to create each .avs file by hand.
Thank you all in advance!