I am wondering if anyone has used MS to do a script like this SansMouse AHK script to emulate mouse navigation. It has a very interesting concept of 26 zones on the screen. You can almost click anywhere on the screen in three, maybe four, keystrokes. I don't know AHK well enough to write this, but have tweaked it by reading the comments.
http://www.autohotkey.com/board/topic/1 ... ifference/
I am slowing losing my mouse on my old laptop and am trying this out as a replacement. (I avoid external mice.) Given the capabilities of Marcus' tool, I can imagine there are advantages to doing something like this in MS, but could not find an example on the MS forum and don't know enough to start it myself.
I would be grateful for any feedback.
Ken
Mouse Emulation Script
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Mouse Emulation Script
I'm sure something like this could be done. I can envisage using GetScreenRes to get the screen resolution, then calculating regions of the screen. You can create keyboard event handlers for all kinds of keyboard shortcuts and these could trigger mouse actions. So I'm sure it could all be done. But don't have any pre-existing scripts like this, no.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Mouse Emulation Script
Thank you, Marcus. Maybe I'll take a stab at it.
I don't know enough about AHK to know how it is being done there, but it seems like all the tools and functionality of MS would offer real advantages.
Having used the AHK script a bit, I can say that there are some screens where it could function much better, for example, sensing when there is a Windows control in the selected region (check-box, etc.) and setting the focus on that automatically. Right now, the script is blindly geographical without reference to what is on the underlying portion of screen.
Ken
I don't know enough about AHK to know how it is being done there, but it seems like all the tools and functionality of MS would offer real advantages.
Having used the AHK script a bit, I can say that there are some screens where it could function much better, for example, sensing when there is a Windows control in the selected region (check-box, etc.) and setting the focus on that automatically. Right now, the script is blindly geographical without reference to what is on the underlying portion of screen.
Ken