babsdoc 0 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 post Share on other sites
FireFox 261 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. OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDFMy Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme makerMy Examples : Capture tool | IP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewerMy Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control Link to post Share on other sites
JohnOne 1,624 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 post Share on other sites
babsdoc 0 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 post Share on other sites
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