Hi
I am trying to find a way to make the mouse cursor move to the keyboard
cursor position in an application. For example, I use an application called
Enterprise Guide, and I control this application using Dragon naturally
speaking as I have a disability that makes using the keyboard quite
difficult.
I often have to say the name of an object to make to be the active or
highlighted object. However to do something such as drag and drop in Dragon
NaturallySpeaki ng , I need to have the mouse at the same position that I
want to drag from.
I know there are functions such as GetCursorPos - but this appears only to
work in terms of the mouse position. What I would like to do is to find the
coordinates of the current active highlighted object. An example of this
could be, in windows explorer, if your mouse position is on the right-hand
side of your screen, but you have a folder highlighted in the left pane. How
could you move the mouse cursor to the location where the highlighted object
is?
I would appreciate any suggestions, or any links to any sites that may
assist me. I am able to write code but I can't find a way to make this
work.
Thank you for your help
Doug 3 4200
On Fri, 14 Dec 2007 17:56:26 -0800, Doug <go**********@o ptusnet.com.au>
wrote:
[...]
I know there are functions such as GetCursorPos - but this appears only
to
work in terms of the mouse position. What I would like to do is to find
the
coordinates of the current active highlighted object. An example of this
could be, in windows explorer, if your mouse position is on the
right-hand
side of your screen, but you have a folder highlighted in the left pane.
How
could you move the mouse cursor to the location where the highlighted
object
is?
I would appreciate any suggestions, or any links to any sites that may
assist me. I am able to write code but I can't find a way to make this
work.
It will depend entirely on what is displaying the object in question.
For many things, there will be a window instance associated with the item
(controls are windows too), and you can get the coordinates for the
window. But for many other things, there is no specific window
association with the item, because the item you're looking at is contained
inside a control that does all of its own drawing and user-interface work
without the benefit of sub-controls.
So, you could address this in specific situations, but not in a general
way. IMHO, it would probably be better to work on a way to make it easier
to move the mouse cursor around manually. I'm kind of surprised,
actually, that a speech-input program like Dragon's doesn't already
include a feature like that.
Pete
Hi Peter,
Dragon does have the feature but I am trying to help both myself and other
people with a disability to work more effectively.
The way that Dragon performs this task is to use a command such as
"MouseGrid 4 2 2 1 Button Click". Dragon divides the screen using MouseGrid
into a 3X3 matrix and drills down using the matrix in a matrix concept until
the mouse is pinpointed. This is clunky but it maybe the only way to do
this.
Thanks very much for your response.
Doug
"Peter Duniho" <Np*********@nn owslpianmk.comw rote in message
news:op******** *******@petes-computer.local. ..
On Fri, 14 Dec 2007 17:56:26 -0800, Doug <go**********@o ptusnet.com.au>
wrote:
>[...] I know there are functions such as GetCursorPos - but this appears only to work in terms of the mouse position. What I would like to do is to find the coordinates of the current active highlighted object. An example of this could be, in windows explorer, if your mouse position is on the right-hand side of your screen, but you have a folder highlighted in the left pane. How could you move the mouse cursor to the location where the highlighted object is?
I would appreciate any suggestions, or any links to any sites that may assist me. I am able to write code but I can't find a way to make this work.
It will depend entirely on what is displaying the object in question.
For many things, there will be a window instance associated with the item
(controls are windows too), and you can get the coordinates for the
window. But for many other things, there is no specific window
association with the item, because the item you're looking at is contained
inside a control that does all of its own drawing and user-interface work
without the benefit of sub-controls.
So, you could address this in specific situations, but not in a general
way. IMHO, it would probably be better to work on a way to make it easier
to move the mouse cursor around manually. I'm kind of surprised,
actually, that a speech-input program like Dragon's doesn't already
include a feature like that.
Pete
I see that the Microsoft speech recognition system also has a mousegrid that
enables you to specify coordinates in the way you say Dragon does. This is a
feature of Vista. Here is the URL of an article that details using it to do
something like what you need. http://www.microsoft.com/betaexperie...okNoHands.aspx
Do you have a Vista system?
I don't have much experience with accessibility systems or the speech
recognition tool that comes with Vista but you may also be able to pose this
question in one of the Vista groups where you may get some more concrete
information.
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Doug" <go**********@o ptusnet.com.auw rote in message
news:47******** *************** @news.optusnet. com.au...
Hi Peter,
Dragon does have the feature but I am trying to help both myself and other
people with a disability to work more effectively.
The way that Dragon performs this task is to use a command such as
"MouseGrid 4 2 2 1 Button Click". Dragon divides the screen using
MouseGrid into a 3X3 matrix and drills down using the matrix in a matrix
concept until the mouse is pinpointed. This is clunky but it maybe the
only way to do this.
Thanks very much for your response.
Doug
"Peter Duniho" <Np*********@nn owslpianmk.comw rote in message
news:op******** *******@petes-computer.local. ..
>On Fri, 14 Dec 2007 17:56:26 -0800, Doug <go**********@o ptusnet.com.au> wrote:
>>[...] I know there are functions such as GetCursorPos - but this appears only to work in terms of the mouse position. What I would like to do is to find the coordinates of the current active highlighted object. An example of this could be, in windows explorer, if your mouse position is on the right-hand side of your screen, but you have a folder highlighted in the left pane. How could you move the mouse cursor to the location where the highlighted object is?
I would appreciate any suggestions, or any links to any sites that may assist me. I am able to write code but I can't find a way to make this work.
It will depend entirely on what is displaying the object in question.
For many things, there will be a window instance associated with the item (controls are windows too), and you can get the coordinates for the window. But for many other things, there is no specific window association with the item, because the item you're looking at is contained inside a control that does all of its own drawing and user-interface work without the benefit of sub-controls.
So, you could address this in specific situations, but not in a general way. IMHO, it would probably be better to work on a way to make it easier to move the mouse cursor around manually. I'm kind of surprised, actually, that a speech-input program like Dragon's doesn't already include a feature like that.
Pete
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Csaba Gabor |
last post by:
When I click on the image form element
<INPUT type=image name=point src="map.png">
point.x and point.y values get submitted to the server
specifying where on the image I have clicked.
Is there any (simple) way to get ahold of that point.x and
point.y BEFORE they are sent to the server (and prevent
that from happening)? Ie. I just want...
|
by: Christopher W. Douglas |
last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a
method that handles several events, such as closing a form and changing the
visible status of a form. I have some code that applies to all these
events, but I need to have specific code execute when the form closes. The
properties for this method are sender (the...
|
by: ASGMikeG |
last post by:
Hi,
How do I find the user object for the current user in Active Directory i.e.
the user running my program ?
Regards
Michael
|
by: Henry Wu |
last post by:
Hi, I see examples of Magnifying an area under mouse coordinates to a
form or picturebox using VB6 and VC6, does anyone know how to do it
under VB.NET? Its nice to use the new GDI+ for it.
Thanks,
Henry
|
by: song |
last post by:
Situation: We highlight words of a document (.tiff): eg.name of sender of a
letter. The Kodak component we have now gets the coordinates of the
highlighted words with respect to the screen and not to the image. As such,
if we enlarge/reduce or move the image sideways, the coordinates do not
follow and the wrong words gets highlighted.
...
| |
by: aam |
last post by:
Hi. I am trying to find the cursor coordinates inside of a window, not a
form. I would like to display the coordinates of the cursor when you click
inside of the window. Either that, or have the current coordinates of the
cursor displayed as you are moving it around inside of the window. Thanks for
any help with this.
|
by: hclarius |
last post by:
Is there any way programmatically to get the values of the
PrintDocument's current position (x and y)?
Thanks
|
by: r_o |
last post by:
is there a way in javascript to retrieve the current coordinates of an element on screen with respect to the page viewport as well as the screen.?
i'm having this case where i have an INPUT element inside a DIV element and i have to scroll vertically through the DIV to view it.I want to get its coordinates when it is visible on the screen (ie....
|
by: raylopez99 |
last post by:
keywords: logical coordinates, page coordinates, world coordinates,
device coordinates, physical coordinates, screen coordinates, client
coordinates. offset rectangle. WYSIWYG rubber rectangle problem,
bounded rectangle problem. PointToClient, PointToScreen
Beware this newbie trap for the unwary. It goes by various names (in
some old...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |