viewpoint-particle

Author Topic: Get value of a form field in a windows app  (Read 2735 times)

stevengraff

  • Sr. Member
  • ****
  • Posts: 271
Get value of a form field in a windows app
« on: March 09, 2016, 09:15:45 am »
Inelegant method: sendkey {tab} til arrive in field, then sendkey {"^c"} to grab the contents.

Elegant method == ?

td

  • Tech Support
  • *****
  • Posts: 3210
    • WinBatch
Re: Get value of a form field in a windows app
« Reply #1 on: March 09, 2016, 10:09:20 am »
It depends a lot on what you mean by 'windows app',  the underlying nature of the 'field', and which version of Windows you are using.   However, to start you may want to check out the Roboscripter utility.  It can be found in the WinBatch folder of your start menu.  It helps you write Control Manager extender based scripts.  It also helps you to determine whether or not the Control Manager extender can be used to obtain the information you seek.   
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

stevengraff

  • Sr. Member
  • ****
  • Posts: 271
Re: Get value of a form field in a windows app
« Reply #2 on: March 09, 2016, 11:12:08 am »
It's an old "legacy" app, running on Win7 or Server 2008R2.  Please see video at:

http://screencast.com/t/uk4EIlqs

Thanks,
Steven

td

  • Tech Support
  • *****
  • Posts: 3210
    • WinBatch
Re: Get value of a form field in a windows app
« Reply #3 on: March 09, 2016, 12:06:44 pm »
Looking at a video will not offer much in the way of information.  Check out Roboscripter.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

stevengraff

  • Sr. Member
  • ****
  • Posts: 271
Re: Get value of a form field in a windows app
« Reply #4 on: March 09, 2016, 03:46:44 pm »
I have roboscripter at the ready... how shall I use it?

(I show a clumsy attempt to use it in that video.)

td

  • Tech Support
  • *****
  • Posts: 3210
    • WinBatch
Re: Get value of a form field in a windows app
« Reply #5 on: March 10, 2016, 06:36:33 am »
Read the documentation in the help file: Condolidated WIL->Wil Extenders->Control Manger Extender->Roboscripter.  It isn't that hard to figure out.   
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade