DOpus Version in string

Im lazy and love buttons and menus to automate things :wink:
One of is:
Prefs BACKUP=all TO "C:\Users\Mani\Documents\DOpusKonfigs\Mani - {date|yyyy-MM-dd} · {time|HH-mm} - {dlgstring|DOpus Version eintragen:|12.20.5.0}"

For the version information I need enter the string manualy... but i will do this automaticaly.
Is hera a way to do this?

mani

A bit of script can do that:

function OnClick(clickData)
{
	var cmd = clickData.func.command;
	var cmdLine = 'Prefs BACKUP=all TO "C:\\Users\\Mani\\Documents\\DOpusKonfigs\\Mani - {date|yyyy-MM-dd} · {time|HH-mm} - ' + DOpus.Version.Product + '"';
	cmd.RunCommand(cmdLine);
}

Thanks, works sweet !!! :slight_smile:

thanks, mani

1 Like