Problems creating button properties @Command

Hi, Trying to create a button in Notes for use in emails. The mail is delivered from a generic mailbox to several recipients. I need to receive reply mails back to the generic mailbox (easy), but I need the subject line to be in the Re: format.

So where I have @Command([EditInsertText]; “Service Activation - Acknowledge”);

in the below script, I want to replace the contents with the original subject line prefixed with Re:

@Command( [Compose] ; “Memo”);

@Command( [EditGotoField] ; “EnterSendTo”);

@Command( [EditInsertText] ; “email address”);

@Command([EditGotoField]; “Subject”);

@Command([EditInsertText]; “Service Activation - Acknowledge”);

@Command([EditGotoField]; “Body”);

@Command([EditInsertText]; “I acknowledge the Service Activation notice and have completed tasks as necessary”);

@Command([MailSend]);

@Command([CloseWindow])

Any ideas? Thanks in advance.

Subject: Problems creating button properties @Command

This might work:

OriginalSubject:="Re: " + Subject;

@Command( [Compose] ; “Memo”);

@Command( [EditGotoField] ; “EnterSendTo”);

@Command( [EditInsertText] ; “email address”);

@Command([EditGotoField]; “Subject”);

@Command([EditInsertText]; OriginalSubject);

@Command([EditGotoField]; “Body”);

@Command([EditInsertText]; “I acknowledge the Service Activation notice and have completed tasks as necessary”);

@Command([MailSend]);

@Command([CloseWindow])

Alex

Subject: RE: Problems creating button properties @Command

Nice one Alex, it most certainly did, thanks.

You can even go a stage further entering comments before and after the original subject line;

OriginalSubject:=“Re: " + Subject + " - xxxxxxxxxx”;

Subject: Nice! Glad to have been of help.