Hallo Leute,
bin ganz neu hier und habe heute das erste mal von Auto IT gehört xD
Ich würde gerne damit einen TrueCryptContainer automatisch erstellen lassen. Ich habe dazu ein Skript im Internet gefunden. Leider funktioniert es nicht ganz so wie ich es brauche, da ich gerne DYNAMISCHE container hätte. Dazu muss eine Checkbox betätigt werden und die Abfrage mit "Ja" beantwortet werden. Ich habe aber keine Ahnung wie man das macht.
Hier ist der Quellcode der genau diesen Schritt behandelt Ich Danke im voraus und hoffe jemand kann mir einen TIpp geben
If $b_TC_Volume_Creation_Wizard_failed = False Then
$TC_Timer = TimerInit()
While TimerDiff($TC_Timer) < 5000
If WinExists("[TITLE:TrueCrypt Volume Creation Wizard; CLASS:#32770]", "") = 1 Then ControlClick("[TITLE:TrueCrypt Volume Creation Wizard; CLASS:#32770]", '', '[CLASS:Button; INSTANCE:1]')
If StringInStr(WinGetText($hWnd_TC_Volume_Creation_Wizard), "Volume Format") Then
ControlCommand($hWnd_TC_Volume_Creation_Wizard, "", "[CLASS:ComboBox; INSTANCE:1]", "SelectString", $TC_Container_Filesystem)
If ControlCommand($hWnd_TC_Volume_Creation_Wizard, "", "[CLASS:ComboBox; INSTANCE:1]", "GetCurrentSelection", "") = $TC_Container_Filesystem Then
ConsoleWrite('Step 09: Set Container File Format to ' & $TC_Container_Filesystem & @CRLF)
$TC_Volume_Creation_Wizard_Error_Code = 9
ControlClick($hWnd_TC_Volume_Creation_Wizard, '', '[CLASS:Button; INSTANCE:3]')
ExitLoop
EndIf
Else
$b_TC_Volume_Creation_Wizard_failed = True
EndIf
WEnd
EndIf