+ new event [on macro rename]
I'm trying to use this event to rename the preview file each time a file is renamed:
[+on macro rename]
{.rename "%folder-resource%\[previews]\%old-item-name%.flv"|"%folder-resource%\[previews]\%item-name%.flv.}
The problem is that %old-item-name% does not exist
And i also fear that this could lead to a chain reaction.
Any idea?
If i had that old item name variable , i could pass it to a simple batch file using
{.exec cmd.exe preview_rename.bat %old-item-name% %item-name%.} instead of using {.rename.}