I am writing an application which needs to "drive" several other apps. It acts as a virtual user, navigating and entering data into these other apps as if a real user was at the keyboard & mouse. It controls other apps via various means:
- The other programs’ API calls (if any exist).
- DDE calls (if any exist).
- Determining the condition of the other app by reading its fields, labels, & buttons via Win32 API calls.
- Posting click & keyboard events via Win32 API calls.
- The Visual Basic "SendKeys" command.
I am not doing any OLE automation (mainly because I am not familiar with it).
So far, I have been pretty successful with a few apps, but I seem to have hit a brick wall trying to control Netscape. As I understand it, the Netscape API is implemented as a series of 27 DDE calls, documented at http://home.netscape.com/newsref/std/ddeapi.html
. They seem centered around very high level actions such as selecting a URL and the browser environment, but not contents of the browser itself. I can determine the buttons’ text on the browser window via Win32 API calls, but when I send Win32 API messages to the buttons (such as "click" the button) the messages seem to be ignored.
Question: is there a more complete API set for Netscape? Would OLE be of any significant use?