Creating a bot to automate the use of another application

foozball3000

Executive Member
Joined
Oct 28, 2008
Messages
5,827
We have an application that creates XML files that contains data about running SQL queries, but it can't bulk export. So, we tried modifying and generating the XML files directly, but that failed. The application that has to run the XML files again kept saying that the data is corrupted.

So, now we're planning on writing a bot in C# to automatically operate the application... and a lot faster than a human can. But I have no idea how to do this.

Any pointers?
 

dequadin

Expert Member
Joined
May 9, 2008
Messages
1,434
So you need your app/bot to run once the XML is created?

Check out FileSystemWatcher, you can drag it into a WinForm project from the toolbox.

EDIT: Of cource nothing stops you from using this in a Windows Service project either.
 

werner

Expert Member
Joined
Jun 27, 2005
Messages
3,400
i would start with something simple designed for this task, like autoit. i always end up referring simple tasks to this wonderful language...
 
Top