Jump to content

Middle Click


Recommended Posts

Maybe this trick was mentioned here. If so then I'm sorry...

This script allows to copy selected text (from SciTE-Lite and others) by middle click without keypress {Ctrl+C} or context menu.

#Include <Misc.au3>
GUICreate('', -1, -1, -1, -1, -1, 0x80)
While 1
  If _IsPressed('04') Then
    Send ("^c")
    MsgBox(0, 'Clipboard text',ClipGet())

You can adapt it to make other jobs, i.e. to paste by middle click, to {Alt} open File line in IE or FireFox and so on.



The point of world view

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...