Sign in to follow this  
Followers 0
James

Google Search

3 posts in this topic

#1 ·  Posted (edited)

Google Search

I know its been done before, but I wanted ago too!

How to use:

Just type in the box and press enter or type in the box and click Go!

Thanks to:

PaulIA - For helping me with the google search code, that would never work for me.

;------------------------------------------------
;
; Name: Google Searcher
; Author: Secure_ICT
; Description: Search google from your desktop!
; Credit: PaulIA - The google search code
; Version: 1.0
;
;-----------------------------------------------

#include <GUIConstants.au3>

$Window = GUICreate("Google Search", 381, 43, 193, 115)
$Label = GUICtrlCreateLabel("Search:", 8, 8, 41, 17)
$Input = GUICtrlCreateInput("", 56, 8, 217, 21)
$Go = GUICtrlCreateButton("Go!", 280, 8, 89, 25, 0)
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Go
            ShellExecute("www.google.com/search?q=" & GUICtrlRead($Input))
        Case $Input
            ShellExecute("www.google.com/search?q=" & GUICtrlRead($Input))
    EndSwitch
WEnd

Secure

Merry Christmas!

Edited by Secure_ICT

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  
Followers 0