Help - Search - Members - Calendar
Full Version: Right Click Choices
BleepingComputer.com > Software > Programming
   
Albert Frankenstein
OK, let's be honest... I am basically lazy.

I am currently organizing my music on my computer. We are talking lots of music. About 50 Gigs worth. I find myself navigating to where I want to create a folder, right clicking, choosing New, choosing folder, and then typing M - P - 3. Hey, that is too much work, groovy guys and gals! It takes two hands to type mp3 because these buttons aren't even close to each other!

So my question is: Can I add an option to this 'right click list' of options? I would like to add a new folder already named mp3 so I don't have to do it manually. Then I would just right click and choose 'NEW MP3 FOLDER', or: right click, choose NEW, and then choose NEW MP3 FOLDER. Either way would would help a lot.

Like I said, I am having to do this hundreds of times, and this has raised the issue.

Thanks so much!
tg1911
Not sure if this is what you're looking for, but this will add Copy To, and Move To to the right-click context menu.

It's the second post in this thread:
Adding Copy To/Move To to right click

Standard warning:
NOTE: This is a registry edit. If you're not familiar with working in the registry, DO NOT ATTEMPT.
Improper changes to the registry could render your computer inoperable.
Remember to backup the registry before making any changes.
Instructions, on how to do that, can be found here:
Backing up the Registry
franktiii
try the sendto program at this address, it offers some interesting functionality to right click options. http://www.trogsoft.com/index.html
quietman7
Send To Toys 2.3
Albert Frankenstein
Hey y'all! Thanks for your suggestions. But none of them will do what I want. I am not sure I explained myself very well in my original post either, so let me try to spell it out in a better way:

While I am in Windows Explorer, I would like to right click and have the capability to create a new folder named 'mp3' with just one or two clicks.

Does anyone know if that is possible?

I have been scouring the net and can't find a script, or even anything close to this.

Thanks!
confused_user
Im sure it is possible, although I do not know the exact way. On my computer, I have a right-click menu for send to -> zipped folder. If Im not mistaken, there is a manual way to add "Mp3 folder" to the right-click list. I will have to do some digging and experimenting.

If I do not post back with your answer tonight, PM me and I will tell you what I have found out so far, ok?

When it has been perfected, I will post the exact answer to your message so others know also.
Albert Frankenstein
Thanks confused user.

Right now I can right click and hover over 'new' and then click on folder. But then I have to rename it. I want something more direct than that. Easier.

One click and it will create and name the folder for me.

Thanks for your efforts.

So far I have not found the answer. I have found many scripts that have been written where you can launch programs from right clicking etc, and changing the right clicking options while in IE, but not in WIndows Explorer.
groovicus
I'm not sure how much easier it is going to be than just a couple of mouse clicks.. And once you create a folder named MP3, it is going to be a useless option because you will already have that folder. Any further creation of a new MP3 folder would delete the one you have.

Is the option supposed to be able to guess at what you want the name to be? Adding a function to the right click menu is simple..so would be the ability to run a custom batch file from that mouseclick to create the folder that you want. Of course by doing it this way, you have no control over where the folder is created, other than where you hard code it to be. Then once you have used that location and name, you will have to edit the bat file to a different name so as to not overwrite the original file that you created. That will take considerably more time thatn just creating a new folder and typing in the name, of which you can already do.

So I am guesing that I still don't understand what it is you are hoping to accomplish.
Albert Frankenstein
Ok, maybe I am not explaining it well.

In this thread I am using a folder named mp3 as an example of what I am trying to occomplish.

As stated earlier in this thread: I am organizing my music on my computer. A ton of it. I have folders with the artists name on it, and in each of those folders I am creating another folder named 'mp3'. Just one for each artist, but I am doing this HUNDREDS of times.

It got me thinking how much easier this task, or other similar tasks, would be if I could have a right click option of creating a folder that is already properly named.

I can obviously right click and create a new folder named "New Folder". Why can't I create one named something else? (In this case mp3)

What I am exploring now is where in the registry the folder name 'New Folder' exisists, and perhaps I can change it to 'mp3' just for this excersize??

In reality I am almost done with creating the folders I need. But this has become a quest of sorts for me. Apparently it isn't too easy to do? Or no one has written a script to do this yet? Or created a program so someone could add a right click option such as this? There may be a commercial need as well.
groovicus
QUOTE
Apparently it isn't too easy to do? Or no one has written a script to do this yet?


It is incredibly easy to do.. that's what I said before, but it depends on your structure. If you have some logical structure like this:
CODE
C:\MyMusic
   |- artist_one
   |- artist_two
   |- artist_n


Then the entire process consists of makng a bat file with a single line:
md c:\MyMusic\*\mp3
That will go through every artist in your MyMusic folder and create the folder that you want. Simple.

Vbscript is actually pretty easy since there are many scripts already available. They just need a bit if tweaking. Again, if you have some kind of logical structure, then the following will work(needs tweaking):
CODE
dim filesys, newfolder, newfolderpath
newfolderpath = "c:\DevGuru\myfolder"
set filesys=CreateObject("Scripting.FileSystemObject")
If Not filesys.FolderExists(newfolderpath) Then
  Set newfolder = filesys.CreateFolder(newfolderpath)
  Response.Write("A new folder has been created at: " & newfolderpath)
End If


If you have no logical structure to your music files, then it will take a bit more work, but it is still really easy to run either file from your right click menu. The code (both the dos code and vbscript) would then have to be altered slightly to run it on the current folder you are in, but the info is easily found on the web.

That's why you can't find any info.. your seacrch parameters may need refining first. Try a search for customizing the right click menu (as it pertains to your OS). And it is trivial to accomplish.

Cheers,
groovicus
Albert Frankenstein
Cool. Thanks for the info and the leads! I'll continue to check it out.
confused_user
Im sorry that I could not find anything about adding to the right-click menu. I was hoping there was a manual way.

I went as far as running a search on specific files to be moved into a specific folder, but it did not pan out. Ex: all music files with Phil Collins -> send to -> Folder C:\desktop\MP3\Phil Collins. It did not really work though, even in a DOS way. Too many manual things you have to do that does not make it worth its while.

I would go with the script or continue using your old way.
Albert Frankenstein
Thanks again everyone for helping me out in this endeavor.

Here is how I ended up.

I explored the Vbscript as groovicus suggested, and I plan on spending some time learning this. Kind of cool. Ok, more than 'kind of'.

I found a script at http://billsway.com/vbspage/ that worked pretty well for me with very little modifiing. Now I can right click on a folder, choose 'new folder', and then a dialog box opens asking what name I want to use, but I made 'mp3' the default name, so it only requires one more click and the 'mp3' folder is created inside the folder that I had originally clicked on.

Again: I right click on the folder in which I want to create a new folder named 'mp3', choose 'new folder', click. Done.

I can see I have a lot to learn as I have no formal eduction in programming other than HTML and Javascript, as well as (don't laugh, now) Liberty Basic. hysterical.gif Ok, you can laugh!

Thanks again!
~~~~~~~~~~~~~
EDIT: Now with a couple of more modifications I can right click on any folder, choose 'mp3 folder', and it's done. There now is a new folder named 'mp3' inside. Cool!
~~~~~~~~~~~~~
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.