PROGRAMA is a .NET program that I don't have the source code to and can't change.
PROGRAMB is my PB program. It can find one of PROGRAMA's windows and simulate keyboard entries to populate it. I know--it's not the best method, but it's all I need.
What I would like to do is have PROGRAMB run constantly and monitor PROGRAMA to see when a specific window is shown at which time I want my program to populate it automatically.
I could constantly check FINDWINDOW or hook SHOWWINDOW, but is there anything better I'm missing? Something that could cause an event or anything else?
Thanks!
PROGRAMB is my PB program. It can find one of PROGRAMA's windows and simulate keyboard entries to populate it. I know--it's not the best method, but it's all I need.
What I would like to do is have PROGRAMB run constantly and monitor PROGRAMA to see when a specific window is shown at which time I want my program to populate it automatically.
I could constantly check FINDWINDOW or hook SHOWWINDOW, but is there anything better I'm missing? Something that could cause an event or anything else?
Thanks!
Comment