;*****************************************
;HotMiner0_4.au3 by Felix
;Erstellt mit ISN AutoIt Studio v. 0.8 BETA
;*****************************************
#include <Func.au3>
$name = InputBox("Name!", "Name!")
$Form1 = GUICreate("Form1", 615, 350, 232, 194)
$Label1 = GUICtrlCreateLabel("Label1", 16, 16, 188, 17)
$Button1 = GUICtrlCreateButton("Erweiterung 1", 24, 56, 235, 25)
$Button2 = GUICtrlCreateButton("Erweiterung 2", 24, 88, 235, 25)
$Button3 = GUICtrlCreateButton("Erweiterung 3", 24, 120, 235, 25)
$Button4 = GUICtrlCreateButton("Erweiterung 5", 24, 152, 235, 25)
$Button5 = GUICtrlCreateButton("Erweiterung 6", 24, 184, 235, 25)
$Button6 = GUICtrlCreateButton("Close", 520, 280, 75, 25)
$Button7 = GUICtrlCreateButton("Ofizziel Webseite", 504, 40, 91, 25)
$Button8 = GUICtrlCreateButton("Info Version", 504, 78, 91, 25)

GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case -3
            Exit
        Case $Button1 ; Erweiterung 1
            HotKeySet ("^1","Name")
            HotKeySet ("^2","TimeD")
            HotKeySet ("^3","TimeN")
            HotKeySet ("^4","Down")
            HotKeySet  ("^5","Up"  )   
         Case $Button2 ; Erweiterung 2
          

            ; usw...
    EndSwitch
Wend

Func Name()
Send ("t")
Sleep (200)
Send ("Mein Name Ist "$name  )
Send ("{enter}")
EndFunc
