| View previous topic :: View next topic |
| Author |
Message |
albundo
Joined: 26 Jun 2006 Posts: 3
|
Posted: Thu Jun 29, 2006 5:29 am Post subject: Up in folders with middle click... |
|
|
I liked that in some file managers you can double click on the background to go up a level, so I made a simple script that allows this in both Explorer folders and open/save dialogs with the middle mouse button (doesn't have to be over the background, and MMB isn't normally used for anything). It just sends backspace when you middle click in a folder view.
Enjoy!
| Code: | ~MButton::
MouseGetPos,,,,hovercontrol
if hovercontrol = SysListView321 ; folder windows and background in open and save dialogs
Send {Backspace}
else if hovercontrol = #327701 ; items in open and save dialogs
Send {Backspace}
Return |
|
|
| Back to top |
|
 |
Szara
Joined: 24 Jun 2006 Posts: 8 Location: The left side of Canada
|
Posted: Thu Jun 29, 2006 7:35 am Post subject: |
|
|
Thank you so much for this. I get myself in trouble by double-clicking in those windows and having them not respond...this will help a great deal! _________________ If I'm asking a question about AHK, it's only because I can't find the answer anywhere else. I swear, I looked!
AutoHotKey has saved me at least 8 hours a month of data entry. What has it done for you? |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Thu Jun 29, 2006 9:59 pm Post subject: |
|
|
Explorer ? _________________
 |
|
| Back to top |
|
 |
albundo
Joined: 26 Jun 2006 Posts: 3
|
Posted: Fri Jun 30, 2006 1:29 am Post subject: |
|
|
| majkinetor wrote: | | Explorer ? | ...as in explorer.exe (Windows Explorer). |
|
| Back to top |
|
 |
rghammo Guest
|
Posted: Sun Jul 09, 2006 4:28 pm Post subject: Left Click |
|
|
| This sounds really cool but I have the middle click assigned elsewhere. How can I do this with the left click instead? This may be obvious but I'm just learning how to do this type of thing. Thanks. |
|
| Back to top |
|
 |
Ian Guest
|
Posted: Fri Jul 14, 2006 8:17 pm Post subject: |
|
|
Change:
to
|
|
| Back to top |
|
 |
albundo
Joined: 26 Jun 2006 Posts: 3
|
Posted: Mon Jul 17, 2006 8:06 pm Post subject: |
|
|
Well, that would make it pretty tough to actually select anything.
I assume he means to get the left double click working.
The problem is then distinguishing between items in the list and the background. That could technically be done by comparing the color under the cursor with the background during both clicks (doing it both times is to keep it from working when you click between characters in the name for example). It would also have to take into account the active column highlight color that XP uses.
Of course, you'd also have to add some code to determine double clicks.
I thought I'd just keep it simple with the single middle click, but if anyone wants to tackle these issues, feel free to do so.  |
|
| Back to top |
|
 |
|