Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting and Inserting ControlID as a string
#5
Hi Gintaras,
A friend using AutoHotkey has been able to get at this window reliably through the TextClass part of its identifiers (which in this case are specific and stable).

They are stable but not specific in the QM readout.
Example:

QM generates this statement:
str mrn.getwintext(child("" "WindowsForms10.STATIC.app.0.378734a" win("Commissure RadWhere" "WindowsForms10.Window.8.app.0.378734a") 0x5))

His program generates

"WindowsForms10.STATIC.app.0.378734a3" for 1 child window and
"WindowsForms10.STATIC.app.0.378734a31" for the next, etc

This way, its stable AND specific

QM is reading out:
"WindowsForms10.STATIC.app.0.378734a" everytime without the very last numbers.

Any idea why this maybe the case. I love scripting in QM and figure this is probably an easy issue to resolve.

Thanks,
Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)