AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Leo's 5 Button Mouse control.

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
TheLeO



Joined: 11 Jun 2005
Posts: 201
Location: England ish

PostPosted: Fri Jul 15, 2005 12:28 pm    Post subject: Leo's 5 Button Mouse control. Reply with quote

A nice and simple controll for people that have mice with 5 buttons (like me) that speeds up use of windows
///////////////////////////////////////////////////////
Code:

;>>>>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 Shocked 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
_________________
And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
::
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
foom



Joined: 19 Apr 2006
Posts: 386

PostPosted: Fri Jun 23, 2006 5:49 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
TheLeO



Joined: 11 Jun 2005
Posts: 201
Location: England ish

PostPosted: Fri Jun 23, 2006 11:26 pm    Post subject: Reply with quote

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) ^.^
_________________
And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
::
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group