OpenNTF.org - Detach Remove and Link
My Links (Not logged in)
Code Bin Search
 
Hosted by Prominic.NET
Rate This Code
5 - brilliant stuff
4 - very nice
3 - average
2 - needs work
1 - bad
   OpenNTF Code Bin
About This Code
Brief Description:
Detach Remove and Link 
Rating:
Rating: 1 , Number of votes: 1 
Contributor:
Johannes Tyve 
Category:
Lotusscript 
Type:
Email 
Notes Version:
R6.x, R7.x 
Last Modified:
05 Apr 2007 
OpenNTF Disclaimer

All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.

Code / Description
An Swedish version of the Sandbox tool to detach, remove and link attachments http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/fe7542cd3b120e1b00256c38004a6a27?OpenDocument&Highlight=0,attachments,url


* Modified to work in R6 and R7
* Add an property "DetachedAttachements" if attachements are removed.
* Base folder is Desktop instead of My Computer.

V2
* Added a check for attachments to remove an error message reported by Adam Marshall

Swedish description:
* Översatt dialoger till svenska
* Modifierad för att fungera i R6 och R7
* Fungerar även inifrån ett brev, inte bara från en vy
* Bytt dialog för val av katalog så att det även går att nå nätverksplatser

V2
* Kontroll av bilagor för att undvika ett felmeddelande rapporterat av Adam Marshall
* Lagt till en Shared Action som kan användas i Memo formuläret

Usage / Example
Lägg in agenten i postdatabasmallen
Skapa knappar för att köra agenten om användarna inte är vana att använda åtgärdsmenyn
Code Attachments
D_R_L_v2.nsf (384 Kbytes)
 Comments
Posted by adam marshall on 03/28/2007 10:43:01 AMhelp
Awesome Agent, just what i was looking for... Just 2 things:
Firstly, im having problems when links have spaces in the folder name, they do not link properly as the hyperlink cuts off on the space
C:\email attachments\test.jpg when the attachment is saved, the link will be c:\email which is invalid. Im unsure how to fix this as lotusscript doesnt support hotspots... If the link read c:\email%attachments\test.jpg it would work with the % instead of the " " but i dont know how to do that ? any ideas... ?
Secondly, if an email is RichText but has no attachments, it creates a syntax error. I have just skipped the error messages for now.... :)
Thanks alot :)
 Add your comment!