The application can be remotely controlled via XML-based protocol with a set of supported actions. Connection should be established using TCP or UDP protocol. TCP and UDP have the same capability.
Action based protocol allows other software to control Paint application.
Message format
Format of the data sent over the TCP/UDP channel is plain text XML.
Example:
<Pause/>
Example of action with parameter:
<Play value=”1”/>
UDP connection requires one message per datagram. TCP connection expects the messages terminated by null character.
Example of configuration:
<RemoteControl> <Enabled value="1"/> <Port value="UDP5000"/> <!--UDP at port 5000, use e.g. TCP5000 for TCP protocol --> <Protocol value="ACTION"/> </RemoteControl>
Available actions are described in the file doc/Actions.html (or Start menu → Paint 10 → Documentation → Actions)