Can a Thread run a function in main script?
Posted: 11 Nov 2022, 08:26
1. Main script --> Create thread
2. Main script --> Run a function on thread ( dll.ahkFunction() as in docs.)
3. Thread does some work and inform main script.
How can i make thread to run a function on main script?
I know that ahkFunction waits for thread function to return but my thread waits for callbacks.
Thank you.
2. Main script --> Run a function on thread ( dll.ahkFunction() as in docs.)
3. Thread does some work and inform main script.
How can i make thread to run a function on main script?
I know that ahkFunction waits for thread function to return but my thread waits for callbacks.
Thank you.