Question

I frequently use the "Reply with History without Attachment(s)" and "Reply to All with History without Attachment(s)" in Lotus Notes, and want to create buttons on the toolbar for these. Can anybody help with the @Command script for this?

I have tried using @Command([Compose];"Reply With History") but it replies only to sender, and with attachments.

Alternatively, is there way to assign a key sequence to a button? e.g. Alt+A-R-R / Alt+A-P-R

I am on Lotus Notes 8.5.

Was it helpful?

Solution

What you are looking for is

@Command([ComposeWithReference]; server : database ; form ; flags) 

From Notes help: Flags:

Number. Optional. One or more of the following reference attributes. Combine attributes by adding them. Defaults to flags 3 plus 4. You must supply this parameter in Web applications. ... 16 -- Removes attachments, images, and other large objects from the reference copy, replacing them (except on the Web) with text statements in brackets.

Sample code: @Command([ComposeWithReference];"":"";"Reply"; 19) => flags 3 + 16

EDIT: If you custommize a mail file / mail template, add the following formular before the @Command:

@Environment("MailStEd";"9");

This makes sure you make a ReplyToAll

So the working code should look more or less like this (customize flags to match your needs):

@Environment("MailStEd";"9");
@Command([ComposeWithReference];"":"";"Reply"; 19)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top