Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
control-level triggers
#9
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:
 
Code:
Copy      Help
 
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


Messages In This Thread
control-level triggers - by cuitino - 09-18-2019, 01:58 AM
RE: control-level triggers - by Gintaras - 09-18-2019, 04:35 AM
RE: control-level triggers - by Gintaras - 09-18-2019, 04:37 AM
RE: control-level triggers - by cuitino - 09-19-2019, 01:26 PM
RE: control-level triggers - by Kevin - 09-20-2019, 07:18 PM
RE: control-level triggers - by cuitino - 09-23-2019, 03:07 AM
RE: control-level triggers - by cuitino - 09-23-2019, 06:58 PM
RE: control-level triggers - by Kevin - 09-23-2019, 08:20 PM
RE: control-level triggers - by cuitino - 09-24-2019, 01:50 PM
RE: control-level triggers - by redbull2k - 09-24-2019, 03:39 PM
RE: control-level triggers - by cuitino - 09-24-2019, 05:32 PM
RE: control-level triggers - by Gintaras - 09-24-2019, 05:45 PM
RE: control-level triggers - by cuitino - 09-24-2019, 06:03 PM
RE: control-level triggers - by Gintaras - 09-24-2019, 06:19 PM
RE: control-level triggers - by cuitino - 09-24-2019, 07:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)