running a sequence of commands repeatedly


Senior Squad
is there such a program that lets me set a sequence of commands to run them several times, repeatedly?

it would work similarly to a batch file, but i want to input commands for both keyboard and mouse and i'd like to set the time between these commands.

years ago i programmed this little application that works like that, but i had to set the commands while programming the app. it sucked. honestly, i hate programming and i had installed delphi 3 in my pc just to program that lil' app! it took me like 1 week to program a basic delphi application. then i did it and uninstalled delphi.

and i hope i'll never touch delphi, vb or anything like that in my life.

so, could anyone help me? i don't care if it has only a 15-day trial or something...