Zach
December 11, 2014, 3:52am
1
Is there any way to make DOpus default to, say, Perl instead of VBA when selecting "Script mode" in the Rename dialog box?
Currently, you are given a VBA template:
[code]@script vbscript
Option Explicit
Function OnGetNewName ( ByRef GetNewNameData )
' Add script code here
End Function[/code]
Instead, I would like the following (so I don't always have to retype every and every time since VBA users don't have to):
[code]@script perlscript
sub Rename_GetNewName2
{
# parse parameters
my( $strFileName, $strFilePath, $fIsFolder, $strOldName, $strNewName ) = @ ;
# Add script code here
}[/code]
Is that possible somehow? Is there template file in DOpus's configuration settings files I could manually update perhaps?
Zach
December 11, 2014, 4:03am
2
And on a completely unrelated note, how come I don't have that cool little "Registered Opus Pro User" title under my name? I have been a registered user for something like ten years now with every version since 2005 or so.
You need to link your account .
Regards, AB
Come to think of it, a FAQ on account linking, explaining the why and how, would be useful.
Regards, AB
Zach
December 11, 2014, 5:00am
6
Come to think of it, a FAQ on account linking, explaining the why and how, would be useful.
Regards, AB[/quote]
Actually, now that you mention it, I just noticed that they do tell us how to do it in that red banner at the top of every forum page. My bad.
kundal
December 11, 2014, 5:21am
7
You could simply save your Perl template as a Rename Preset .
Zach
December 11, 2014, 5:39am
8
Well, come to think of it, that's kind of what I already do, only I just use some other preset I've already saved, gut it, update it, and save it under a new name. I was just hoping there would be a way to make DOpus default to something other than VBA to save me a couple of steps.
Leo
December 11, 2014, 3:09pm
9
Using a preset is the best way at the moment. We will probably add a way to set the default script (when not using a preset) in the future.