Quote:
there are python functions to run gui4cli commands and to put and get gui4cli variables. i assume that that is not what you mean when you say 'share variables'?
That's interesting. I think what might ultimately wind up being best is giving AutoHotkey an interface so that any external languages can do the following with a running ahk script:
1) Pass data into it.
2) Get data out of it.
3) Tell it to execute a subroutine.
Some of the above might be possible with Post/SendMessage (assuming the other language had those functions). There are also other ways to send data using interprocess comms.
However, what someone with expertise in Python (or any other external language) would have to finish the other side of the bridge by actually writing it in that external language.
But you might have had in mind something more like the following hypothetical example:
#PythonStart
... have actual Python-script inline here ...
#PythonEnd
In any case, I'll add these details to the to-do list for further investigation in the future. Thanks for pointing out the possibilities.