Renaming - Multi File Renaming Questions

[quote="tbone"]T#4 + T#5
Right now not possible with DO itself, afaik.
One could use a 3rd party tool/library which is more flexible to show that popup though.[/quote]

Correct about T#4.

I think T#5 can be done by setting dlg.select = true unless I've misunderstood.

Oh sweet, thx. o) I overlooked that! So..

T#5 is here as well, I just tried - it works.

[quote="miketurn1234"]TWEAK #3
Would it be possible when you hit F2 for the script to be able to recognize whether a single file is selected or multiple files are selected.
F2 when Single File Selected = Inline Renamer
F2 when Multiple Files Selected = Script is activated, popup box appears[/quote]

I don't know if this does what you want, but I have just found a workaround that achieves what I want to do.

Bring up the KeyBoard Map.

Set Shift + F2 as the hotkey for Rename Selected.

The when you have a set of files selected, it invokes the rename window.

Hey Guys,

Thanks for all the responses, pretty amazing to see this thread has almost 500 views already.
I have really tested out this script a great deal and I had quite a few more tweaks/ideas that I was hoping to get completed, but I think it is time for me to give up my current approach here.
I fully understand why no one would want to finish this script for someone using a demo version, I was hoping more registered users would have been interested to help to push this idea along, just to at least see it be fully accomplished.
If I am able to find someone else to help me, or if I am ever able to write this script myself someday I will let you know.
Anyways, I really hope others benefit from this script provided by TBone, and I thank you guys again for all the help.

So you say you need to give up our current approach, while at the same time you're looking for someone to help you out or even write this yourself?
Does that make sense? Maybe you sleep over it, we're still here tomorrow! o)

Okay you pulled me back with your response, I am not sure why but it appears as if my last post has upset you?
I am unsure what you are gaining by trying to make me look stupid?
I was not aware that I needed to explain exactly what I was planning on doing, but I guess I can explain further so that it makes sense....
"Current Approach Here" = Coming to this forum and asking for someone to help me with a script
"New Approach" = Maybe finding someone that has come up with a solution to fix the renamer in Windows Explorer
Maybe some kind of shell addon to Windows Explorer
Maybe finding someone who knows how to script, elsewhere, that would be willing to provide a fully functional script to test in DO
Maybe eventually trying to learn more about scripting and writing it myself so that I could test it in DO

Now I didn't sleep at all last night and what I said still makes sense to me today.

Now the unfortunate thing is my "New Approach" may be a waste of more time and I may never find the exact solution I desire.

Now something you said that does not make sense to me is "we're still here tomorrow!" as to say that you are going to provide me with a fully functioning script right now?
I said I was looking to find a fully functional script so that I could test it out, and then continue to test the other features of DO.
You said you could fix my current tweaks requested but would not provide it until I purchased the software.
I agreed and said that I understood why users on this site would not want to write a full script for someone who is only using a trial version, and may never purchase the full version. Which is why I mentioned that I was hoping other users would have been more interested.

As I mentioned the tweaks like the undo, the highlighted field, etc. were minor fixes (that I hoped would be provided).
I figured if I received any resistance it would be for the next four tweaks that I was going to provide after those that would get the script working a little more properly.

Just to again explain a little further, my financial situation is not the best at the moment (to maybe purchase multiple licenses), I have a couple of file explorers that are freeware that I have been using that provide most of the main features I desire. My reason for testing the trial version of DO was because I heard a lot of great things about it, that it has user scripting abilities, as well as to get an idea of what may be available if I decided to purchase it in the future. Now here is my problem, if I have freeware file explorers that provide most of the main features I desire, that means that most of the special desires I have require scripting to be achieved, which brings me to DO and this forum. The problem with this is that this forum generally does not provide scripts to trial users for testing purposes, and even better if you are a trial user and requesting a script it is implied that you are a thief.

So before finding DO I found myself on file explorer forums asking for help, scripts, etc. and now after finding DO I still find myself on forums requesting help, scripts, etc.
So my concern is in the future buying this file explorer and not knowing if my ideas/desires are even possible and if they are will people even be willing to help me if they are not considered to be as useful to others, leaving me with a purchase of software that I have to write my own code for after learning how to do so.

The sad thing is the renamer was only my first script request just to get an idea of how this program works, how scripting works, how this forum works, how support works. I was hoping to get a little farther than I did, I have a list of ideas that all would require scripting that may benefit others as well that I will never know if they are even possible. I didn't even make it past item number one on my list.

