Hi Soronel,
That piece of information makes a big difference! It helps me understand the
process better.
Thanks,
John
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Soronel Haetir
Sent: Wednesday, August 30, 2017 10:51 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Using MoveToControl Function
The handle argument to MoveToControl is the handle of the dialog, not the
target control.
On 8/30/17, John P. Thomas <johnt@xxxxxxxxxxxx> wrote:
Hi,
I have a dialog box in Total Recorder Pro, and I would like to use the
MoveToControl function in a script to jump to specific dialog buttons.
The control IDs for the buttons are unique and do not change. The
handles for the controls change each time the program is started.
The MoveToControl function requires both a handle and a control ID.
How do I get a handle for a dialog control with a known control ID
without having to get the button in focus and then obtaining the handle?
I could avoid the handle requirement by using a do loop to rotate
through all the control IDs until I find the ID that I want. I am
hoping to avoid this, though this would probably work.
There is probably a simple solution, but I can't seem to find it.
Thanks,
John
__________
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts