« Can we get a little Divine Intervention here? | Main| ARE YOU READY FOR SOME FOOTBALL? »

Update: Signature Block Wizard

QuickImage   
Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

The other day I described a "toolet" I had written called the Signature Block Wizard. It is a bit of code that you can mail out and allow your users to create nice, HTML/CSS-based signature block without any coding skills needed.

Doug Cohen of SUNY
(State University of New York) has modified the toolet to use a directory that isn't tied to the user's My Documents directory; as Doug correctly pointed out, if you replicate your mail file between multiple machines the My Documents directory isn't a good one to use.


I have also added some code that allows the user to choose to either use the default (i.e. attached) graphic, or to choose one of their own.


Here are the resources (
Sig_Script_Resources.zip) - the ZIP file contains three files:
  • maillogo.jpg - this is a Lotus graphic that you can use as an example
  • my_sig.htm - this is an example HTML file; you can modify it to suit your needs
  • sig_wizard_v2.lss - the code for the button; simply import it into a button in your mail file, and attach the two other files

Anyone else who chooses to enhance this project please feel free to send it to me, and I will post the update (with credit, of course) for all the world to enjoy!


Rock

**Everyone has a right to be stupid. Some just abuse the privilege

Comments

1 - Hi Rocky

I have made a lot of changes to your code (cleaned it up, converted it to a class, read the user settings from the N&A (Domino Directory), read the HTML / Logo File from a central database etc). I would like to send you the updated code, unfortunatly I cannot find your email address anywhere on your site. Could you please send me it?

Thanking you in advance
Ursus Schneider

2 - Rocky, quick question, how can I inlcude my signature only on new emails, (not on replies). I'm new to Lotus Notes, and so far I have mixed feelings about this email client. Any assistance will be greatly appreciated.

thanks

3 - yeah, Rocky, how 'bout providing Ursus with that email address and then graciously publish that code?

/airplay

4 - Hello Rocky,

I'm a Lotus Domino admin for around 8 years now and I'm trying to teach myself some LotusScript. I came across your Script for the Signature and I am wondering how I can change where the Script calls the directory to get the Image files from. I am looking to pull it from a network drive that all users are mapped to. Currently you map it to the Users My Documents\My Pictures directory. This is the string that I'm talking about.
userdirdef = Environ("USERPROFILE")
newpicpath = ws.OpenFileDialog(False, "New Sig Graphic", "All files|*.*|Bitmap|*.bmp|JPEG|*.jpg|GIF|*.gif", _
userdirdef & "\My Documents\My Pictures", "*.*")

Thanks for writing some great scripts for people like me to look at and learn with.

Dan

5 - I am an Admin - not a Developer, so I don't know LotusScript. Could you tell me how to remove the third line in the signature - IBM Corporation\LotusSoftware and replace it with our company name? I also need to get rid of the TIE reference.
Otherwise it works great and would really like to offer it to our school system adminstrators. Thanks!!

6 - Did you make sure the sig degrades gracefully when watching the text part of the message? All my mail clients are configured to disregard the HTML portion of the mail.

7 - Sure, you had to show me up and do one better by adding the prompt allowing users to select their own picture.

8 - Same as CathyM, could you please also tell me how to remove the third line in the signature - IBM Corporation\LotusSoftware and replace it with our company name? I also need to get rid of the TIE reference. This is great. Just what we need.

Thanks

Meet Rocky

Rock - February 2010
Rocky Oliver
If you see me at a conference, please stop me and say hi!

Calendar

Search

Categories

Proudly Employed By

Wofkflow Studios

Thawte Notary

Thawte Web of Trust Notary

LOTUS GEEK gear

Social Networking


Add to Technorati Favorites

View Rocky Oliver's profile on LinkedIn

Rocky  Oliver

LotusGeek Blog Roll

Why display a blog roll when Planet Lotus does it so much better?

Dilbert

Buy my book!

Blog Buttons

Atheist - Unitarian - Humanist

Poker Players Alliance