Jump to content
Sign in to follow this  

Taskbar Google Search

Recommended Posts

herees the file...run it...pressing enter while its active should open a internet explorer...but it searchs for '3'...not what you want...

#include <GUIConstants.au3>
#include <IE.au3>
HotKeySet("{ENTER}", "_run")
$GUI = GUICreate("", 150, 25, @DesktopWidth- 300, @DesktopHeight -27, BitOR($WS_POPUP,$WS_CLIPSIBLINGS), 0x00000088)
$search = GUICtrlCreateInput("Google Search", 25, 5, 100, 17)
GUICtrlSetBkColor(-1, 0x000000)
GUICtrlSetColor(-1, 0xFFFFFF)
$Icon1 = GUICtrlCreateIcon("C:\WINDOWS\system32\shell32.dll", -221, 8, 5, 15, 15, BitOR($SS_NOTIFY,$WS_GROUP))
$nMsg = GUIGetMsg()
If $nMsg = $GUI_EVENT_CLOSE Then
While 1
    WinSetOnTop($GUI, "", 1)
Func _run()
    If WinActive($GUI) Then
        _IECreate("http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS255&q=" & $search)

Share this post

Link to post
Share on other sites

Wow...it worked...thank you :D

Another question...why isnt this working properly...i have a hotkeyset to {ENTER} IF ITS Active...but...it always uses enter....hmmmm?

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...