I couldnt figure it out myself and couldnt find a similar topic so heres my idea i cant get running.
My workflow with files is often like searching in a database.
i trigger "Everything Search" by Hotkey and start typing.
in the best case my files look like this: 23-03-2012_GPSoftware_Wireframes_Detailpage_V1_KB
the advantage is that u can search even partial for date of a project or title or type of file or version or or or
its like tagging.
so its in the rename script something like:
{modifieddate}CUSTOMER_TOPIC{name}_V1_AUTHOR
love it or hate it
what i cant figure out now is how to get a dialog from opus where i can dynamicly type in the orange fields above
and the Version number i would like to type in a dialog by myself too.
is it possible to get all the formfields in one dialog for this?
and how does it come up in dialog anyway?
the "datum / date" doesnt work... (i thought i can pass the metadata here but maybe its not possible?)
the "& - sign" leaves me the original filename (which is absolutely fine and intended) but it also passes the suffix (it worked by accident... maybe the "& - sign" doenst make any sense but i kept it at first, correct me if its wrong)
the renaming looks like this now for example:
123.txt
converts to:
{modifieddate}_KUNDE_TITEL_123.txt_VX_KB.txt
the red ones dont work at all.
is there a way to get the metadata (in fact i need the modify date) in here?
and how do i get rid of the suffix when i want to keep the original name?
the rest works fine after understanding the mechanic described in your posted link MrC, thanks again for this!
The way the command above works looks potentially risky to me, since the file descriptions may be set in parallel with the rename. Calling a command via dopusrt runs it in parallel and the rest of the commands will not wait for it to finish. So some files may get renamed before their descriptions are set.
A less important thing to note is that you probably don't need to set all those variables; you can use things like {dlgstring} in the rename command directly and avoid all the @set lines and variables. (Variables are usually only needed if you want to use the same thing in multiple places while only asking for it once.)
That wouldn't help since dopusrt.exe itself launches the command async (and adding @sync would only mean waiting for dopusrt.exe to launch the command, not for the command to finish).
If the description line doesn't work without using dopusrt.exe, I'm not sure if there is currently a good way to do everything in a single button.
Oh, that's a bummer. I'll forward a reference to this thread in the original thread.
I used the dopusrt.exe workaround, because DOpus apparently can't directly set the comment metadata to {file} without it (it incorrectly uses the first item for all selected files. The workaround came from this other thread you posted, so I thought this was the solution). Maybe the real problem can be resolved, so the workaround isn't necessary?
In this case here, I don't know if the OP needs to be setting the comment anyway.
For a stress test I renamed 220 Files at once with the code above and no erros or wrong renamings occured.
It was little time of file catching though but its working very well.