#SingleInstance force
; These next 3 options make it so that it's always on top, it there are no buttons, and doesn't show up in the alt-tab or taskbar
Gui,+AlwaysOnTop
Gui, -SysMenu
Gui, +ToolWindow

Gui, Add, Edit, x2 y3 w100 h20 vNumber +Left, 
Gui, Add, Button, x22 y43 w70 h20 Default vHidden, Ok
Gui, Show, h31 w112, ManSol
GuiControl, Hide, Hidden
Return

ButtonOk:
    Gui, submit ; I have no idea what the regex means any more...
    If RegExMatch(Number, "[[:alpha:]]+")
        run, http://serviceadvisor.deere.com/WebSA/manuals/%Number%
    Else If RegExMatch(Number, "[[:digit:]]+")
        run, http://dtac.deere.com/Solutions/English/%Number%.htm
ExitApp

esc::ExitApp