ezzetabi Posted April 23, 2004 Posted April 23, 2004 (edited) Never felt your RightClick menu is a little empty?What about have that new items:Send name to clipPut content to clipCopy anywhereMove anywhereExec with paramWipe outIn the extensions you want? In/Uninstallable as will? All hidden in a ~90 KB .exe file made with AutoIt with full source?Just remember to check the install.ini !Wonderful, do not you think? Go to http://crimsonfan.altervista.org/se.html !P.S. the Wipe Out is made passing the file 8 times with a IDEA Encryption (the encryption is of course made "on the place" writing on the original file), with a random password and random mode and finally deleting the wastes that remains You can easily increase the ammount of passes.All the items works only with a single file at time... Sorry Edited April 26, 2004 by ezzetabi
Guest rathore Posted April 23, 2004 Posted April 23, 2004 so u did implement that cmd line tip?! ...good work!
ezzetabi Posted April 23, 2004 Author Posted April 23, 2004 So do you like this little script? Ok, I admit, the movefile and copyfile shell extension are quite useless if applied to a single file, but I really have no idea how about implement a multi selection... Rathor? Can you help me? Still WipeOut and "Exec with params" are quite useful I modified the install.ini, now you can set how many rubbish passages make before delete the file, higher number mean more secure deletion. 8 should be pretty sure anyway... Working next... more files and Encrypt and Decrypt shell extensions...
ezzetabi Posted April 23, 2004 Author Posted April 23, 2004 Added the Crypt / DeCrypt shell extension...
Guest rathore Posted April 24, 2004 Posted April 24, 2004 multiple files are in cmd line params 1, 2, 3....
ezzetabi Posted April 26, 2004 Author Posted April 26, 2004 It seems not, Rathore. I made and compiled this: If WinExists("Test") Then Exit AutoitWinSetTitle("Test") $Alpha = "" For $c = 1 to $CmdLine[0] $Alpha = $Alpha & " " & $CmdLine[$c] & @lf next MsgBox(0,"",$Alpha) I added the following key: HKCR/*/Shell/Test/Command with the value: c:\script\test\test.exe "%1" %* But as it does not show all file names, only the first...
ezzetabi Posted April 26, 2004 Author Posted April 26, 2004 But it enough use the brain... Here we are. It is not a UDF, but this scrap of code can esily applied in any situation you may need... In this case $Alpha will contain all the files names in a array... AutoItSetOption("TrayIconHide",1) If WinExists("Testing...") Then AutoItWinSetTitle("Working...") FileWrite(@ScriptDir & "\list.txt",$CmdLine[1] & "|") Else AutoItWinSetTitle("Testing...") FileWrite(@ScriptDir & "\list.txt",$CmdLine[1] & "|") While 1 Sleep(2000) If Not WinExists("Working...") Then ExitLoop WEnd $Alpha = FileRead(@ScriptDir & "\list.txt",FileGetSize(@ScriptDir & "\list.txt") - 1) FileDelete(@ScriptDir & "\list.txt") $Alpha = StringSplit($Alpha,"|") EndIf ;And now we are $Alpha[0] files listed in $Alpha[n] :) ;Ready for use!!!! :) :)
Guest rathore Posted April 26, 2004 Posted April 26, 2004 just came to post this easy example (compile & drop files on it) For $track = 1 To $CMDLINE[0] MsgBox(0,"Name of file dropped",$CMDLINE[$track]) Next
ezzetabi Posted April 26, 2004 Author Posted April 26, 2004 (edited) Drop the files over an icon have the effect you say, but instead open multi files from a shell extension will open the program lots of times everytime with a different param.... Anyway.. I win this battle agaist the Win weirdness and made the new version! Now... you can select the number you want of file with Move to any location Copy to any location Wipe out Crypt or DeCrypt Send name to clip Send content to clip Still a thing to do... Selects folders! Now you just can't... Rejoy! Edited April 26, 2004 by ezzetabi
condoman Posted April 26, 2004 Posted April 26, 2004 Could someone post a zipped copy of the files. I cannot get unrar.exe to work. Thanks
Abilio_KID Posted April 27, 2004 Posted April 27, 2004 condoman, I have zipped it and put it in my ISP webspace : Zipped Shell Extensionsezzetabi, you mean to right click a folder and see one of those extensions in the menu? If that's what you mean then you can set it in the registry in this key :HKEY_CLASSES_ROOT\Folder\shellTo be able to select multiple files and only one instance of your program you would need to make a 'ContextMenuHandler'. Basically a DLL file that would manage all files but this is very difficult to do. I have an idea...I'll try to make a simillar code and see if it works. I'll reply soon.
ezzetabi Posted April 27, 2004 Author Posted April 27, 2004 Oh, some non Rathore replies... Finally Dear Abilio, I know the Folder/Shell thing, but the Shell extension program right now just not do work if you try to start it on a folder. Look the source code, maybe only "Send name to clip" works on a folder. Anyway, I am working on it. Soon you'll can wipe out full folders
ezzetabi Posted April 27, 2004 Author Posted April 27, 2004 Finally the "final" version is there... Multiselect and folder works well... until the next bug Go to the home page and download! Any advice is welcome.
ezzetabi Posted April 27, 2004 Author Posted April 27, 2004 Oh... forgetting... added the pack in .zip compression for who can't use .rar
ezzetabi Posted April 27, 2004 Author Posted April 27, 2004 As I said... Until the next bug... corrected a small bug in the coping / moving of folders...
ezzetabi Posted April 27, 2004 Author Posted April 27, 2004 (edited) Just for test I tried to recover a Wipe Out files and I could not obtain its contents, but its name was still there!!! So a new feature has been developed. After X passage of random data on the file (That X is set in the install.ini) the file is renamed 100 times and finally deleted. It is renamed with a random sequence of 20-40 maiusc letters. So if you at work after a long and tiring day download two-naked-girls-fighting-in-the-mud.avi and after seeing it you wipe the file out your boss will not can recover a two-naked-girls-fighting-in-the-mud.avi file with meaningless content (but quite meanigful name) but only a SEVLDHXIDJHHDILGHSEHDYCZ file without any sensate content.... Cool isnt it? Edited April 27, 2004 by ezzetabi
ezzetabi Posted April 28, 2004 Author Posted April 28, 2004 Ok, should I stop to post updates and info about my programs in this forums? it seems that none is actually interested in what I am doing..
Abilio_KID Posted April 28, 2004 Posted April 28, 2004 I am but I'm too much sleepy to type anything Btw, I'm still trying to make a easy 'select all' function for the shell extensions. I was looking at how the TweakUI program for Windows does the 'Send to Clipboard as name' with multiple files. Maybe after I sleep
ezzetabi Posted April 29, 2004 Author Posted April 29, 2004 Maybe it is not a wonderful implementation, but you can check mine also...
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