/ Forums / Advansys Formativ / Creating Solutions with Formativ / Auto-Inserting Text Into Message Body / Reply To: Auto-Inserting Text Into Message Body

#7133
Support 1a
Participant

    Thank you for your posting. I’ll ask an engineer to take a look at your code, though from a glance it looks OK.

    All the commands you use in this code are direct wrappers over the top the native GroupWise tokens. This infers a native GroupWise token is failing, as opposed to anything in the language.

    I’ll defer a full commentary until an Engineer takes a look, but I would probably move the Utilities.DoEvents() down to after the ‘Call Groupwise.focusSet(fcsMessage, “”)’ line, as this seems to be the area where the process fails. It could be that the Windows message queue is not being flushed, and thus the focus is not being reset, or the PosTextTop() command is not working.

    In any case, we’ll respond any additional suggestions here.

    Regards,

    Advansys Support