Gui Posted December 8, 2009 Share Posted December 8, 2009 Aye guys, sorry if it's completed obvious, but I'm just wondering. If there are multiple images that are the same src ( same image really ) on an IE page, and you want to click them all , how would you do it? Link to comment Share on other sites More sharing options...
DaleHohm Posted December 8, 2009 Share Posted December 8, 2009 Not enough detail in your explanation. Show what you have tried. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Gui Posted December 8, 2009 Author Share Posted December 8, 2009 (edited) I'm saying, I want to click all of the images that are the same on an IE page. IF there's 10 monkey pictures on a page, I want to click them all once each. I have no idea how I would do it. EDIT : Bump. Edited December 8, 2009 by Gui Link to comment Share on other sites More sharing options...
DaleHohm Posted December 9, 2009 Share Posted December 9, 2009 See _IELinkGetCollection and _IEAction, click. If clicking on an image results in a page navigation or relead however, be aware that it will invalidate your link collection each time. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Gui Posted December 9, 2009 Author Share Posted December 9, 2009 (edited) How would _IELinkGetCollection work, it's an image? Use the Src? EDIT : I see now, thanks a bunch! I own you Edited December 9, 2009 by Gui Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 9, 2009 Share Posted December 9, 2009 ... I own you Might want to rephrase that! 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...
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