Is it possible to make an automatic script?

Before I do that , I kindly ask you to turn to the proven sources of information like the howtos and the help.