Setcheckbox and duplicate caption name
Moderators: JRL, Dorian (MJT support)
Setcheckbox and duplicate caption name
I am working with a window that has multiple checkboxes with identical caption names. Each checkbox has a different function. Whenever I use the SetCheckbox> command it only works on the first occurence of the caption name. Is there any way short of using hard coded Mousemove> commands , to get to those other checkboxes with the same caption names ? I know, very poor windows setup, but I have no control over the application.
Just a couple of thoughts. I have seen checkboxes that respond to a key press. For example, with DOS properties box set to the "Options" tab, pressing the "q" key will toggle the "QuickEdit mode" checkbox.
Or, this varies by application but perhaps there is a way to use SetControlText>.
On the other hand... contrary to recommended practices, my first choice is always mouse moves. They won't always work consistently but they are always the first thing I try.
Or, this varies by application but perhaps there is a way to use SetControlText>.
On the other hand... contrary to recommended practices, my first choice is always mouse moves. They won't always work consistently but they are always the first thing I try.