Code:
#include <Crypt.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
GUICreate("Test", 425, 100)
Local $iDestinationInput = GUICtrlCreateInput("", 5, 5, 200, 20)
Local $iDestinationBrowse = GUICtrlCreateButton("...", 210, 5, 35, 20)
$Button1 = GUICtrlCreateButton("Inject", 40, 80, 35, 17)
$Radio1 = GUICtrlCreateRadio("Manual Inject", 24, 56, 89, 17)
$Radio2 = GUICtrlCreateRadio("Auto Inject", 120, 56, 81, 17)
GUISetState(@SW_SHOW)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
Case $iDestinationBrowse
$sFilePath = FileSaveDialog("Save the file as ...", "", "dll files (*.dll)") ; Select a file to save the encrypted data to.
If @error Then
ContinueLoop
EndIf
GUICtrlSetData($iDestinationInput, $sFilePath) ; Set the inputbox with the filepath.
EndSwitch
WEnd






