Simple example on how to execute another script inside current script. Just put those two files at the same place and in console execute: actexec main.ascr writeText.ascr main.ascr Works on linux, probably also on windows :)