Sign in to follow this  
Followers 0
DCCD

You can search inside autoitforums using Google

3 posts in this topic

Hey Everybody, You know, You can search inside autoitforums using Google, You'll see the difference, Better then Autoit Search Engine

#include <GUIConstants.au3>
#NoTrayIcon
$Window = GUICreate("Google Custom Search Engine, AutoIt Forums", 381, 100, 193, 115)
$Label = GUICtrlCreateLabel("Search:", 8, 8, 41, 17)
$Input = GUICtrlCreateInput("", 56, 8, 217, 21)
$Go = GUICtrlCreateButton("Find!", 280, 8, 89, 25, 0)
GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Go
            ShellExecute("http://www.google.com.ly/search?hl=it&q=" & GUICtrlRead($Input) & "+site:autoitscript.com&btnG=Search")
        Case $Input
            ShellExecute("http://www.google.com.ly/search?hl=it&q=" & GUICtrlRead($Input) & "+site:autoitscript.com&btnG=Search")
    EndSwitch
WEnd

Share this post


Link to post
Share on other sites



Cool! here is the code for english..

#cs ----------------------------------------------------------------------------
[url="http://www.autoitscript.com/forum/index.php?showtopic=83398"]http://www.autoitscript.com/forum/index.php?showtopic=83398[/url]
 AutoIt Version: 3.2.13.7 (beta)
 Author:         myName

 Script Function:
 Template AutoIt script.

#ce ----------------------------------------------------------------------------

#include <GUIConstants.au3>
#NoTrayIcon
$Window = GUICreate("Google Custom Search Engine, AutoIt Forums", 381, 100, 193, 115)
$Label = GUICtrlCreateLabel("Search:", 8, 8, 41, 17)
$Input = GUICtrlCreateInput("", 56, 8, 217, 21)
$Go = GUICtrlCreateButton("Find!", 280, 8, 89, 25, 0)
GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Go
            ShellExecute("[url="http://www.google.com/search?hl=en&q"]http://www.google.com/search?hl=en&q[/url]=" & GUICtrlRead($Input) & "+site%3Aautoitscript.com&btnG=Google+Search&aq=f&oq=")
        Case $Input
            ShellExecute("[url="http://www.google.com/search?hl=en&q"]http://www.google.com/search?hl=en&q[/url]=" & GUICtrlRead($Input) & "+site%3Aautoitscript.com&btnG=Google+Search&aq=f&oq=")
    EndSwitch
WEnd

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