Its easy to get labview to start other applications (simulate double-clicking on an EXE file). For example, if you wanted LabVIEW to start Microsoft Excel, use the "System Exec.vi". Wire the path to Excel.exe into the command line input of "System Exec.vi":
However, it seems like your question is a bit more complicated than that. Perhaps you could provide a little bit more, Lisa.
I don't know what you mean by "essentially simulating the mouse clicking ok". Does a dialog window pop up after you start the first application?
If so, that might be a bit tougher. I'm not really sure how to simulate clicking on OK in a dialog box in another application. However, you might want to try using the "Quit Application.vi" that is included with the
lvwutil-32 library (avaiable for download from NI's website). With this VI you can specify the name of a "window" and it will automatically "quit" that window (like clicking on the X in the upper right corner of the window). But I don't know if it works for dialogs... and its only for use on Win32 platforms.
Otherwise, you might want to check if the applications you want to control have some kind og Active-X interface.
http://www.medicollector.com