I'm trying to pass an object to a child thread using thread.ahkPostFunction and I can't figure out how or even if it's possible.
The documentation clearly says that only strings can be passed, so is it possible passing a pointer or something?
This is essentially what I'm trying to do:
Code: Select all
thread := AhkThread("#Persistent`nmyfunc(obj){`nmsgbox % mobj.key`n}")
thread.ahkPostFunction["myfunc", {key:"hello"}]
o/
RUNIE