Trojan55 Posted December 11, 2013 Share Posted December 11, 2013 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 expandcollapse popup#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 Link to comment Share on other sites More sharing options...
Wruck Posted December 11, 2013 Share Posted December 11, 2013 Here is my GUI what's the problem? CMD is still saying FILE NOT FOUND! help me Case $Button3 $bfile = Guictrlread($Input1) $rfile = GUICtrlRead($Input2) $kfile = GUICtrlRead($Label2) $Cmd = "copy /b "&$bfile&" + "&$rfile&" "&$kfile ClipPut($Cmd) RunWait(@ComSpec & " /k "&$Cmd) To run DOS commands, try: RunWait(@ComSpec & " /c " & "commandName") Link to comment Share on other sites More sharing options...
Trojan55 Posted December 17, 2013 Author Share Posted December 17, 2013 Tried that, not working :/ Link to comment Share on other sites More sharing options...
Celtic88 Posted December 17, 2013 Share Posted December 17, 2013 (edited) Try this ! Global $Form1 = GUICreate("PNG Hider :D", 465, 164) Global $Label1 = GUICtrlCreateLabel("Ever wanted to hide a rar file into image with your specified background? here is the solution :)", 8, 8, 446, 17) Global $Input1 = GUICtrlCreateInput("Destination of Background", 8, 40, 369, 21) Global $Button1 = GUICtrlCreateButton("Browse...", 384, 40, 75, 25) Global $Input2 = GUICtrlCreateInput("Destination of RAR FILE", 8, 72, 369, 21) Global $Button2 = GUICtrlCreateButton("Browse...", 384, 72, 75, 25) Global $Button3 = GUICtrlCreateButton("DO IT NOW!", 176, 135, 75, 25) Global $Label2 = GUICtrlCreateInput("The Name OF THE FILE!", 8, 100, 369, 21) Global $Button4 = GUICtrlCreateButton("Browse...", 384, 100, 75, 25) GUISetState() Local $nMsg While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit Case $Button3 Local $bfile = GUICtrlRead($Input1) Local $rfile = GUICtrlRead($Input2) Local $kfile = GUICtrlRead($Label2) Local $Cmd = "copy /b " & FileGetShortName($bfile) & " + " & FileGetShortName($rfile) & " " & FileGetShortName($kfile) ClipPut($Cmd) RunWait(@ComSpec & " /c " & $Cmd) Case $Button1 Local $sfile = FileOpenDialog("hider", "C:\", "Image File (*.jpg;*.png)", "") GUICtrlSetData($Input1, $sfile) Case $Button2 Local $dfile = FileOpenDialog("hider", "C:\", "Archive (*.rar;*.zip;*.tar.gz;*.7z) ", "") GUICtrlSetData($Input2, $dfile) Case $Button4 Local $zfile = FileSaveDialog("hider", "C:\", "Image File (*.png;*.jpg)", "") GUICtrlSetData($Label2, $zfile & ".png") EndSwitch WEnd Edited December 17, 2013 by DjForfun Link to comment Share on other sites More sharing options...
Trojan55 Posted January 10, 2014 Author Share Posted January 10, 2014 (edited) Still problem ...Syntaxe... Edited January 10, 2014 by Melba23 Posts merged Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 10, 2014 Moderators Share Posted January 10, 2014 Just to clarify, maybe my old eyes are deceiving me. You're hiding a rar file inside a pic? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
BrewManNH Posted January 10, 2014 Share Posted January 10, 2014 Steganography If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 10, 2014 Moderators Share Posted January 10, 2014 I know the field, we use it a lot on the CEH side. It always throws up a flag for me, curious at the need for such a thing. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Blue_Drache Posted January 10, 2014 Share Posted January 10, 2014 (edited) I know the field, we use it a lot on the CEH side. It always throws up a flag for me, curious at the need for such a thing. So you can trade child porn, warez, and other illegal stuff on 4chan. Sure ... there's legitimate uses, but the overwhelming purposes is the prior reasons. Edited January 10, 2014 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 10, 2014 Moderators Share Posted January 10, 2014 So you can trade child porn, warez, and other illegal stuff on 4chan. Sure ... there's legitimate uses, but the overwhelming purposes is the prior reasons. Exactly my point in asking. I would rather be enlightened as to the OP's uses than assume it is something nefarious. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now