Hi all,

does anyone know of a reliable way for two Win32::GUI
scripts to communicate with each other? They run as
separated processes.

My idea was to simply write data to a file and send a
notification of some kind to the other process
(concurrent accesses not being an issue here).

What came to my mind in the first place was to use
'PostMessage'. Using Win32::GuiTest I am able to retrieve
the adressee's window handle, but what message should
I post?
As far as I know there is no support for user defined
messages (at least I have no idea how to retrieve one).

I also tried Win32::GuiTest's SendKeys function to notify
a dummy window in the other application by simulating
keystrokes. This gradually turned out to be a real horror
because the receiving control must be the foreground
window in order for SendKeys to succeed and every box
popping up at the wrong time spoils the whole thing...

Could you please help with better ideas how to
accomplish this?

TIA and Cheers,
  Peter

Reply via email to