I am writing a program for a customer that takes thier database every night and exports the on hand amount and interacts with thier website to change the qty. (This part is not a problem)

The issue I need to solve is automation of exporting the data. The database is encrytped and the only way to export the data is from inside the software (RICS if anyone has ever delt with this program.) The only solution I can think of is to simulate key strokes through my program and export the data every night. Can this be done? If so how? Or can anyone think of a better method?

Thanks!

Anjari