Jump to content

Ezzetabi's Shell Extensions


ezzetabi
 Share

Recommended Posts

Never felt your RightClick menu is a little empty?

What about have that new items:

Send name to clip

Put content to clip

Copy anywhere

Move anywhere

Exec with param

Wipe out

In 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? :D

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 :huh2:

You can easily increase the ammount of passes.

All the items works only with a single file at time... Sorry

Edited by ezzetabi
Link to comment
Share on other sites

So do you like this little script? :D

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... :lol:

Rathor? Can you help me? :huh2:

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...

Link to comment
Share on other sites

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... :D

Link to comment
Share on other sites

But it enough use the brain... :D

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!!!! :) :)
Link to comment
Share on other sites

Guest rathore

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

Link to comment
Share on other sites

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 :D 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... :huh2:

Rejoy!

Edited by ezzetabi
Link to comment
Share on other sites

condoman, I have zipped it and put it in my ISP webspace : Zipped Shell Extensions

ezzetabi, you mean to right click a folder and see one of those extensions in the menu? :D If that's what you mean then you can set it in the registry in this key :

HKEY_CLASSES_ROOT\Folder\shell

To 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.

:huh2: I have an idea...

I'll try to make a simillar code and see if it works. I'll reply soon.

Link to comment
Share on other sites

Oh, some non Rathore replies... Finally :D

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 :huh2:

Link to comment
Share on other sites

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 by ezzetabi
Link to comment
Share on other sites

I am but I'm too much sleepy to type anything :D

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 :huh2:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...