finally made my code work and extract all text scripts from Script.cat and script2.cat The have a slight difference in file structure so it took me a while to figure it out
repacked is done for script2.cat hopes it works for script.cat, but I’m confident it will work since I made sure the output .txt has the same structure as the script2
But there is one major problem…