3

Is there any application to paste the same text every time with middle button?

I have seen tools to paste the clipboard text, But I am looking to paste the same text every time I click the middle button of my mouse.

6
  • In most applications the middle mouse button is a reserved hotkey. In Office it activates mouse scroll and in browsers it opens a link in a new tab. Can you use a keyboard shortcut instead?
    – CLockeWork
    Jul 12, 2013 at 10:47
  • Also, can detail what you mean by post the same text? Do you want to have the user define this, or will it always be the same words, programmed in?
    – CLockeWork
    Jul 12, 2013 at 10:50
  • I need to paste the text in firefox, Keyboard shortcut taking a bit time and its faster to go with mouse. I want to have this as user defined and the same text needs to be pasted every time. Jul 12, 2013 at 10:55
  • So you want to create a new function, to allow middle-mouse to paste text from a bespoke location, rather than from the clipboard? Will this be a Firefox plugin or extension? It would help if you could explain why you want to do this. Sorry for all the questions, but you're more likely to get a good answer if your question provides all the info needed.
    – CLockeWork
    Jul 12, 2013 at 11:02
  • A predefined text? Hmm, thats sad. I just found AutoCopy (Firefox Extension) which pastes with middle-click the current selected text. I guess, that doesn't fit your needs 100%?
    – nixda
    Jul 12, 2013 at 11:14

2 Answers 2

2

Something like this is easy to achieve with AutoHotkey:

SetTitleMatchMode 2
#IfWinActive Firefox
  MButton::
    SendInput Hello World!
    Return
#IfWinActive

Install AHK, save the above in a text file with .AHK extension, then run the script.

1
  • Thank You , This is what I am looking for. It is extremely wonderful. Jul 14, 2013 at 9:24
0

You could probably use Makro Toolworks, it lets you record or create key or mouse inputs and execute them with any mouse/keyboard button you like.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .