t0ddie Posted January 6, 2006 Share Posted January 6, 2006 $tab2 = GUICtrlCreateTabItem(" Progress ") GUICtrlSetState($tab2,$GUI_FOCUS) this didnt work is it possible? Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
t0ddie Posted January 6, 2006 Author Share Posted January 6, 2006 bump. i would rather not have to click on the tab to put it into focus. anyone? Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
PrgSkidmark Posted January 6, 2006 Share Posted January 6, 2006 i would rather not have to click on the tab to put it into focus.anyone?If the tabs have Alt key shortcuts you can Send("!f") or whatever.Or I count how many tab key hits it takes to land the tabs and 3 tabs to the left so Send("{TAB 5}{LEFT 3}"). Link to comment Share on other sites More sharing options...
Jotun Posted January 6, 2006 Share Posted January 6, 2006 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 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