Hi Folks, this is a simple example of how to generate a function with and call it during runtime (+ pass data from/to it). It is accomplished by using AutoItObject and inspired by Access AutoIt.  #include <AutoItGenFuncEx.au3> $iSleepTime = 500 $oFunction = _AutoItGenFuncEx_CreateFunction("$iTreshold", _; <------ What are the Parameters? '' _; <------ What is the Sourcecode?