I am in a process of discovering this wonderful utility so I am trying to learn as much as I can. I have one question:
I want to be able to select a file and copy it in a designated directory and at the same time rename it by picking up the name of the folder the file is located. If there is a file with the same name in designated directory I would like it to be replaced automaticaly once
it is renamed. Is there someone who can help me to make an user command for doing that.
Also I noticed that sometimes it takes a while for Opus to start. Is there a bug or I screwed my copy?
DOpus sometimes starts up slowly on my machine too but in my situation it's not DOpus. Occasionally Windows seems to take the slow route in getting completely booted up, and since I've never found a way to speed it up, I just live with it.
I'm also not aware of any current issues involving DOpus start up problems (that are actually DOpus problems).
About your rename problem. I worked on this renaming files with the current folder name concept awhile this morning and I actually had a batch file/DOpus script nearly done that would do it. But in the end I abandoned the project because there are just too many ways such a script would not work in certain situations. Situations like what and how many files are selected, where they are located (in the local machine, on the internet, on a network, etc). It just was turning into a quagmire project so I let it go.
On the other hand no one else has attempted to answer your question so I'll follow up here with my 2 cents worth.
Perhaps some day if DOpus supports an internal scripting language something like this will be possible. For right now though, I'd do it the old fashioned way. I'd back up one folder, select the folder I want to use the name of, then copy the name of it to the Windows clipboard. (You could easily make a button to do this). Then I'd go into that folder, select the desired files and launch the standard rename dialog box where I'd enter * for the old name and for the new name I would hit CTRL+V to paste the folder name from the clipboard, followed by a -* which would prepend the folder name to the original name(s).
Agree with JohnZ - it's for stuff like this that I really hope to see at least a rudimentary scripting ability in Dopus someday. We'll see...
Maybe Porc or I can write a quick console app to parse the folder name for use in renaming the file. He wrote an app called pathdup that dealt with the same sort of prinicples for a different effect.
Clarification - is it the parent folder of where the file exists before you copy it that you want to be reflected in the new filename or is it the folder you're copying the file to?
Guys thanks a lot for looking into this so seriously. I have to admit that I was a bit disapointed that no one answered for a 2 days and than two comments in one day.
I hope the new version will have this ability.
[quote]
steje wrote:
Clarification - is it the parent folder of where the file exists before you copy it that you want to be reflected in the new filename or is it the folder you're copying the file to?[/quote]
I would like to be able to name it after the directory of the file where it is stored before the copy operation.
For right now though, I'd do it the old fashioned way. I'd back up one folder, select the folder I want to use the name of, then copy the name of it to the Windows clipboard. (You could easily make a button to do this). Then I'd go into that folder, select the desired files and launch the standard rename dialog box where I'd enter * for the old name and for the new name I would hit CTRL+V to paste the folder name from the clipboard, followed by a -* which would prepend the folder name to the original name(s).[/quote]
Thanks for your comments John. As for doing it "old fashion way" yes it is possible but when you have around 10,000 files than its a bit slow if you know what I mean.
That's a situation when I will use scripts to process files. A script would do this just the way you want (although it would not be a simple script). The problems I ran into yesterday on your question arose from passing the parameters back and forth between the script and DOpus.
[quote]
JohnZeman wrote:
That's a situation when I will use scripts to process files. A script would do this just the way you want (although it would not be a simple script). The problems I ran into yesterday on your question arose from passing the parameters back and forth between the script and DOpus.[/quote]
Do you know any commercial utility which can do this for me?
I know it will rename files to include the current folder name and then move them to a new location if you want. I'm not sure what it will do in the event of a name clash, my guess is it'll prompt you.