GAM Posted May 30, 2008 Share Posted May 30, 2008 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 More sharing options...
Prophet Posted May 30, 2008 Share Posted May 30, 2008 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 More sharing options...
GAM Posted May 30, 2008 Author Share Posted May 30, 2008 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 Link to comment Share on other sites More sharing options...
GAM Posted May 30, 2008 Author Share Posted May 30, 2008 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 Link to comment Share on other sites More sharing options...
GAM Posted May 30, 2008 Author Share Posted May 30, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now