I've recently discovered the 'execute' command that allows command test
and debugging. It works quite well, but I have a couple of questions
about it. I'm using the following code in 'customize.xxe'
<command name="testCommand">
<macro>
<choice>
<sequence>
<command name="execute" />
<command name="alert" parameter="Return: [%_]" />
</sequence>
<command name="alert" parameter="Failed" />
</choice>
</macro>
</command>
<binding>
<keyPressed code="E" modifiers="ctrl" />
<command name="testCommand" />
</binding>
1.- If the command doesn't return a value, the alert message displays a
literal '%_' instead of an empty string. Is that the intended behaviour?
2.- The "Failed" alert message is never got. Again, is that the intended
behaviour? If so, is there a way to know if the command fails or not?
Thanks,
--
------------------------------------------------------------------------
Manuel Collado Machuca | Facultad de Informatica UPM
Universidad Politecnica de Madrid | Campus de Montegancedo
Dep. LSIIS | Boadilla del Monte
Tel.+34-91-336.74.57 Fax.+34-91-336.74.12 | 28660 MADRID - SPAIN
------------------------------------------------------------------------