Jump to content
Sign in to follow this  
BRUNOYORK

Same or Different Control in on window

Recommended Posts

BRUNOYORK

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.