Update 8/19/2015 - Fixed Googler's tooltip text and title being swapped
QuickStart is recommended for use with these scripts; it even has built-in support! (just uncomment a few lines)
Googler.ahk (#Include after auto-execute section if used with another script; use GoSub GoogleGui)
Code: Select all
GoogleGui:
Gui, Destroy
Gui, Font, s10, Consolas
Gui, Add, Edit, x5 y5 w215 h180 vGoogleList
Gui, Add, Button, x5 y190 w105 h30 +Default gBatchGoogle, Google it!
Gui, Add, Button, x115 y190 w105 h30 gGuiClose, Cancel
Gui, Show, w225 h225, Batch Googler
Gui, Font
Return
BatchGoogle:
Gui, Submit
Gui, Destroy
GoogleCount =
Loop, Parse, GoogleList, `n
If ( A_LoopField ) {
GoogleCount++
Run http://www.google.com/#q=%A_LoopField%
}
TrayTip, Batch Googler, %GoogleCount% queries Googled!
GoogleCount =
Return
; Escape if these labels they are already used by the main script
GuiClose:
GuiEscape:
Gui, Destroy
Return
Code: Select all
ABCGui:
Gui, Destroy
Gui, Font, s10, Consolas
Gui, Add, Edit, x5 y5 w215 h180 vAlphabetList
Gui, Add, Button, x5 y190 w105 h30 +Default gAlphabetize, Alphabetize!
Gui, Add, Button, x115 y190 w105 h30 gReverseAlphabetize, Ezitebahpla! ; Alphabetize backwards
Gui, Add, Button, x5 y225 w105 h30 gRandomAlphabetize, Randomize!
Gui, Add, Button, x115 y225 w105 h30 gGuiClose, Done
Gui, Show, w225 h260, Alphabetron 3000
Gui, Font
Return
Alphabetize:
Gui, Submit, NoHide
Sort AlphabetList
GuiControl, , AlphabetList, %AlphabetList%
Return
ReverseAlphabetize:
Gui, Submit, NoHide
Sort AlphabetList, R
GuiControl, , AlphabetList, %AlphabetList%
Return
RandomAlphabetize:
Gui, Submit, NoHide
Sort AlphabetList, Random
GuiControl, , AlphabetList, %AlphabetList%
Return
; Escape if these labels they are already used by the main script
GuiClose:
GuiEscape:
Gui, Destroy
Return