Lotusscript to create hotspot/button

Hello all, I’m pretty new to lotusscript and struggling to create a script that would put a hotspot (or a button) into a new memo so that a recipient can click on it and be redirected to the site.

Now I have to create the link every time I write a mail (not possible to set it as signature, as the option to insert signature from HTML ot text file is disabled by admin for God knows what reason)

Could you please point me in the right direction? Thank you in advance!

Oleg

Subject: lotusscript to create hotspot/button

Take a look at the code on this page:nsftools - Lotus Notes and Domino Tips

search for

Append a Button to a Rich Text Field

I don’t own the my code so can’t post it here

Subject: RE: lotusscript to create hotspot/button

thats a lot of code there :wink: still struggling to make it work…

Subject: lotusscript to create hotspot/button

open a new memo and put the curser in body field and in click on creat menu in that you find the hotspot select then then automatically the hotspot button is created on in your new memo.

and right click on the hot spot and click on edit button then it open in design mode then u can select lotus script and write the code what ever you want

Subject: RE: lotusscript to create hotspot/button

kiran n kumar09, Thank you for you reply, however I’m trying to create the button/hotspot using lotus script or @Command/@Function.

The goal is to automate the process, as I have to insert the same link every time

Oleg

Subject: RE: lotusscript to create hotspot/button

if you are doing this in your mail file then create your button in the body field in a new memo and save it as a draft. now use the doc ID of that draft to get a handle to it. Now you can use LS to “grab” the draft and copy the Body item to a new memo. this will place the button from the draft into the new memo’s body field.

Subject: RE: lotusscript to create hotspot/button

Paul, Can you prompt how I can do that? this option would be perfect if I could make it work…

Subject: RE: lotusscript to create hotspot/button

I did explain how to do it.

Subject: RE: lotusscript to create hotspot/button

I dont know which @Functions can be used for this…

Subject: RE: lotusscript to create hotspot/button

you need to use lotusscript

Subject: lotusscript to create hotspot/button

i want to know u have designer access or not because if u r not able to open the database in designer then we have to do some other code

Subject: RE: lotusscript to create hotspot/button

I can create an agent, if thats what you mean. I tried coulple of lotusscript samples, but no luck so far… I cant fint a script that would grab a predifined signature with button/hotspot and paste it into the new mail…