Jump to content
Sign in to follow this  
ValeryVal

Middle Click

Recommended Posts

ValeryVal

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

Share this post


Link to post
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
Sign in to follow this  

×