<http://forum.pspad.com/read.php?f=2&i=10253&t=10251>
----------------------------------------------------------------
After reviewing SynEdit source, I found the format should be ecGotoXY (x,
y). SynMacroRecorder.pas:852 However, this causes PSPad to raise an error.
Currenly PSPad docs list the format as Data = PPoint; this is strictly for
internal use only. It does not apply when creating PSPad macros.
I tried creating a macro that uses the optional repeat count and found
this also raises an error. (ecRight 2) I am lead to believe that this and
any other command that uses a parameter is not currently supported by
PSPad.
In addition, I found that any command supports character writing. For
example ecRight{Hello} does the exact same thing as ecChar{Hello}.
Jan, any thoughts on this?
You can use setCaretPos(x, y) as an alternative method.
http://gogogadgetscott.info/pspad/functions.htm#setCaretPos
[%sig%]
--
PSPad freeware editor http://www.pspad.com