Bino
Bino
CC#
Created by Bino on 3/29/2023 in #help
❔ Avisynth script maker thing
Im trying to make a script that creates AVS files for every file in a Directory based on a template. Here’s what i have so far: string[] lines = Directory.GetFiles(@"H:\Cartoons, Anime und co\Jim der Regenwurm"); string text = File.ReadAllText("Template.avs"); foreach(string name in lines) text = text.Replace("[CLIP]", (name)); File.WriteAllText ("JimNew.avs", text); I can’t figure out how to make it write every path to a new file that it creates automatically. I tried using foreach but it didn’t work.
21 replies