If you Tbone or anyone else on this forum wants to help me see this script through that would be great, but if not that is okay too.
As I said I am looking for someone that writes scripts because they enjoy the challenge, a person that has a hunger for it.
Someone who doesn't care if the script is used once or a thousand times, they are just up for the challenge and willing to help.
I think the loyalty to this program and the developers by its user base is great, it shows how good the program is, but I just don't need to keep hearing "buy the program" "buy the program" with every piece of help that I am looking for.

If you went to a department store with the intention of testing items out and potentially buying things and the second you walked into the store a security guard clings to you and follows you around the store, while each employee you ask for help tells you that you have to buy something in order to receive service, you probably wouldn't buy anything at that particular store would you?

Anyways, I still thank you for your all your help Tbone, I still appreciate and believe you were very generous for even taking the time to create the script/button that you did in the first place. What I do not appreciate is you trying to insult me on my way out, it makes me so angry I want to just take my finger and poke you in your one eye x(
Just kidding, no hard feelings, I just have a certain order in which I would like things to unfold, and I understand that is not neccessarily how things work around here.

I think you need to calm down a little bit, nothing tbone said seemed remotely insulting or abusive to me. Also please remember that English is not everyone's native language.

If nothing seemed offensive then I must have misinterpreted.
As I said I am "just kidding" his cyclops eye is safe.
TBone, Jon if you or anyone else that read my post, took any kind of offense to my response, then I apologize.
TBone hopefully you still look like this o) and not like this o(

TBone, you said you would still be here tomorrow, if that is still true and you are still interested in the things I have found within the script you let me know and I will post my findings, if not I thank you for all of your help.

TWEAK #4

TBone mentioned that Tweak #4 can't be done and unfortunately Leo confirmed it above as well, which as I imagine he would know better than most whether this can be done or not, since he is the creator of the software.

That is weird that nothing like this can be achieved. I can understand the stretchable window not being able to be possible, but the actual dimensions of the dialogue box I would have imagined would have been possible.

As I mentioned I know nothing about code but it is odd that something like typing in some kind of dimensions
Example: width:1000px height:200px does not exist.

Shame to hear this one can't be done, it just feels weird when you have a field that you can't see the whole filename all at once.
This was another benefit to the inline renamer in Windows Explorer because the lister width could be adjusted if the filename was too long.

tbone
You mentioned to provide some examples of any things I may come across so here are some things I ran into with the script provided in this thread.

Hopefully some of these examples will be helpful (if you or other users don't experience these things when using this script I am sorry it is probably something I am doing)

"UNDO" EXAMPLE
Book On Birds
Bird Book
Birds Chapter

When you run this script entering "Books About Birds" you get
Books About Birds (1)
Books About Birds (2)
Books About Birds (3)

Which works great, but if you hit undo you get an error?
If possible undoing all three files back to their original names.

FILE WITH NUMBERS EXAMPLE A
Book On Birds 1
Bird Book 3
Birds Chapter 6
If you run this script on these files it will not do anything because each file contains a number in it.

FILE WITH NUMBERS EXAMPLE B
Grass
Bird 5 Bird
Tree 12 Forest

If you run this script on these files you get
Bird 5 Bird (13)
Bird 5 Bird
Tree 12 Forest
It renames the first file taking the name from the middle file and taking the number "12" from the third file giving the first file a "(13)"

FILE WITH NUMBERS EXAMPLE C
Grass 3
Grass 5 Grass
zGrass

If you run this script on these files you get
Grass 3
Grass 5 Grass
zGrass (6)
Takes the number "5" from the middle file and gives the third file "(6)"

The only way I can think of to fix the files with numbering is to somehow have the script ignore numbers in file names and only take in account, numbers that have ( ) around them, this way the script would know whether or not to continue off their numbering. I have no idea if that is even possible to do as far as scripting?

I have not tried RenameEx for accomplishing this so if it is in that script already I apologize in advance.

Hopefully this was in some way useful to you.
Still can't believe how many scripts I have come across written by you, how are you doing all of this!, how many tbones are there?

As mentioned many of these scripts don't seem useful to me at first, I didn't think I would find a use for this one because most of my files have specific unique names, but while looking through my files on my hard drive it dawned on me that this script would come in handy for renaming image files from digital cameras or from downloading off the internet, where you have many images containing the same subject matter that you continue to add too.
Only thing is is that most image files tend to already have numbering within them (especially internet image files) making this current script hard to use.

Thanks again for all the scripts you have contributed, great stuff, very helpful.