winsorize Posted February 20, 2009 Share Posted February 20, 2009 I click on a link using: _IEImgClick ($oFrame1,"Download Documents","alt") this opens the link in a new tab. When the new link is opened in a new tab the _IE functions such as (_IETagNameGetCollection, etc.) all retreive information from the initial webpage (first tab). Hence, I am only left with the mouseclick() function... 1. Is there a way to open the link in the same tab (avoid the link to open in a new tab by forcing it to open in the same page)? If not, 2. Is there a way to switch the _IE functions to look at the second (new) tab rather than the initial (old) tab? Thank you in advance for all your help. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted February 20, 2009 Share Posted February 20, 2009 2. The same way you did it for your first tab, _IEAttach() .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
winsorize Posted February 20, 2009 Author Share Posted February 20, 2009 I used _IECreate for the first tab. How can I switch to the new tab using _IEAttach. Can you please be more specific? Thank you! Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 20, 2009 Share Posted February 20, 2009 Can you please be more specific?Can you read the help file on _IEAttach()?Don't tell me your dog ate your help file. That excuse gets used way too much! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted February 20, 2009 Share Posted February 20, 2009 I used _IECreate for the first tab. How can I switch to the new tab using _IEAttach. Can you please be more specific?Thank you!And _IECreate uses _IEAttach.... Now stop playing with that helpfile-eating dog and do as PsaltyDS told you. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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