babsdoc Posted April 27, 2013 Share Posted April 27, 2013 Hi,I have 2 Tabs open in the same IE window, 1 navigates to www.google.com the other to www.google.com too. How do I activate the second tab (as they have the same url/identifier)? Link to comment Share on other sites More sharing options...
FireFox Posted April 27, 2013 Share Posted April 27, 2013 Hi, Try this : ControlSend("[CLASS:IEFrame]", "", "", "^{TAB}") ;next tab Sleep(1000) ControlSend("[CLASS:IEFrame]", "", "", "{CTRLDOWN}{SHIFTDOWN}{TAB}{SHIFTUP}{CTRLUP}") ;prev tab Br, FireFox. Link to comment Share on other sites More sharing options...
JohnOne Posted April 27, 2013 Share Posted April 27, 2013 (edited) Switch to tab 1ControlSend("[CLASS:IEFrame]", "", "", "^1")Switch to tab 2ControlSend("[CLASS:IEFrame]", "", "", "^2")Switch to tab nControlSend("[CLASS:IEFrame]", "", "", "^n") Edited April 27, 2013 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
babsdoc Posted April 28, 2013 Author Share Posted April 28, 2013 Thanks a ton for helping out, FireFox and JohnOne, I'll try both 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