This document was generated from CDN thread Created by: Corey Canfield on 29-07-2010 05:23:03 AM I'm having a hard time issuing key press and key click via xml. This is what I've tried:1http://<IP>/formputxml?xmldoc=<Command><Key><Click item="1" command="True">MuteMic</Click></Key></Command> Returns a white screen when I look at the source it says:<Command></Command>Also tried:1http://<IP>/formputxml?xmldoc=<Command><Key><Click item="1" command="True">MuteMic</Click><Release item="1" command="True">MuteMic</Release></Key></Command> returns the same thing:<Command></Command>Also tried both of these commands as key presses with the same results.At first I thought it was formatting, but the parser typically returns a formatting error code of some type.Does anyone have any ideas?ThanksCoreySubject: RE: Key Press & Click XML issue Replied by: Viggo Fredriksen on 29-07-2010 12:58:44 PMHi Corey, ideally your input should return some more useful error message (e.g., command not foundor illegal argument etc.), as your input is indeed wrong.The command you're trying to execute is:1xcommand Key Click Key: MuteMic
Which translates into the following XML:1<Command>
2 <Key>
3 <Click command="True">
4 <Key>MuteMic</Key>
5 </Click>
6 </Key>
7</Command>
Which results in the following formputxml URL:12http://<ip>/formputxml?xmldoc=<Command><Key><Click command="True"><Key>MuteMic</Key></Click></Key></Command> You're actually missing the Key argument and added Release in addition. A Key Clickcommand is both Key Press and Key Release.Subject: RE: Key Press & Click XML issue Replied by: Corey Canfield on 02-08-2010 09:45:29 PMViggo,Just so I understand both sides, could you show me the equivalent of that command for an MXP?Thanks againCoreySubject: RE: Key Press & Click XML issue Replied by: Viggo Fredriksen on 03-08-2010 10:05:26 AMTerminal:1
2xCommand KeyPress Key: MicOff
XML:1
2<Command>
3 <KeyPress>
4 <Key>MicOff</Key>
5 </KeyPress>
6</Command>
Formputxml:12http://<ip>/formputxml?xmldoc=<Command><KeyPress><Key>MicOff</Key></KeyPress></Command>