PHP Code:
#include <File.au3>
#include <File.au3>
#include <String.au3>
$file = "data.txt"
$path = ""
$pa = InputBox ("Path", "Add ur path below:")
$id = InputBox ("Data", "Place ur ID")
$pw = InputBox ("Data", "Place ur Password", "", "*")
$crypt_id = _StringEncrypt (1, $id, "Akatana")
$crypt_pw = _StringEncrypt (1, $pw, "Akatana")
FileWrite ($file, "")
_FileWriteToLine ($file, 1, $crypt_id, 1)
_FileWriteToLine ($file, 2, $crypt_pw, 1)
$id2 = FileReadLine ($file, 1)
$pw2 = FileReadLine ($file, 2)
$crypt_id2 = _StringEncrypt (0, $id2, "Akatana")
$crypt_pw2 = _StringEncrypt (0, $pw2, "Akatana")
If $path = True Then
Switch $path
Case True
$pa To $path
Case False
EndSwitch
EndIf
If $pw = ("test") Then
MsgBox(0, "Password", "Your Password is correct!")
Run("C:\WINDOWS\EXPLORER.EXE /n,/e," & $path)
Exit
Else
MsgBox(0, "Password", "Your Password is incorrect!")
EndIf
Ich würde gerne $path mit dem vom user ausgewählten $pa austauschen leider funktioniert das mit dem Switch Command irgendwie nicht wie man oben sieht...
Hätte da jemand ne Lösung?
lg
Akatana






