I cant find the maximum execution time for the lua script
I’m not sure I understand the question. Could you give us some more info?
just guessing… but maybe this is the answer: max. ~10 sec. -> (than depend on user)
“[changed B4] scripts can now no longer dead-lock Renoise.
Endless loops or other things in tools that take ages (more than about 10 seconds) will result in a messagebox, giving the user the ability to terminate the script or continue waiting for the script to do its job.”