It is possible to run a script from another script?
I use the IMDb script only, but with some modifications. The script have some changes from time to time and I have to update it every time. So I'm looking for a way to avoid this. Running the IMDb script unmodified and making my own modifications on the AMC fields after seems to be a solution. It is possible to run a script from another script?
Running a script from another script
Something to try, not sure if it will fully work:
You can rename/copy imdb.ifs to imdb.pas, and remplace "program imdb" by "unit imdb" in the beginning of the file.
Then in your own script you can all the functions of IMDB script like AnalyseMoviePage etc. by adding "uses imdb;" at the beginning (like imdb and other scripts use stringutils1 unit).
So you just have to rewrite the part between the begin/end and the bottom of the script.
But you'll also have to redefine in your script the options used by IMDB script.
You can rename/copy imdb.ifs to imdb.pas, and remplace "program imdb" by "unit imdb" in the beginning of the file.
Then in your own script you can all the functions of IMDB script like AnalyseMoviePage etc. by adding "uses imdb;" at the beginning (like imdb and other scripts use stringutils1 unit).
So you just have to rewrite the part between the begin/end and the bottom of the script.
But you'll also have to redefine in your script the options used by IMDB script.