Jump to content
electrons

[help]get Google search suggestions

Recommended Posts

electrons

hello everyOne :)

how can i get Google search suggestions while typing text

and save it to txt file

Untitled.png.f8f87493a19fc87f80b2d93795e

Share this post


Link to post
Share on other sites
electrons

is that impossible? 

any idea please?! 

Share this post


Link to post
Share on other sites
mLipok
<div class="gstl_0 sbdd_a" style="left: 0px; top: 39px; text-align: left; position: absolute; min-width: 590px;" dir="ltr"><div class="fl"></div><div><div class="sbdd_b"><div class="sbsb_a"><ul class="sbsb_b" role="listbox"><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse0" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> poradnik</b></div></div></li><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse1" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> kurs pdf</b></div></div></li><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse2" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> skrypty</b></div></div></li><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse3" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> download</b></div></div></li></ul></div></div><div><div class="sft" id="pocs" style="left: 0px; margin-top: 10px; white-space: nowrap; position: absolute; z-index: 987;"><div id="pocs0" style="display: none;"><span><span>Google</span> Wyszukiwanie dynamiczne jest niedostępne. Naciśnij Enter, aby wyszukać.</span>&nbsp;<a href="//support.google.com/websearch/answer/186645?hl=pl">Więcej informacji</a></div><div id="pocs1" style="display: none;"><span>Google</span> Wyszukiwanie dynamiczne jest nieaktywne z powodu wolnego połączenia. Naciśnij Enter, aby wyszukać.</div><div id="pocs2">Naciśnij Enter, aby wyszukać.</div></div></div></div></div>

Yest it is possible.

<div class="sbqs_c">autoit<b> poradnik</b></div>
<div class="sbqs_c">autoit<b> kurs pdf</b></div>
<div class="sbqs_c">autoit<b> skrypty</b></div>
<div class="sbqs_c">autoit<b> download</b></div>

Try to use RegExp:

(?i)(?:<div class="sbqs_c">)(.*?)(?:</div>)

Quote

autoit<b> poradnik</b>
autoit<b> kurs pdf</b>
autoit<b> skrypty</b>
autoit<b> download</b>

 

  • Like 1

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API Forum Rules *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library
 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-10-31

Share this post


Link to post
Share on other sites
electrons
11 hours ago, mLipok said:
<div class="gstl_0 sbdd_a" style="left: 0px; top: 39px; text-align: left; position: absolute; min-width: 590px;" dir="ltr"><div class="fl"></div><div><div class="sbdd_b"><div class="sbsb_a"><ul class="sbsb_b" role="listbox"><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse0" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> poradnik</b></div></div></li><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse1" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> kurs pdf</b></div></div></li><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse2" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> skrypty</b></div></div></li><li class="sbsb_c gsfs" role="presentation" style="text-align: left;" dir="ltr"><div id="sbse3" role="option"><div class="sbqs_a" aria-hidden="true"><a class="sbsb_i sbqs_b" href="#ifl">Szczęśliwy traf »</a></div><div class="sbqs_c">autoit<b> download</b></div></div></li></ul></div></div><div><div class="sft" id="pocs" style="left: 0px; margin-top: 10px; white-space: nowrap; position: absolute; z-index: 987;"><div id="pocs0" style="display: none;"><span><span>Google</span> Wyszukiwanie dynamiczne jest niedostępne. Naciśnij Enter, aby wyszukać.</span>&nbsp;<a href="//support.google.com/websearch/answer/186645?hl=pl">Więcej informacji</a></div><div id="pocs1" style="display: none;"><span>Google</span> Wyszukiwanie dynamiczne jest nieaktywne z powodu wolnego połączenia. Naciśnij Enter, aby wyszukać.</div><div id="pocs2">Naciśnij Enter, aby wyszukać.</div></div></div></div></div>

Yest it is possible.

<div class="sbqs_c">autoit<b> poradnik</b></div>
<div class="sbqs_c">autoit<b> kurs pdf</b></div>
<div class="sbqs_c">autoit<b> skrypty</b></div>
<div class="sbqs_c">autoit<b> download</b></div>

Try to use RegExp:

(?i)(?:<div class="sbqs_c">)(.*?)(?:</div>)

 

