StringReplace, SearchText, SearchText, +, `%2B, All + StringReplace, SearchText, SearchText, &, `%26, All & StringReplace, SearchText, SearchText, #, `%23, All # StringReplace, SearchText, SearchText, `", `%22, All " StringReplace, SearchText, SearchText, `%, `%25, All % This Replace must be first Gui, Add, Button, Default gSubmitSearch x9 w180, Search Gui, Add, Radio, vSearchWith Checked x9 Group, DuckDuckGo Gui, Add, Radio, vSearchAt Checked, Forum Menu, tray, add, Search AHK (Alt+F1), SearchAHK #IfWinActive Quick Search for Autohotkey Gui, Show, AutoSize Center, Quick Search for Autohotkey Gui, Add, Button, xp+85 wp hp ggSearch, &Google It! Gui, Add, Button, yp+30 w77 h26 gfSearch, &Forum Search Gui, Add, Text, x10 y10 w300 h20, Search Autohotkey's site documentation or search from Google: The utility is assigned to a default hotkey(Alt+H), as are the search functions (Alt+F to search the site, Alt+G to search the site via Google). Type in your search parameters and click "Search" to use the site's search itself, or click "Google It!" to do a custom search of the site using Google. You can use this script as a standalone utility or incorporate it into an existing script for easier use. The purpose of this script is to provide a quick and easy way to search the forum for information. I will leave the original script in the top post and write the new one in this post.Ġ9162009:Simplified the GUI's structural code.not that anything was wrong with the old one, just wanted to update it utilizing better techniques I've acquired over timeRenamed the 'Search' button to 'Forum Search' to more clearly identify its search targetCondensed StringReplace commands into a single-line RegExReplace statementThe forum search code is now a forced expression, which allows separate sections for better readability via concatenationSwitched from independently scripted hotkeys for the buttons to Alt hotkeys via the ampersand option (the original hotkey scripting will be commented out at the bottom) /* Given the simplicity issue I'm loathe to alter my original script with that site address but I did do a re-write of the original script. That's a cool little feature through Google! I just wish it was possible for the URL to be a little more user-friendly. :lol:Īmazing how quickly some of these old scripts get forgotten. "qCblh0OGc4XcAdFcWKtAiAqz8nsavnvtzgvgsE6NXN1YSFCMH933Q3WGNJqCtr6L1I" "AELymgUS5YCewFurAu9ZuJSZKOqoiM4_jDb0KElYihvGw9lprCdy_" So, in order to inplement it, (in case someone needs it) It searches within these sites: Other web sites can be added easily as well. Today I found google allow us to create custom search. Keywords: quick search commands scripts functions posts StringReplace, SiteString, AltSearch, %A_SPACE%, `%20, All ![]() StringReplace, AltSearch, Search, #, `%23, All Gui, Show, x334 圓12 h99 w342, Quick Search for Autohotkey Gui, Add, Button, x250 y59 w77 h26, Google It! Gui, Add, Button, x165 y59 w77 h26, Search Gui, Add, Text, x16 y10 w310 h20, Search Autohotkey's site documentation or search from Google: (Ctrl+R to search the site, Ctrl+G to search the site via Google). The utility is assigned to a default hotkey(Alt+H), as are the search functions or click "Google It!" to do a custom search of the site using Google. type in your search parameters and click "Search" to use the site's search itself, standalone utility or incorporate it into an existing script for easier use. The purpose of this script is to provide a quick and easy way ![]() NOTE: as of a newer version of this script had posted in this thread here: New users might find a GUI like this handy for searching for information on the site, but users in general might find it handy also. I didn't think anything of it but my friend thought it was a neat tool so I thought I'd share it with everyone. It allows me to either search the documentation on the site (not the forum search) or search Autohotkey from Google. Nothing groundbreaking about this script, just a simple GUI I have set as a hotkey in my main script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |