Jump to content

Same or Different Control in on window


Recommended Posts

Hi,

Pls help me with b/m...

i want to check and get the text in the "Product" form(let's call it form, i'm not sure).

but obviously i failed...

#include <A3LTreeView.au3>
winwaitactive("GCSS")
msgbox(4096,"GSC Service",ControlGetText("GCSS","",50001))
CONTROLCLICK("GCSS","","[CLASS:BUTTON; TEXT:Modify;instance:9]")
;CONTROLCLICK("GCSS","","[CLASS:SysTreeView32;instance:1;ID:50001]")
winwaitactive("Product")
msgbox(4096,"GSC Service",ControlGetText("Product","","[CLASS:SysTreeView32;instance:1;ID:5628]"))
ControlGetText("Product","","[CLASS:SysTreeView32;instance:1;ID:5628]")
send("{right}")

and seems there is duplicated control IDs in the same windows...if u know, pls give me some advise...tks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...