#7357
Support 1a
Participant

    The following code may help. (When recording, you need to use TAB to navigate between fields in order for the recorder to see your actions).

    Sub Main(Client, GWEvent)
    
       call GroupWise.FocusSet(9, "")
       call GroupWise.ItemSetText("X00", itfSubject, " :Secure", true)
    
    End Sub

    The key here is the ItemSetText command (you’ll find it documented in the users guide). It appends the text ‘ :Secure’ to the end of the subject of the current message (denoted by the message ID ‘X00’).

    I hope this helps.

    Advansys Support