Sign in to follow this  
Followers 0
prashanthigajjala

Handle the tabs

3 posts in this topic

how to handle the tabs if having same control id,class name,instance(all tabs having same properties)

Share this post


Link to post
Share on other sites



Does ControlCommand() work out? For example, I use code like this to select the first tab if it's not already selected.

$TabItem = ControlCommand("Program Title", "", "SysTabControl321", "CurrentTab")

If $TabItem <> 1 Then
    For $a = 1 to $TabItem - 1
        ControlCommand("Program Title", "", "SysTabControl321", "TabLeft")
        Sleep(10)
    Next
EndIf

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

$a=ControlCommand("PSoC Creator 1.0","Results","[CLASS:WindowsForms10.window.8.app.0.33c0d9d;INSTANCE:40]","IsVisible", "")

MsgBox(0,"status",$a)

ControlClick("PSoC Creator 1.0","Results","[CLASS:WindowsForms10.window.8.app.0.33c0d9d;INSTANCE:40]")

i am using this script but it is not working.PSoCCreater Window have 3 tabs(Sources,Creaters,Results),these 3 tabs having same properties(Class,Instance..),tab name text also not appear in AutoItWindowInfo.then how to capture these tabs without using properties.

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  
Followers 0