Hi, the docs really seem to imply this, but I don't have any experiences in
using a macro for this.
Sofar I only use the macro commands without parameters in scripts (actually only
ecChar, ecGotoXY and ecSelGotoXY seem to require parameters)
e.g.
the following javascript function should select the next character to the right
from the caret (the command string is without parentheses at all).
cite:
--------------------------------------------------------------------------------
function selRight(){
var actEd = newEditor();
actEd.assignActiveEditor();
actEd.command("ecSelRight");
}
--------------------------------------------------------------------------------
I really don't know, if it is also possible, to send macro parameters this way;
it seems easier to me, to use directly the script commands which work in a
simmilar way (althought they are not quite identical).
--
<http://forum.pspad.com/read.php?2,17483,39990>
PSPad freeware editor http://www.pspad.com