Sign in to follow this  
Followers 0
GAM

Select Particular TAB

5 posts in this topic

Hi, Can anyone help me "how to select a particular tab in a sequence of tabs"? I have a windows application which has got four tabs with different names and now I want to select a particular tab, howz it possible?Can anyone plz help me!!


Neil

Share this post


Link to post
Share on other sites



Check the ControlCommand

ControlCommand("title" , "text", "ClassNameNN" , "TabRight", 1)

+==================================================================+| The Definition of Madness: Creating a GUI, with GUI automation scripts |+==================================================================+

Share this post


Link to post
Share on other sites

But I would like that function to return the name of the tab that is selected? can I have your inputs in this please????


Neil

Share this post


Link to post
Share on other sites

But I would like that function to return the name of the tab that is selected? can I have your inputs in this please????


Neil

Share this post


Link to post
Share on other sites

But I would like that function to return the name of the tab that is selected? can I have your inputs in this please????

The script is as belw...

---------------------------------

WinWaitActive("On-Access Scan Properties")

$TabName = ControlCommand("On-Access Scan Properties" , "", "[iD:165]" , "CurrentTab", 1)

Do

Send("^{TAB}")

Until $TabName = "General"

-------------------------------------

Here the $TabName returns either 1 or 0 but I wanted the name of the tab. Can someone help me plzzzz


Neil

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