Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Leo's 5 Button Mouse control.


  • Please log in to reply
2 replies to this topic
TheLeO
  • Members
  • 264 posts
  • Last active: Jan 02 2012 01:51 AM
  • Joined: 11 Jun 2005
A nice and simple controll for people that have mice with 5 buttons (like me) that speeds up use of windows
///////////////////////////////////////////////////////
;>>>>Mouse Controlz<<<
~XButton1 & RButton::WinMinimize A              ;minimizes windows
~XButton1 & LButton::Send, {ALTDOWN}{F4}{ALTUP} ;closes stuff
~XButton1 & XButton2::Send, #d                 ;shows desktop
~XButton2 & RButton::AltTab                    ;alt tab function
~XButton2 & LButton::ShiftAltTab	       ;same jus the other way
~XButton2 & MButton::Send, {F11} 	       ;Full screen
~MButton & RButton::Send, {Ctrldown}c{CtrlUp} ;copies stuff
~MButton & XButton2::Send, {Ctrldown}v{CtrlUp} ;pastes stuff
~MButton & XButton1::send, {Ctrldown}x{CtrlUp} ;Cuts stuff *ouch*
~MButton & LButton::
Send, {Del}
WinWait,Confirm File Delete,,
if ErrorLevel 
	MsgBox, The window does not exist.
else
	Send, {Enter}
Return.
If you got windows in another language, m & l has to be
changed accordingly, also is you don't get a confirmation box, change accordingly. Alternativley you can use the " FileDelete " command.

all original buttons are still just as usable as before only the combos will trigure some thing.* ~ *
(ah yea, i got another program that makes my XButton1 and 2 be forward and back in explore but you can make your own one as well either way round:
XButton1::Send, {BROWSER_FORWARD}
XButton2::Send, {BROWSER_BACK}
there are still a couple of combos available that ive not typed up...

please leave some feed back, what you think? this is my first *Scripts & Functions* post

*by the way ive seen an 11 button mouse in a shop once :shock: Id have great fun programing that one*

[Edit]15/07/05
forgot to put in:
~XButton1 & XButton2::Send, #d ;shows desktop

[Edit]16/07/05
I've decided to include m & l button to be the deletion of files.
~MButton & LButton::....................

and while im on it.. what is the comand for *up a directory*? cause i want x2 & x1 assigned to that
::
I Have Spoken
::

foom
  • Members
  • 386 posts
  • Last active: Jul 04 2007 04:53 PM
  • Joined: 19 Apr 2006
Bachspace goes to the Parent Folder. You may want to check if the window the mouse is over auctually is a explorer window not to delete something by accident

TheLeO
  • Members
  • 264 posts
  • Last active: Jan 02 2012 01:51 AM
  • Joined: 11 Jun 2005
hehehh
you are so funny, it took you over a year to answer my question, by now i long figured it out,
backspace does not delete any thing in explorer, all it does is go up a parent directory, only the DEL button delets stuff.

but thanks for the advice any way.

p.s you miss-spelled backspace as bachspace (first line) ^.^
::
I Have Spoken
::