Communicate Back and Forth with Running AHK Script #355
Unanswered
Lunatik6572
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to start a script and communicate with the script at any given moment without ending the script?
I understand that you can use stdout in AHK to get the resulting string from
run_script()
, but this is when the script ends. I'm looking for a way to either invoke a python function (preferably with the option to call it with parameters) from the AHK script, or allow Python to get some variable from the currently running script without ending it.The only solution I can think of is having AHK set the clipboard and have Python waiting for clipboard change but this seems very inefficient. Is there a better solution to this?
Beta Was this translation helpful? Give feedback.
All reactions