Hello Guys, I'm back again I wanted to make a hider for rar i can do it manually but not automatic
Here is my GUI what's the problem?
CMD is still saying FILE NOT FOUND!
help me
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("PNG Hider :D", 465, 164, 192, 124)
$Label1 = GUICtrlCreateLabel("Ever wanted to hide a rar file into image with your specified background? here is the solution :)", 8, 8, 446, 17)
$Input1 = GUICtrlCreateInput("Destination of Background", 8, 40, 369, 21)
$Button1 = GUICtrlCreateButton("Browse...", 384, 40, 75, 25)
$Input2 = GUICtrlCreateInput("Destination of RAR FILE", 8, 72, 369, 21)
$Button2 = GUICtrlCreateButton("Browse...", 384, 72, 75, 25)
$Button3 = GUICtrlCreateButton("DO IT NOW!", 176, 135, 75, 25)
$Label2 = GUICtrlCreateInput("The Name OF THE FILE!",8,100,369,21)
$Button4 = GUICtrlCreateButton("Browse...",384,100,75,25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button3
$bfile = Guictrlread($Input1)
$rfile = GUICtrlRead($Input2)
$kfile = GUICtrlRead($Label2)
$Cmd = "copy /b "&$bfile&" + "&$rfile&" "&$kfile
ClipPut($Cmd)
RunWait(@ComSpec & " /k "&$Cmd)
Case $Button1
$sfile = FileOpenDialog("hider","C:\","Image File (*.jpg;*.png)","")
GUICtrlSetData($Input1,$sfile)
case $Button2
$dfile = FileOpenDialog("hider","C:\","Archive (*.rar;*.zip;*.tar.gz;*.7z) ","")
GUICtrlSetData($Input2,$dfile)
Case $Button4
$zfile = FileSaveDialog("hider","C:\","Image File (*.png;*.jpg)","")
GUICtrlSetData($Label2,$zfile&".png")
EndSwitch
WEnd
Thanks.
Trojan55