Sign in to follow this  
Followers 0
Reeya

Query

4 posts in this topic

Hi Frnds,

Can anyone let me know how to get control of a particular tab in an application using autoIT .

Share this post


Link to post
Share on other sites



Is the application with the tab control the Autoit script itself or is it an external application?

ControlCommand() can be used for external app

and

_GuiCtrlTab_ functions for an internal Autoit script

Share this post


Link to post
Share on other sites

Is the application with the tab control the Autoit script itself or is it an external application?

ControlCommand() can be used for external app

and

_GuiCtrlTab_ functions for an internal Autoit script

Can u share me some examples for ControlCommand() ?

Share this post


Link to post
Share on other sites

GUICreate("This is  because I dont have an external gui to play with",600,400)
GUICtrlCreateTab(10,10,580,380)
GUICtrlCreateTabItem("Tab1")
GUICtrlCreateTabItem("Tab2")
GUICtrlCreateTabItem("Tab3")
GuiSetState()

$CurrentTab = ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","CurrentTab")
Msgbox(0,"","Current tab is Number " & $CurrentTab)

ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","TabRight")
$CurrentTab = ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","CurrentTab")
Msgbox(0,"","Current tab is Number " & $CurrentTab)


ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","TabRight")
$CurrentTab = ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","CurrentTab")
Msgbox(0,"","Current tab is Number " & $CurrentTab)

ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","TabLeft")
$CurrentTab = ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","CurrentTab")
Msgbox(0,"","Current tab is Number " & $CurrentTab)

ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","TabLeft")
$CurrentTab = ControlCommand("This is  because I dont have an external gui to play with","","SysTabControl321","CurrentTab")
Msgbox(0,"","Current tab is Number " & $CurrentTab)

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