Create a simple window to receive messages from AutoHotkey

Hello,

I have a need to create a window (really to just get an hwnd) in
python so that I can receive messages from an autohotkey (see
http://www.autohotkey.com/docs/commands/OnMessage.htm and
http://www.autohotkey.com/docs/commands/PostMessage.htm ) script. To
be honest, I don't care how this messaging is accomplished. I just
need to be able to report that a script has completed in my autohotkey
script and then (maybe with http://timgolden.me.uk/pywin32-docs/win32gui__WaitMessage_meth.html
) wait for this response in my python script.

I can send messages (with http://timgolden.me.uk/pywin32-docs/win32api__SendMessage_meth.html
) to my autohotkey script which receives them with the onmessage()
(see http://www.autohotkey.com/docs/commands/OnMessage.htm )

Any ideas would be really helpful. I am a beginner so sample code is
especially appreciated.

fogus

fogus wrote:

Hello,

I have a need to create a window (really to just get an hwnd) in

widget.GetHandle() will give you the hwnd.

···

--
Robin Dunn
Software Craftsman