Project Description

An XML script file acts as the command file, recording the flow of events. Any logical sequence of supported tags can be used to emulate user interaction with an application.

Supported Tags

send
sendwait
wait
launch
focus
move
click
dblclick

To take a simple example, your command file to launch Calculator
and do a multiplication will look like this.

<command id="Test01">
<launch process="calc" />
<focus process="SciCalc" title="Calculator" />
<sendwait value="123" />
<sendwait value="*" />
<sendwait value="12" />
<sendwait value="=" />
</command>

and the code to invoke would be as below.

SendKeysEx target = new SendKeysEx();
string XmlFilePath = @"D:\KeyFeed.xml";
string CommandId = @"Test01";
target.SendXml(XmlFilePath, CommandId);


Last edited Dec 11, 2007 at 2:56 AM by fozylet, version 2