Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
On the question of "exe"?
#4
it appears that your working with some type if treeview application

i would try and redo these lines 
avoid using xy  coordinates if all possible
Code:
Copy      Help
Acc a43.Find(w4 "CLIENT" "" "class=TdxEdit[]xy=66 140" 0x1005)   ;;这是订法
Acc a41.Find(w4 "CLIENT" "" "class=TdxEdit[]xy=247 140" 0x1005)  ;;这是印张
Acc a42.Find(w4 "CLIENT" "" "class=TdxEdit[]xy=209 36" 0x1005)   ;;注意这是采集订单的名称

in the lines below see if you can find the specific element your trying to click 
Code:
Copy      Help
a3.Mouse(1 150 8)

Code:
Copy      Help
a11.Mouse(1 600 y)
Code:
Copy      Help
,,a4.Mouse(1 12 y)
,,a4.Mouse(1 55 y)

Code:
Copy      Help
,,a4.Mouse(1 112 y)


and instead of a.Mouse 
maybe try 
something like
example of selecting a desktop item
Code:
Copy      Help
int w=win("Desktop" "CabinetWClass")
Acc a.Find(w "LISTITEM" "New folder (2)" "class=DirectUIHWND" 0x1035)
a.Select(1|2)
or here is an example of selecting and putting a check mark in a treeview item in  CCleaner

Code:
Copy      Help
int w=win("CCleaner" "PiriformCCleaner")
Acc a.Find(w "OUTLINEITEM" "Internet History" "class=SysTreeView32[]id=1068" 0x1005)
a.Select(1|2)
a.Mouse(1 -2)

Try if at all possible not to use x y positions if you can


Messages In This Thread
On the question of "exe"? - by zdh - 09-29-2018, 02:04 PM
RE: On the question of "exe"? - by Kevin - 09-29-2018, 03:00 PM
RE: On the question of "exe"? - by zdh - 09-30-2018, 04:45 AM
RE: On the question of "exe"? - by Kevin - 10-01-2018, 01:51 AM
RE: On the question of "exe"? - by zdh - 10-01-2018, 03:41 AM
RE: On the question of "exe"? - by zdh - 10-09-2018, 01:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)