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 

Need ideas on how to Disable Drag-n-Drop in Outlook Express

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Larry



Joined: 03 Mar 2005
Posts: 23

PostPosted: Sat Apr 19, 2008 6:31 pm    Post subject: Need ideas on how to Disable Drag-n-Drop in Outlook Express Reply with quote

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
View user's profile Send private message
Superfraggle



Joined: 02 Nov 2004
Posts: 970
Location: London, UK

PostPosted: Sat Apr 19, 2008 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Larry



Joined: 03 Mar 2005
Posts: 23

PostPosted: Sun Apr 20, 2008 2:42 pm    Post subject: Thank you Reply with quote

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
View user's profile Send private message
Larry



Joined: 03 Mar 2005
Posts: 23

PostPosted: Mon Apr 21, 2008 12:00 pm    Post subject: Thanks Superfraggle Reply with quote

Thanks Superfraggle, Your solution worked perfectly!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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