1

In Microsoft Windows 10 and Notepad, or LibreOffice, or more generally, is there a way to add to the menu that pops up when right clicking an option to paste with quote marks added, so that I don't need to use the keyboard at all?

I find it quite a hassle to add quotes. If this is not possible how about a way print a single quote mark, so that I can add quotes at the start and finish of what I have pasted without using the keyboard?

For example, I'd like to be able to use only the mouse and screen to select and copy:

a hassle to add quotes

and then paste it in to Notepad, say, and see it with quotes around it:

"a hassle to add quotes"

I hope that makes my question clear.

I just found out from the XMBC website Microsoft has something called Intellipoint. Would that be able to solve the problem? "Originally, I wrote XMBC because Microsoft was slow to release a proper working Intellipoint package for Windows XP x64 back in 2003/4. They have released such a package now but as far as I'm concerned, they were too slow!. Anyway, XMBC is tiny in comparison, takes far fewer system resources and offers more functionality and configuration options, including different button mappings for individual applications!"

My need is for something that is safe, easy, and that I don't need to troubleshoot. I am not as nerdy as I would like to be.

1 Answers1

0

Using macros it is possible to add this functionality directly into LibreOffice Writer

Enabling Recording of Macros

  • Choose Tools->Options...->Advanced
  • Ensure you have a Java Runtime Environment installed. If not then you should rerun the LibreOffice installer and ensure the option is ticked, then return to this dialog
  • Ensure the Enable macro recording (may be limited) checkbox is ticked
  • Click the OK button to save settings Advanced settings

Creating the Macro

  • Copy some text to the clipboard using another program
  • Choose Tools->Macros->Record Macro
  • Type a ", press ctrl + v, then type another "
  • Click the Stop Recording button in the little popup window
  • A dialog appears
  • Give the macro a useful name like "PasteQuoted" (no spaces allowed) and save under My Macros

Adding the Option to the Context Menu

  • Choose Tools->Customise...
  • Click the Context Menu tab
  • From the Target dropdown on the right-hand side, choose Text
  • From the Category dropdown on the left-hand side, choose Macros
  • Locate the macro you recorded earlier within the Function tree-view and select it
  • Click the -> button to add it to the context menu
  • The text can be customised
    • Ensure the newly added item is selected
    • Click Modify->Rename
    • Enter the desired text, e.g. "Paste with Quotes"
    • Click OK
  • You may also want to change the item position using the up and down arrows
  • Click OK to close the main dialog Customising menu

The right-click menu should now show the option and clicking it should do what you asked

enter image description here enter image description here

Many other applications also support macros and can have this functionality added using a similar procedure, for instance Notepad++ which is an powerful replacement for Notepad.

James P
  • 11,612