Jump to content
Sign in to follow this  
Floppy

Retrive data from Google Keyword Tool

Recommended Posts

Floppy

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

Share this post


Link to post
Share on other sites
stormbreaker

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

Share this post


Link to post
Share on other sites
Floppy

Ok, but what should I specify for $o_object?

Share this post


Link to post
Share on other sites
Floppy

Hey guys, can someone help me please?

Share this post


Link to post
Share on other sites
PhoenixXL

$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 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.

Share this post


Link to post
Share on other sites
Floppy

The problem is the button I'm trying to click doesn't have a name/id but only a class.

Share this post


Link to post
Share on other sites
DaleHohm

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

Share this post


Link to post
Share on other sites
PhoenixXL

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×