I initially tried with Active Perl 5.18.2.1802 x64, but this caused Opus to crash when the rename preview was enabled (Jon and Leo informed). When I uninstalled Active Perl 5.18.2.1802 x64 and installed 5.16.3.1604 x64, the crash disappeared.
I had same problem as aussieboykie in that date-manip was not installed, and had to run ppm install date-manip, so you might want to mention this in the first post MrC. One other suggestion to help beginners, would be to explain that they need to import the .orp file using the rename dialog File menu, and then to create/save a preset (eg. named "_Dynamic Renamer 1.11")
I was trying to use the -+1 transformation on file of the form filename_001.ext but it removes the leading zeros so ends up changing it to filename_2.ext instead of filename_002.ext. Would be great if it kept leading zeros.
To workaround the issue, I tried to chain the -### transformation but couldn't get the required result.
Also, the script doesn't remove any leading spaces from the New name field, so it doesn't recognise " -+1".
"... The script requires ActivePerl 5.16 (not 5.18)"
The link in your post gets you to the download site showing 5.18 and 5.20 only.
v5.16 is available in Business Edition and Enterprise Edition but I am not sure they are for free.
I've known about this for a while, and was awaiting for someone to mention it, or be affected by it. Unfortunately, ActivePerl pulled the old release, and has bumped their versions. They do charge for the archived versions (a pure money grab), so I'll have to check that the required modules are built for the newer versions of Perl (when I wrote Dynamic Renamer, they were not yet ready). I'll take a look this weekend.
Edit: The modules are available. I just have to verify the code is 5.18 or 5.20 compatible.
Now, I don't know which versions you have available at yours. Maybe you can verify the checksums?
Alternatively, maybe.. there is a download-location on the forum somewhere where you can store 'your'
ActivePerl? But likely that requires okay from the administrator. Just a suggestion.
So, the latest version of Dynamic Renamer is indeed compatible with v5.18.4.1803 / v5.20.1.2000 ?
[/quote]
Well, so far, it isn't looking too good.
The 64-bit version of ActivePerl 5.20 causes DirectoryOpus 11.12.04 to crash upon selecting a perlscript rename script.
The 32-bit version of ActivePerl 5.20 causes DirectoryOpus to emit to the log the diagnostic "Script Engine 'perlscript' could not be opened".
Given the unfriendliness here towards anything not JScript or VBScript, I'm not hopeful this will get investigated or resolved.
Version 5.18 does not have certain required modules available, so that's a no-go.
Reinstalling 5.16 works fine, so I'd say the only option currently is that version.
I'm not going to post the binaries as this might violate some ActiveState terms. The 64-bit version of 5.16.3 you reference at CNet is identical to the one I have, which came from ActiveState's site. I'll update the links in post #1 to refer to those links - thanks for finding them.
It's crashing in PerlSE.dll in the call to IActiveScriptParse::InitNew. You'll have to report this to ActiveState if you want it "investigated or resolved"
Note: ActiveState has updated ActivePerl 5.20 to version 5.20.2.2001. This restores the ability for ActivePerl to work with Windows Scripting hosts. I've updated post #1 to reflect this version as the new recommend version.
I'll be updating Dynamic Renamer shortly with a few bug fixes and features.
I am unable to install date-manip. It is not found by PPM or PPM GUI.
Going to ActivePerl web site - indicates that date-manip 'fails build' on both Win32 and Win64 for Perl 5.22. Using the url ActivePerl Downloads - Perl Binaries for Windows, Linux and Mac defaults to the 5.22 build.
I plan to uninstall all of 5.22 - download 5.20 and then see if this solves the date-manip issue. As it stands now - Rename Import fails without date-manip on 5.22
Use 5.20 for now. The Date::Manip package is used for the various date guessing transformations. Those options aren't essential if you don't want them. I could make the package optional, and make those date guessing transformations available if the Date::Manip module is installed.
I can't get this too work. I have ActivePerl 5.22 loaded. In addition, I completed the ActivePerl module update. I have Dynamic Renamer 1.12 loaded in the Renamer Dialog:
I haven't tested (nor own) DO 12. I see that you have your question answered in another thread. If you are still interested in using Dynamic Renamer, I'll go ahead to do the work to see that it works with DO 12. The folks here are a little hostile towards the Perl requirement, so I haven't spent any time working on it in ages.