Kevin Flynn wrote: > It looks like that is my problem (the main macro code runs an XSL > transformation on the whole document, and replaces the old contents with the > transformation results). Is it possible to put the cursor back where it was > in such a situation, and if so , how? The overall structure of the document > is unchanged (all the transformation does is add/refresh some attribute > values).
Currently there is no way to do this in a macro-command. Of course, it is possible to do this in a native command written in Java.

