Jump to content

put focus on a tab


 Share

Recommended Posts

You could get a handle to the tab and then ControlSend {LEFT} or {RIGHT} untill you land on the tab you want to be focused.

Example:

;Top of script
$TabHandle = ControlGetHandle(AutoItWinGetTitle(), "", 3)

;Anywhere needed to activate a tab
ControlSend($TabHandle, "", 3, "{LEFT}")
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...