Jump to content

Middle Click


ValeryVal
 Share

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
  Sleep(100)
  If _IsPressed('04') Then
    Send ("^c")
    Sleep(10)
    MsgBox(0, 'Clipboard text',ClipGet())
  EndIf
WEnd

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.

Enjoy

:)

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
 Share

  • Recently Browsing   0 members

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