Floppy Posted May 28, 2012 Share Posted May 28, 2012 Hello, I'm trying to perform a search on the Google Keyword Tool and then download the keyword list in CSV format. But I have a problem: to download the kw list I have to click "Download" button then "All search results" item. How can I click on the "Download" button? The HTML of the button is "<div class="gux-menu-button goog-inline-block">Download</div>" AutoIT can get onject only by name and ID, and not by class. Can someone help me or provide an alternative solution? Thank you Link to comment Share on other sites More sharing options...
stormbreaker Posted May 28, 2012 Share Posted May 28, 2012 Have a look at _IEAction example in help file. You should get there. ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
Floppy Posted May 28, 2012 Author Share Posted May 28, 2012 Ok, but what should I specify for $o_object? Link to comment Share on other sites More sharing options...
Floppy Posted May 29, 2012 Author Share Posted May 29, 2012 Noone? Link to comment Share on other sites More sharing options...
Floppy Posted July 1, 2012 Author Share Posted July 1, 2012 Hey guys, can someone help me please? Link to comment Share on other sites More sharing options...
Floppy Posted July 18, 2012 Author Share Posted July 18, 2012 ??? Link to comment Share on other sites More sharing options...
PhoenixXL Posted July 18, 2012 Share Posted July 18, 2012 (edited) $o_object should be the object variable of the button u want to click to get the variable use _IEGetObjByName(ByRef $h_object, $s_Id) where $h_object is the var returned from _IECreate() and $s_Id is the name/id of the button u want to click Edited July 18, 2012 by PhoenixXL My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
Floppy Posted July 20, 2012 Author Share Posted July 20, 2012 The problem is the button I'm trying to click doesn't have a name/id but only a class. Link to comment Share on other sites More sharing options...
DaleHohm Posted July 20, 2012 Share Posted July 20, 2012 Read about _IETagnameGetCollection() 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...
PhoenixXL Posted July 20, 2012 Share Posted July 20, 2012 Read about _IETagnameGetCollection()After just use 'classname' property to identify the button and _IEAction to click on it My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. 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