Jump to content

Select Particular TAB


Recommended Posts

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

Link to comment
Share on other sites

Check the ControlCommand

ControlCommand("title" , "text", "ClassNameNN" , "TabRight", 1)
+==================================================================+| The Definition of Madness: Creating a GUI, with GUI automation scripts |+==================================================================+
Link to comment
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

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...