Paste Plain Text

August 29 2007 09:58:43 AM Add/Read Comments [35]
Have you ever used the menu command Edit  >> Paste Special... >> Text?   If so, here is a neat Lotus Notes add-on which will remove all rich text formatting of the clipboard contents (if they're HTML or Rich Text or a Spreadsheet selection) and paste it into your Notes client as just plain text.  Now instead of multiple steps using the menu options, you can simply use the keystrokes CTRL+SHIFT+Insert, or CTRL+SHIFT+V.

*If you don't know what I am talking about, then I guess I should do a separate blog entry on what Paste Special - Text does. :-)

NOTE:

- This is completely unsupported by IBM.   No really, don't call.
- This DLL is only for Windows.
- Once you have unformatted the clipboard contents with this, the rich text properties are gone. So even if you use the standard CTRL+V afterwards, only plain text will be pasted.   You'll have to copy the rich text to the clipboard again if you need the full formatting.

Install instructions:

1) Copy the accelerator.dll file to your notes.exe directory.
Accelerator.dll


2) Add the following line to your notes.ini file:

extmgr_addins=accelerator.dll


3) Restart your notes client.
  1. Mark Dowling
    1 | 8/29/2007 11:14:19 AM

    Alan - presumably this dll came from some IBM/Lotus skunkworks? I'd love to be able to deploy it but it being unsupported might prove a bit tricky to justify! It would also be nice if Notes had some kind of Add-Ons interface like Firefox without mucking about in ini files.

  2. Alan Lepofsky
    2 | 8/29/2007 11:49:35 AM

    Hi Mark. I am in no way endorsing that you roll it out across your company. If it helps you great, that is what I am here for. If it causes problems, it wasn't me! ;-)

  3. David Schaffer
    3 | 8/29/2007 12:30:40 PM

    How great! I'm constantly doing Paste Special - Plain Text and it always seemed there should be a shortcut.

    One gotcha -- folks may already have an "extmgr_addins=" line in notes.ini. Just add ",accelerator.dll" to the end of whatever is already there.

  4. Maria Helm
    4 | 8/29/2007 12:58:11 PM

    David Schaffer - Thanks for the gotcha warning. That got me, and I thought I would end up really disappointed, until I read your comment and that fixed things right up!

    Alan - Really, please tell us who wrote this so we know who to thank! This is awesome. I just tested it out, and it's going to make a LOT of jobs easier.

  5. Peter
    5 | 8/30/2007 2:14:54 AM

    Hey, is this supported with Notes 7 or just with 8 ?

  6. Alan Lepofsky
    6 | 8/30/2007 8:55:08 AM

    It is NOT SUPPORTED in any version... but yes it works with 7.

  7. CB
    7 | 8/30/2007 12:49:07 PM

    Awesome!

  8. Steve Yates
    8 | 9/4/2007 4:58:20 AM

    Wonderful. Been trying to write a Macro to pass formatted text through Notepad to achieve same thing, now I don't have to. Many thanks

    Steve

  9. Saar
    9 | 9/4/2007 7:13:02 PM

    Thanks. I have been waiting for this for a long time...

    Saar

  10. OK
    10 | 9/16/2007 5:39:10 PM

    thanks..

  11. Stephen
    11 | 9/18/2007 3:28:54 PM

    THANKS!

  12. Phil West
    12 | 9/25/2007 3:47:32 AM

    Nifty!

    Can we have it built-in to the client please?

    and for Christmas I'd like a pony and a plane and a motorbike. Thanks!

  13. Alan Lepofsky
    13 | 9/25/2007 7:21:28 AM

    LOL Phil. Unfortunately IBM's lawyers won't let Lotus endorse any such ponies, as we don't want to offend any other animals.

  14. Dave H
    14 | 9/27/2007 5:45:58 AM

    Does this work with 6.5.4? It hasn't made any difference in my client - which is annoying as I hate having to constantly use 'paste special'.

  15. Alan Lepofsky
    15 | 9/27/2007 11:33:25 AM

    Dave, I'm not sure, but I think it should work. Have you set up everything as outlined, and restarted Notes?

  16. Steve Yates
    16 | 10/26/2007 2:48:42 AM

    An upgrade from 7.02 to 8 removed the functionality but was able install it in 8 w/o problem. The entry in notes.ini had disappeared.

    Steve

  17. Brett v G
    17 | 11/29/2007 7:31:42 AM

    I have found that (very sadly) this add-in causing some issues. One of the things it does is block some sort of threading to Windows dialogues. An example is that while using it and trying to use the Sametime Print Capture tool with Notes running and the add-in enabled the save dialogue will hang. Exiting Notes (or running without the add-in) solves the issue. And it is not just the Sametime Print Capture tool... I have found several others too. Any chance of a fix?

  18. Alan Lepofsky
    18 | 12/3/2007 10:31:31 AM

    Hi Brett, I can mention it to the developer who created it... but this is 100% unsupported, so I don't know if/when he/she could get around to it.

  19. Drago
    19 | 7/25/2008 9:55:16 AM

    Unfortunately doesn't work with 6.0.3

  20. armin heigl
    20 | 2/19/2010 2:01:44 AM

    works absolutlely perfectly. lotus notes 8.51.

    thank you!

  21. Greg Schmidt
    21 | 5/5/2010 4:17:45 PM

    It seems our 8.5.1 installation has no notes.ini file? I searched the entire HD and found older versions. There was one dated 2/11/2010 in /Windows but it was nearly empty so am guessing it was only used for the upgrade that happened about then? Tried it anyway and it didn't work. Also searched contents for extmgr_addins with no luck. Poked around in the registry some but didn't really know what to look for there. Where is our installation hding this? Thanks, Greg.

  22. Greg Schmidt
    22 | 5/6/2010 10:50:35 AM

    Never mind about the location of notes.ini file. I found it. For some reason windows search would not find it unless I was already in that folder. Go figure. Sorry to have bothered you.

  23. Tim M
    23 | 11/19/2010 1:35:34 PM

    Anyone tried this with Notes 8.5.1 on Windows 7? Tried it on multiple Win7 computers and it seems to cause Explorer.exe to hang. Closing Notes releases Explorer.exe, and/or removing the line in the .ini file confirms that it was causing it..

  24. Tim M
    24 | 11/23/2010 9:44:38 AM

    Addition to my previous comments Alan: in no way was I trying to bash the product. I've completely been spoiled by this functionality in my day to day work and would love to figure it out for Win7. Any help you can give is much appreciated.

  25. Alan Lepofsky
    25 | 12/9/2010 11:01:59 PM

    Hi Tim. Sorry the code no longer seems to work. As I'm no longer at IBM, I don't have access to find out if there is a newer code.

  26. Tim M
    26 | 12/13/2010 12:49:57 PM

    Understood. Thanks for the reply Alan.

  27. Rand
    27 | 2/10/2011 9:37:05 AM

    Thanks for this, you've restored some of my sanity. The real question is why do so many other programs do this so seamlessly? Oh ya it's Lotus Notes where the motto must be "We not happy until your NOT happy!!

  28. Radka N.
    28 | 3/24/2011 7:59:23 AM

    Does any has any idea how to do this in LN 8.5.2 on Win7?

    When we paste Cyrillic or Czech characters from Word 2010 to LN it changes that to unreadable text. Is there any option how to set "Paste as plain text" as default paste action?

  29. Travis Rosenbaum
    29 | 5/11/2011 8:24:30 AM

    Awesome! Thanks, this is a lifesaver!

  30. ptr_
    30 | 9/9/2011 5:01:30 AM

    you mind sharing the source-code for this? (no prob if you don't, I just have difficulty trusting binaries :-)

  31. Peter R Bullen
    31 | 9/22/2011 8:29:56 AM

    As for Tim M (see comments above), I am also finding that this DLL is creating problems under Windows 7 (using Notes 8.5.1).

    I resolved it by rebooting & removing the DLL from my Notes folder (and from notes.ini). The issue occurs when using Alt-Tab to switch between programs (the popup never disappears).

    Too bad! This was working fine for me in WinXP / Notes 8.5.1.

  32. Patrick Tippner
    32 | 1/23/2012 6:58:09 AM

    seems to work fine for me with Windows 7 (64Bit) and the latest Lotus Notes 8.5.4 beta (CD2); no problems encountered so far!

  33. Dietmar Dumke
    33 | 6/28/2012 4:34:46 AM

    This issue caused me real headaches for months after moving to Win 7 64bit. The plugin definitely causes Explorer, command prompts and other parts of Windows to hang, as described by Tim M.

    @Brett v G: Reading this, I remember I once were also experiencing similar issues with Sametime Print Capture (still under Windows XP 32bit). I never thought that this plugin could be the cause.

  34. marcin
    34 | 9/19/2012 5:52:50 AM

    Works in Win7 64bit like a charm...

    copy file *.dll into C:\Program Files (x86)\IBM\Lotus

    modify file notes.ini located at... C:\Users\"youruseraccount"\AppData\Local\Lotus\Notes\Data

    add extmgr_addins=accelerator.dll on the bottom of this file.

    restart LNotes

  35. Win7 User
    35 | 4/12/2013 10:53:18 AM

    I experience the same issue as Dietmar. Explorer hangs while using the Accelerator. Although, as I understand the extension is unsupported, is there any chance of anyone looking into the issue. Alternatively, is there a possibility of opensourcing the extension, so it can become "community supported"?