Thank you so much mLipok God bless you.

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

  • Similar Content

    • nooneclose
      By nooneclose
      My program has to first search for names in Column D that do not match up with column C. I got that search to work using arrays. It was slow and I could not figure out how to delete them so I just manually put coded the names that do not belong. I found their cell location but I do not know how to store that location and delete it.
      This is what I have so far.
      Local $NameToDelete1[6]  = _Excel_RangeFind($OpenWorkbook, "Smith, Bill") _ArrayDisplay($NameToDelete1, "Excel UDF: _Excel_RangeFind Example 1", "", 0, "|", "Sheet|Name|Cell|Value|Formula|Comment") _Excel_RangeDelete($OpenWorkbook.ActiveSheet, $NameToDelete1[2], $xlShiftUp)  
      Please help, I wanted to have this program done yesterday but I did not see this problem until yesterday. 
    • Skeletor
      By Skeletor
      Hi All,
      While creating a few excel spreadsheets using AutoIt, I came across something which to my limiting time to research the forums I don't anyone has mentioned. 
      The color pallettes are reversed. 
      Huge shock to me.
       
      I wanted to produce a red row but kept on getting blue. 
      Seems like 0xFF0000 was red on the charts but when running the script, I got blue. 
      I then played around with the colors, and after a few tries, I finally got Red. 
      Reversed the FF0000 and the result is 0000FF.
       
      So for Excel compared to Html
      0000FF (Red) - Excel
      0000FF (Blue) - Html

      FFFF00 (Cyan) - Excel
      FFFF00(Yellow) - Html
       
    • AndyS19
      By AndyS19
      I'm trying to implement a Ctl-F popup box that looks something like the one that Notepad uses, but I'm not havine much luck.  I intend to get it working, then beef up the popup's contents to add several checkboxes, buttons and radio boxes.
      What my example code does is to use InputBox(), but that's not what I want.
      Here is my test code:
      #include <Array.au3> #include <GUIConstantsEx.au3> #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 Opt("GUICloseOnESC", 1) Opt("GUIOnEventMode", 1) Opt('MustDeclareVars', 1) OnAutoItExitRegister("ExitStageLeft") Opt("WinTitleMatchMode", -2) Global $hGUI _Main() Func _Main() $hGUI = GUICreate("Test ^F", 300, 200) setupSpecialKeysHandlers() GUISetOnEvent($GUI_EVENT_CLOSE, "Event_GUIClose") GUISetState() While (1) Sleep(157) WEnd EndFunc ;==>_Main Func handle_CTRL_F_key() Local $str $str = InputBox("Search", "Enter the string to search for:") ConsoleWrite("+++: $str ==>" & $str & "<==" & @CRLF) EndFunc ;==>handle_CTRL_F_key Func ExitStageLeft() Exit (99) EndFunc ;==>ExitStageLeft Func Event_GUIClose() Exit (1) EndFunc ;==>Event_GUIClose Func setupSpecialKeysHandlers() Local $ar, $parts, $key, $handler, $id Local $aAccelKeys[1][2] ; Create a table of Special keys and their handlers $ar = StringSplit("", "") _ArrayAdd($ar, "^f - handle_CTRL_F_key ") ReDim $aAccelKeys[UBound($ar) - 1][2] ; Now, create $aAccelKeys array with the table data. ; For each entry, create a Dummy GUI and associate its ; ID with the special key. For $ndx = 1 To UBound($ar) - 1 $parts = StringSplit($ar[$ndx], "-", 2) $key = StringStripWS($parts[0], 8) $handler = StringStripWS($parts[1], 8) $id = GUICtrlCreateDummy() $aAccelKeys[$ndx - 1][0] = $key $aAccelKeys[$ndx - 1][1] = $id GUICtrlSetOnEvent($id, $handler) Next GUISetAccelerators($aAccelKeys) ; Setup the Special keys hooks EndFunc ;==>setupSpecialKeysHandlers  
    • Atoxis
      By Atoxis
      Howdy, I've gone through a lot of au3 forums, and I once had a working Imagesearch script that I got from here.  However, and i'm just totally not sure how but my imagesearch scripts aren't working anymore.
      I'm not new to au3 but i'm not the most experienced with it's syntax/commands.

      Anyways, I've looked over the big threads involving imagesearch.

      Does anyone have a working Imagesearch x64 for win10 that is currently working as of the date with the post.

      Dll's and what not is fine, just when I tell the script to run, I want to be able to find the image on the screen!
      Can't find a working copy so if anyone has one please send it my way lol.

      I've taken all the imagesearch downloads and what not and have played with them but I can't get any of them working on my end, despite others saying they're working.
      Thanks.
    • lenclstr746
      By lenclstr746
      HELLO GUYS
      I'm a work on a background see and click bot project 
      I can complete it if your help me
      (using imagesearch , gdi+ and  fastfind)
×