Create hotspot to open attachment in same memo

Hi Everyone,

I would like to create a hotspot which will send an email (done!) but also open an attachment according to the name of the hotspot. The attachment would be embedded on the same document but in a collapsed section. Is the only way to do this by an agent or can some simple @commands do the trick?

If agent, please could someone put forward a suggestion?

In addition, is there a way to make the hotspot look like a normal attachment, eg excel file? I’ve tried to import an icon and put text below it but you can’t group them together.

Many thanks in advance

RodP


20/02/09

Can anyone help??

Many thanks

RodP

Subject: RE: Create hotspot to open attachment in same memo

@Commands only are are available to open the attachment when it has focus. Repositioning focus to a particular attachment that’s in a closed section may be tricky. But you can detach and open a file with LotusScript, without affecting focus. It doesn’t have to be an agent – you can put script in a button.

Creating the attachment as you have mentioned is tricky. I assume you’re doing this on a server. The icon comes from the OS based on what software is registered to handle the file (based on its suffix). But if you do it in the back end I don’t think that applies. You could create an image with a caption and make it a hotspot, but it wouldn’t be an image attachment.

Subject: RE: Create hotspot to open attachment in same memo

Hi Andre,

Many thanks for your reply and sorry for not replying until now. My main aim for using a hotspot was also to simply send an email in order to report that the attached file in question has been viewed by a certain person.

I Presume lotus script can handle this too. If possible, please could you provide some example lotusscript to open an attachment (in the same active document) perhaps based on the title of the button (eg if the the button title is called ‘Report 1.xls’, when clicked on, it will open the file in this document called ‘Report 1.xls’.

I’d then like to find out if it’s possible to change the button in some way to make it look like an Excel icon… .any ideas??

Many thanks in advance for you help

RodP

Subject: Create hotspot to open attachment in same memo

Hi Everyone,

I’m still looking for some help on this. If there are any ideas how you do this, I’d be greatful for a response.

Many thanks in advance

RodP

Subject: Create hotspot to open attachment in same memo

Bump!