Reeya Posted March 9, 2011 Posted March 9, 2011 Hi Frnds, Can anyone let me know how to get control of a particular tab in an application using autoIT .
ChrisL Posted March 9, 2011 Posted March 9, 2011 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 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
Reeya Posted March 9, 2011 Author Posted March 9, 2011 Is the application with the tab control the Autoit script itself or is it an external application?ControlCommand() can be used for external appand _GuiCtrlTab_ functions for an internal Autoit scriptCan u share me some examples for ControlCommand() ?
ChrisL Posted March 9, 2011 Posted March 9, 2011 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) [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
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