By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,251 Members | 2,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,251 IT Pros & Developers. It's quick & easy.

read/enter text based on cursor position

P: n/a
Greetings.

Would anyone know the right direction to point me on this one?

I need to read text from a Windows Application based on cursor
position.
And enter text based on what is read.

Example:(the interface of the windows application would look something
like this.)

-----------------------------------
Windows Application X
-----------------------------------
Name:
Address:
City:
State:
Zip:
-----------------------------------

I need to scan the application for address - and put in my address,
etc...
Right now I am using sendkeys but it really isn't cutting it)

The only part I need help on in this is getting the location of where
it says address, or whatever field is the case.

I was thinking it might be possible to somehow read to the left based
on cursor position. If anyone could point me in the right direction I
would appreciate it.

Thanks in Advance.

Mike
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> -----------------------------------
Windows Application X
-----------------------------------
Name:
Address:
City:
State:
Zip:
-----------------------------------


I'm curious as to why you don't use a combination of static text
elements and text entry widgets. From what I've been able to see with
virtually every app I've ever used, read source code of, or otherwise,
that is what most people do. Is there some architectural limitation
where you cannot use them?

- Josiah
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.