The program is a hospital-based software called Medicalis by Siemens Healthineers. It provides an integration platform for clinical and radiologic data.
I use the following code:
This gives me the error: "Error Macro1: this variable not initialized". Pointing to the second line.
After I use the the "find accessible objects," the error gets resolved and the code works. I don't add any new code.
I do notice the "in web page" check box gets marked in the "find accessible objects "dialog.
I did try using "find HTML element," but none of the child windows (or even the parent window) are identified when I pull the drag tool over them.
What code does "find accessible objects" run to make the child windows detectable?
Thanks in advance for any help,
Cuitino
I use the following code:
int w=wait(3 WV win("Siemens Healthineers Enterprise Worklist" "WindowsForms10.Window.8.app*"))
Acc a.Find(w "DOCUMENT" "US TECH" "" 0x2000 10)
ARRAY(Acc) ac
a.GetChildObjects(ac -1 "" "" "" 16) ;;flag 16: +invisible
for _i 0 ac.len
Acc& r=ac[_i]
str role name value coordinate
str liver gallbladder CBD RKidney LKidney
int x y
r.Role(role); name=r.Name ; r.Location(x y) ; value=r.Value
out F"{role} {name} {x} {y} {value}"
coordinate=F"{x} {y}"
sel a.Name
case "US TECH ABDOMEN LIMITED"
sel coordinate
case "201 731"
liver=value
case "199 1290"
RKidney=value
case "435 862"
gallbladder=value
case "185 989"
CBD=value
out F"{liver} {CBD} {RKidney} {gallbladder} {LKidney}"
This gives me the error: "Error Macro1: this variable not initialized". Pointing to the second line.
After I use the the "find accessible objects," the error gets resolved and the code works. I don't add any new code.
I do notice the "in web page" check box gets marked in the "find accessible objects "dialog.
I did try using "find HTML element," but none of the child windows (or even the parent window) are identified when I pull the drag tool over them.
What code does "find accessible objects" run to make the child windows detectable?
Thanks in advance for any help,
Cuitino