Delete Helper
Delete Helper aids you in deleting files.
it can also show you file that have been deleted with the tool
Features
File Select Dialog To Delete File
Search Click A Button press F12 and just type in the file you wish to
delete(there is no input box just type!)
Upcoming Features
A help file (there are instructions on how to use the program in the GUI)
Save As DeleteHelper.ahk
Code:
#SingleInstance Force
SetBatchLines, 10ms
Gui, Add, Text, x16 y20 w110 h60 , Delete Helper is a tool to help you delete files in many various ways.
Gui, Add, GroupBox, x6 y0 w140 h70 , Intro
Gui, Add, Button, x16 y100 w100 h30 gDialogDel, Delete A File
Gui, Add, Text, x16 y140 w120 h40 vText,
Gui, Add, Button, x16 y220 w100 h30 gSearchDel, Search for file
Gui, Add, Text, x16 y260 w140 h80 vText2,
Gui, Add, CheckBox, x186 y10 w100 h30 vChange gHelpText, Show Help Text
Gui, Add, Text, x186 y50 w100 h30 , ^Recomended
Gui, Add, Button, x176 y100 w100 h30 gShowDeleted, Show Files Deleted
; Generated using SmartGUI Creator 4.0
Gui, Show, x163 y104 h393 w493, Delete Helper
return
GuiClose:
ExitApp
ShowDeleted:
msgbox %filetodel% %file%
return
DialogDel:
FileSelectFile, file, 3, , Select File To Delete,
FileDelete, %file%
return
SearchDel:
F12::
Input, UserInput, T5,{enter}{ins}
ifequal,userinput,, return
endkey=%errorlevel%
Loop, c:\*.*, 1, 1
{
filetodel = %A_LoopFileFullPath%
Found = Yes
Loop, Parse, UserInput, %a_space%
IfNotInString, filetodel, %A_LoopField%, SetEnv, Found, No
IfEqual, Found, Yes
{
ifnotequal, endkey, Endkey:Insert, FileDelete, %filetodel%
Found = No
break
}
}
Return
HelpText:
Gui, Submit, NoHide
If (Change = 1) ; The CheckBox is checked
{
GuiControl,, Text, Opens a dialog to select a file in which to delete
GuiControl,, Text2, Click the button then press f12 then type the name of the file in which to delete (Note: there is no input box just type ) Then when or if it is found it will be deleted
}
Else ; The CheckBox isn't checked
{
GuiControl,, Text, ; Change the Text Control to "Some Text"
GuiControl,, Text2, ; Change the Text Control to "Some Text"
}
Return