Is it possible to communicate between 2 pcs via AHK?
Example:
pc1: press alt+f1 opens up a window where you can type, type there: "hello" and press send
pc2: message box pops up saying "hello"
Is it possible to communicate between 2 pcs via AHK?
- WuffTheCoder
- Posts: 35
- Joined: 23 Aug 2017, 13:35
Re: Is it possible to communicate between 2 pcs via AHK?
Check this thread: https://autohotkey.com/boards/viewtopic.php?t=10108
DRAKON-AutoHotkey: Visual programming for AutoHotkey.
- Delta Pythagorean
- Posts: 628
- Joined: 13 Feb 2017, 13:44
- Location: Somewhere in the US
- Contact:
Re: Is it possible to communicate between 2 pcs via AHK?
Yes and no. Yes you can do it. No, it's not going to be easy
[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat
Re: Is it possible to communicate between 2 pcs via AHK?
It needs to be 2 codes, runing on different computers. Lets say code no.1 sends a text "Hello world!" to document in a place, which is acessable to both computers. Code no.2 reads the document every 10 seconds and if it finds something in the document, it shows the content in a message box. Does it looks like you are sending a message to the other computer? Yes. Is it true? No.
Re: Is it possible to communicate between 2 pcs via AHK?
If the text is small you can use a "mailslot" :
https://autohotkey.com/board/topic/5547 ... mailslots/
There is a wrapper made by coco on the forum with links to microsoft documentation.
https://autohotkey.com/board/topic/5547 ... mailslots/
There is a wrapper made by coco on the forum with links to microsoft documentation.