Communicating between Autohotkey and python

后端 未结 2 1604
青春惊慌失措
青春惊慌失措 2021-02-14 11:19

Is there a way to send some parameter from autohotkey to python.

Using Autohot key I read some number from the notepad and store in a variable and now I want to send th

相关标签:
2条回答
  • 2021-02-14 11:52

    Inter-process communication would be capable of sending the information while the Python script is already running.

    Forum thread: http://www.autohotkey.com/forum/topic21699.html (there's a nice documentation link in that post)

    You could also use TCP/IP Network communication (like in the post below), but that probably wouldn't be quite as slick as using IPC.

    Forum thread: http://www.autohotkey.com/forum/topic13829.html

    0 讨论(0)
  • 2021-02-14 12:04

    The way you got it working is the easiest, and probably best, method of accomplishing what you want.

    Communication between applications can be done with more methods then you probably can imagine, but as long as it doesn't have to be realtime you can call your programs with arguments, as it is easy and reliable.

    0 讨论(0)
提交回复
热议问题