R.L. 0 Posted June 30, 2004 (edited) Just a script to make an Address/Search bar so to reduce mouse clickings : expandcollapse popupopt ("GUINotifyMode", 1) GUICreate("GoogleQuickie Enter String - Search:{Enter} go:{Tab} Exit:{Esc}", 438, 65, 50, 20,0) GUIDefaultFont (11, 400, "Times New Roman") $NSEARCHSTRING = GUISetControl("Input", "", 12, 8, 285, 20) GUIDefaultFont (9, 400, "arial", 2) $NSEARCH = GUISetControl("button", "Search", 305, 5, 48, 25, 0x0001) $NGo =GUISetControl("button", "Go", 360, 5, 30, 25) $NMORE = GUISetControl("button", ">>", 399, 5, 20, 25) While 1 GUIShow() WinActivate("GoogleQuickie") Send("{TAB}") $MSG = GUIMsg() $STRING = GUIRead($NSEARCHSTRING) $ENGINE = IniRead("searchopt.ini", "general", "Browser", "C:\Program Files\Internet Explorer\iexplore.exe") Select Case $MSG = -3 ExitLoop Case $MSG = $NSEARCH $FIXSTRING = StringReplace($STRING, " ", "%20") $PREFIX = "http://www.google.com/search?q=" $GOOGLESTRING = $PREFIX & $FIXSTRING $TORUN = $ENGINE & " " & $GOOGLESTRING Run($TORUN) ExitLoop Case $MSG = $Ngo $TORUN = $ENGINE & " " & $string Run($TORUN) ExitLoop Case $MSG = $NMORE $BENGINE = InputBox("Browser Setting", "Enter your browser path, for example: C:\Program Files\Internet Explorer\iexplore.exe", $engine, "", 500, 70, 100, 100) If @error = 0 Then IniWrite("searchopt.ini", "general", "Browser", $BENGINE) Else Sleep(100) EndIf EndSelect Wend Edited June 30, 2004 by R.L. R.L.A few pieces made with new GUI enabled AutoIt Share this post Link to post Share on other sites
SlimShady 1 Posted June 30, 2004 Well done I like it. Share this post Link to post Share on other sites