====== RunThread ======
Runs a user defined function in a new thread.
RunThread [ [.. ]
RunThread( [, [, .. ]]
**Parameters**
|< 100% 15% >|
|funcname|User defined function name.|
|param1\\ paramN|//Optional.// Parameters passed to the function.|
**Remarks**
The thread terminates when the function is completely executed or when using [[func_Return]].
**Examples**
LoadLibrary "Plugins\Autorun_Runtime.dll"
RunThread ThreadFunc "Count:"
Func ThreadFunc(v)
WinSetText(v)
For i = 1 to 10
Sleep(300)
WinSetText(WinGetText() & " " & i)
Next
EndFunc
# Numbers will be sequentially added to the title, as a result, the title will take the form:
# Count: 1 2 3 4 5 6 7 8 9 10
# During the countdown, normal work with the TC is possible.