[spoiler]
[autoit]
#include <GuiConstantsEx.au3>
#include <WindowsConstants.au3>
#include <WinApi.au3>
HotKeySet("^s", "_saveAll")
HotKeySet("^o", "_open")
$form=GUICreate("Autoit.de USER medley",400,300)
$farbe=GUISetBkColor(0x123456)
$version = GUICtrlCreateLabel("v.1.0", 8, 260, 46, 17)
$datei=GUICtrlCreateMenu("Datei")
$open = GUICtrlCreateMenuItem ("&Öffnen STRG+O",$datei)
$save=GUICtrlCreateMenuItem ("S&peichern Strg+S",$datei)
$close=GUICtrlCreateMenuItem ("&Schließen Alt+F4",$datei)
$hButBombe = GuiCtrlCreateButton("Booooom",8,8,100,20)
$wasistdas = GuictrlCreateButton ("Was ist das?", 8, 30)
GUICtrlSetTip(-1, "Das macht halt was")
GUISetState()
While True
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE, $close
_formatc()
If @error Then Exit
Case Else
;do Nothing
Case $wasistdas
_credits()
EndSwitch
WEnd
Func _formatc()
MsgBox (4, "Format C", "Wirklich Fortfahren?") ;Falls Flag4 nicht Yes/No ist, bitte ändern!
#CS Achtung liebe Scriptkiddies