Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Paam voll in die Fresse", 483, 217, 255, 221)
$Button1 = GUICtrlCreateButton("Test", 64, 104, 369, 57, 0)
$Pic1 = GUICtrlCreatePic("C:\Users\Tempii\Desktop\Zeugs\newspic_c3.jpg", 0, 0, 500, 236, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ShellExecute("http://www.youtube.com/watch?v=z53Ui5ibP14&feature=related")
EndSwitch
WEnd
hier eine pw funktion:
Code:
Opt("MustDeclareVars", 1)
Password()
Func Password()
local $pwd
$pwd = InputBox( "Passwort eingebn Junge!", "Gebe das majestätische Passwort ein:", "mongo","*", 230 , 120)
GUISetState()
If $pwd = "majestro" Then
MsgBox(0,"","Fuck yeah du bist gut!")
Else
Msgbox(0,"","Möp falsch!")
EndIf
EndFunc
aber ich weis jetzt nicht wie ich sie verbinden soll o: