AutoHotkey Community

It is currently May 27th, 2012, 7:29 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: July 15th, 2005, 1:28 pm 
Offline

Joined: June 11th, 2005, 9:34 am
Posts: 264
Location: England ish
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 :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
::


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 23rd, 2006, 6:49 pm 
Offline

Joined: April 19th, 2006, 1:02 pm
Posts: 386
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 24th, 2006, 12:26 am 
Offline

Joined: June 11th, 2005, 9:34 am
Posts: 264
Location: England ish
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
::


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group