Starstar Posted April 2, 2013 Share Posted April 2, 2013 (edited) With the best wishes i wrote a script with autoit that can help you hiding your personal data. expandcollapse popup;File Hider #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Dir=":\" $FilehideGui = GUICreate("File Hider", 287, 190, 193, 115) $lblDrivename= GUICtrlCreateLabel("Drive Name:", 16, 40, 60, 17);Drive name in which your Folder save that you want Hide. $lblFoldername = GUICtrlCreateLabel("Folder/File Name:", 16, 80, 95, 17);Folder name or file name that you want hide.if your,s specific folder is present in another folder you can write his name as(Folder\folder1\folder2\etc) $txtdrivename = GUICtrlCreateInput("", 112, 40, 153, 21) Dim $ES_PA,$ES_AU $txtFoldername = GUICtrlCreateInput("", 112, 80, 153, 21, BitOR($ES_PA,$ES_AU)) $btnOK = GUICtrlCreateButton("&Hide!", 200, 160, 75, 25, 0) $btnOK2 = GUICtrlCreateButton("&Show!", 120, 160, 75, 25, 0) $lblInfo3 = GUICtrlCreateLabel("AdnanBaloch", 10, 164, 110, 80) GUICtrlSetFont($lblInfo3, 12, 800) GUISetState(@SW_SHOW) While 1 $uMsg = GUIGetMsg() Switch $uMsg Case $btnOK $Drivename = GUICtrlRead($txtdrivename) If StringLen($Drivename)=0 Then MsgBox(64,"AdnanBaloch","Plese Enter Your Drivername.") Else $Foldername = GUICtrlRead($txtFoldername) If StringLen($Foldername)=0 Then MsgBox(64,"HM_LINK 03216592390","Plese Enter Your Folder or File name.") Else $Drivename = GUICtrlRead($txtDrivename) $Foldername = GUICtrlRead($txtFoldername) Run("CMD") Sleep(500) Send("attrib {+}s {+}h ") Send($Drivename&$Dir&$Foldername) Sleep(250) Send("{Enter}") Send("{Enter}") sleep(250) Send("exit") Send("{Enter}") ExitLoop EndIf EndIf Case $btnOK2 $Drivename = GUICtrlRead($txtdrivename) If StringLen($Drivename)=0 Then MsgBox(64,"AdnanBaloch","Plese Enter Your Drivername.") Else $Foldername = GUICtrlRead($txtFoldername) If StringLen($Foldername)=0 Then MsgBox(64,"HM_LINK 03216592390","Plese Enter Your Folder or File name.") Else $Drivename = GUICtrlRead($txtDrivename) $Foldername = GUICtrlRead($txtFoldername) Run("CMD") Sleep(500) Send("attrib {-}s {-}h ") Send($Drivename&$Dir&$Foldername) Sleep(250) Send("{Enter}") Send("{Enter}") sleep(250) Send("exit") Send("{Enter}") ExitLoop EndIf EndIf Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd GUISetState(@SW_HIDE) MsgBox(64,"Can you like me?","If you like this please give me a 'Like'On Post") Edited April 2, 2013 by adnanbaloch ksr000 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
James Posted April 2, 2013 Share Posted April 2, 2013 Bit of advice, run Tidy in Scite, it'll add some formatting and make it much easier to read and maintain Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Starstar Posted April 2, 2013 Author Share Posted April 2, 2013 (edited) Thanks james with the help of friends it will be better more....... Edited April 2, 2013 by adnanbaloch ksr000 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
ksr000 Posted April 2, 2013 Share Posted April 2, 2013 wow good work brooooo...adnan Link to comment Share on other sites More sharing options...
Starstar Posted April 2, 2013 Author Share Posted April 2, 2013 thanks Ksr.... ksr000 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
PainTain Posted April 2, 2013 Share Posted April 2, 2013 This could be easily done with "FileSetAttrib" Link to comment Share on other sites More sharing options...
Starstar Posted April 2, 2013 Author Share Posted April 2, 2013 (edited) thanks PainTain and enjoy your first "Like" Edited April 2, 2013 by adnanbaloch ksr000 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Starstar Posted April 2, 2013 Author Share Posted April 2, 2013 (edited) don't worry if you forgot your hide file name. Click on "Start" Type "CMD" in "Run" type "D:"in cmd look pics "Ex1" tpype "dir/a" in cmd look pics"Ex2" There is all names of files of D:\ find your file name. look pics "Ex3" Edited April 2, 2013 by adnanbaloch ksr000 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Starstar Posted April 2, 2013 Author Share Posted April 2, 2013 Updated version of File hider.....New feather is a forgot button click on it if you forgot your hide file name.... expandcollapse popup;File Hider #include #include $Dir=":\" $FilehideGui = GUICreate("File Hider", 287, 190, 193, 115) $lblDrivename= GUICtrlCreateLabel("Drive Name:", 16, 40, 60, 17);Drive name in which your Folder save that you want Hide. $lblFoldername = GUICtrlCreateLabel("Folder/File Name:", 16, 80, 95, 17);Folder name or file name that you want hide.if your,s specific folder is present in another folder you can write his name as(Folder\folder1\folder2\etc) $txtdrivename = GUICtrlCreateInput("", 112, 40, 153, 21) $lblInfo = GUICtrlCreateLabel("Don't worry if you forgot your hide file name!", 35, 8, 250, 20) GUICtrlSetFont($lblInfo, 8, 800) $btnOK3 = GUICtrlCreateButton("&Forgot!", 170, 115, 75, 25, 0) GUICtrlCreateLabel("If you forgot your hide file name!", 16, 120, 155, 20) Dim $ES_PA,$ES_AU $txtFoldername = GUICtrlCreateInput("", 112, 80, 153, 21, BitOR($ES_PA,$ES_AU)) $btnOK = GUICtrlCreateButton("&Hide!", 200, 160, 75, 25, 0) $btnOK2 = GUICtrlCreateButton("&Show!", 120, 160, 75, 25, 0) $lblInfo3 = GUICtrlCreateLabel("AdnanBaloch", 10, 164, 110, 80) GUICtrlSetFont($lblInfo3, 12, 800) GUISetState(@SW_SHOW) While 1 $uMsg = GUIGetMsg() Switch $uMsg Case $btnOK $Drivename = GUICtrlRead($txtdrivename) If StringLen($Drivename)=0 Then MsgBox(64,"AdnanBaloch","Plese Enter Your Drivername.") Else $Foldername = GUICtrlRead($txtFoldername) If StringLen($Foldername)=0 Then MsgBox(64,"HM_LINK 03216592390","Plese Enter Your Folder or File name.") Else $Drivename = GUICtrlRead($txtDrivename) $Foldername = GUICtrlRead($txtFoldername) Run("CMD") Sleep(500) Send("attrib {+}s {+}h ") Send($Drivename&$Dir&$Foldername) Sleep(250) Send("{Enter}") Send("{Enter}") sleep(250) Send("exit") Send("{Enter}") ExitLoop EndIf EndIf Case $btnOK2 $Drivename = GUICtrlRead($txtdrivename) If StringLen($Drivename)=0 Then MsgBox(64,"AdnanBaloch","Plese Enter Your Drivername.") Else $Foldername = GUICtrlRead($txtFoldername) If StringLen($Foldername)=0 Then MsgBox(64,"HM_LINK 03216592390","Plese Enter Your Folder or File name.") Else $Drivename = GUICtrlRead($txtDrivename) $Foldername = GUICtrlRead($txtFoldername) Run("CMD") Sleep(500) Send("attrib {-}s {-}h ") Send($Drivename&$Dir&$Foldername) Sleep(250) Send("{Enter}") Send("{Enter}") sleep(250) Send("exit") Send("{Enter}") ExitLoop EndIf EndIf case $btnOK3 $DD=":" $dir="dir/a" $Drivename = GUICtrlRead($txtDrivename) $Foldername = GUICtrlRead($txtFoldername) If StringLen($Drivename)=0 Then MsgBox(64,"AdnanBaloch","Plese Enter Your Drivername.") Else Run("CMD") Sleep(500) Send($Drivename&$DD) Send("{Enter}") Send("{Enter}") Send($dir) Sleep(250) Send("{Enter}") Send("{Enter}") Sleep(250) MsgBox(64,"Find file Name","find your file name and mark it with the help of right click and copy by ctr+c then paste it in folder/file name.") ExitLoop EndIf Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd GUISetState(@SW_HIDE) MsgBox(64,"Can you like me?","If you like this please give me a 'Like'On Post") ksr000 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Developers Jos Posted April 2, 2013 Developers Share Posted April 2, 2013 @adnanbaloch, Please do yourself and us a favour and stay away from posting anything in this forum for a while longer. It is good that you play around with Autoit3 and find things out, but this example has no place here. So, please slow down and first spend time learning and try to minimize these many oneliner postings. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
James Posted April 2, 2013 Share Posted April 2, 2013 Seriously, please run Tidy on this source, it'll make your headaches shy away. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Guest busyman Posted April 7, 2013 Share Posted April 7, 2013 good work Link to comment Share on other sites More sharing options...
Starstar Posted April 7, 2013 Author Share Posted April 7, 2013 (edited) Thanks Busyman.........Welcome to autoit you are on best place. Edited April 7, 2013 by adnanbaloch ksr000 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 7, 2013 Moderators Share Posted April 7, 2013 busyman, Both you and ksr000 seem very keen on adnanbaloch's posts. Would you care to explain why you both use the same IP? M23 jaberwacky, crashdemons and James 3 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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