Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom formatting icon

Status
Not open for further replies.

twprima

Technical User
Nov 14, 2003
3
GB
I regularly cut and paste images and text into my emails, and to make them stand out, I always add a border and a shadow. This involves right clicking and making the appropriate selections.

I would like to be able to do this by selecting the picture object and then clicking on a button which has a macro within it that will do the rest.

This is something I do a lot of in MS Office using macros to do the work, but have never been able to intuitively work out how to do it in Notes R6.

Thanks


Terry
 
Terry, the following link might help you:


in the first section you might want to use for ListAll:

ListAll := "Password Generate/Unique Value|GenPWD":
"Signature append |SigAP":
" Append External Footer |InsExt":
" Mailing Address|InsMail":
"Document Selection by Date|SelByDate":
"Forward current Document|FwdDoc":
"Check / Set Form|SetForm":
"Authors for current Document|ShowAuthors":
"Open Doc by UNID from View|OpenDocUNID":
"Not Used 3|X3":
"Z OutBox Scan+ Send Mail ...|ScanOutbox";

I was able to compile and run and it is a decent sample.


Juliane
 
and of course you can also add a smart icon for a plain signature without a selection list with adding a formula like:

SigName := "Bjorn-Erik Wenz";
SigJobTitle := "Infrastructure / LN Development AsiaPacific";
SigDepartment := "Group IS - Information Systems";

@Command([EditInsertText];@NewLine+@NewLine);
@Command([TextNormal]);
@Command([EditInsertText];"Best Regards");
@Command([EditInsertText];@NewLine);
@Command([EditInsertText];SigName);
@Command([EditInsertText];@NewLine);
@Command([TextSetFontColor];[Red]);
@Command([EditInsertText];"----------------------------------------------------");
@Command([TextReduceFont]);
@Command([EditInsertText];@NewLine);
@Command([TextSetFontColor];[Gray]);
@Command([EditInsertText];SigJobTitle);
@Command([EditInsertText];@NewLine);
@Command([EditInsertText];SigDepartment);
@Command([TextEnlargeFont]);
@Command([TextNormal])


Juliane
 
Thanks Juliane for this insight into what you can do with smart icons. I've set up the signature one on my system too.

Would you know where can I find a glossary of @commands because I would still like to set up a smart icon to create a shadowed border around a picture object.

Terry
 
Probably the Lotus Domino Designer Help is what you are looking for:


Select the version you have.
Formulas with commands and functions can be found here.

Pictures are no problem using
IMAGE:="D:\\Notes\\Data\\ola.gif";
@Command([FileImport]; "GIF Image";IMAGE)

But I never did a frame.


Juliane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top