| View previous topic :: View next topic |
| Author |
Message |
Larry
Joined: 03 Mar 2005 Posts: 23
|
Posted: Sat Apr 19, 2008 6:31 pm Post subject: Need ideas on how to Disable Drag-n-Drop in Outlook Express |
|
|
My 86 year old father creates a lot of problems for himself by unknowingly holding the mouse button pressed after an operation. This frequently results in a Drag-n-Drop operation at some time later when he moves the mouse to who knows where when he finally releases the button. Because of this, he's constantly losing mail folders, which usually end up being sub folders of other mail folders. Unfortunately, he's unable to recognize folders that have sub folders and doesn't know how to get his folders back. I have tried to educate him on how to do this numerous times, but he is in the early stages of dementia and his cognitive function is very poor.
So my question for the AutoHotKey Experts is:
Does anyone know of a way that an AutoHotKey script could be used to prevent Drag-n-Drop operations in the Outlook Express Mail Folders Window?
Please note that he still needs to be able to select different Mail Folders in the Mail Folders Window.
Any suggestions would be appreciated.....
Thanks,
Larry |
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 970 Location: London, UK
|
Posted: Sat Apr 19, 2008 6:49 pm Post subject: |
|
|
You could try something like this.
| Code: | Settitlematchmode,Regex
#IfwinActive,Outlook Express
~LButton::
Keywait,Lbutton,T0.1
If Errorlevel
Send,{Lbutton UP}
Return |
Effectively disables holding the mouse down any longer than 0.1 seconds.
Might need some tweaking and the window title might need adjusting.
You could possibly extend it further by only disabling it in the outlook express folders window by getting the hwnd of the control. _________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
Larry
Joined: 03 Mar 2005 Posts: 23
|
Posted: Sun Apr 20, 2008 2:42 pm Post subject: Thank you |
|
|
Thanks Superfraggle for responding to my request. I know your time is valuable too. Please know that it's supporting members like you in this forum that help make AutoHotKey the terrific utility program that it is.
You've offered me some very good suggestions. I will try implementing your ideas when I get some time to work on the problem.
Thanks again.
Larry |
|
| Back to top |
|
 |
Larry
Joined: 03 Mar 2005 Posts: 23
|
Posted: Mon Apr 21, 2008 12:00 pm Post subject: Thanks Superfraggle |
|
|
| Thanks Superfraggle, Your solution worked perfectly! |
|
| Back to top |
|
 |
|