Is it possible to communicate between 2 pcs via AHK?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
WuffTheCoder
Posts: 35
Joined: 23 Aug 2017, 13:35

Is it possible to communicate between 2 pcs via AHK?

11 Dec 2017, 12:15

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"
User avatar
Delta Pythagorean
Posts: 627
Joined: 13 Feb 2017, 13:44
Location: Somewhere in the US
Contact:

Re: Is it possible to communicate between 2 pcs via AHK?

11 Dec 2017, 14:28

Yes and no. Yes you can do it. No, it's not going to be easy :P

[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat

euras
Posts: 429
Joined: 05 Nov 2015, 12:56

Re: Is it possible to communicate between 2 pcs via AHK?

11 Dec 2017, 15:17

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.
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: Is it possible to communicate between 2 pcs via AHK?

12 Dec 2017, 03:56

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.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: RandomBoy and 253 guests