I'm trying to create a custom button that will zip files, but instead of just file.zip it will name them file.ext.zip (keep the original filename and extension but appending the .zip to it)
so
file1.ext
file2.ext
will zip and become
file1.ext.zip
file2.ext.zip
My custom button command to zip them is easy:
[quote]Copy ZIP=single HERE @NODESELECT[/quote]
but I can't figure out how to rename the NEWLY CREATED files and not the originally selected files. I had a second rename command after the copy, but it renames originals, not new zips.
Anyone know how to do this rename to patern with a copy to zip?
I know this is a very old post, but I moved to Win7x64 recently and this button/command isn't working any longer. When I use it the app complains saying
[quote]An error occurred copying 'filename.ext.zip.zip':
The system cannot find the path specified. (3)[/quote]
Is there something that needs to be fixed to make it work again in Win7?
Steps to reproduce
[ul]
[li]Select example file named "filename.ext"[/li]
[li]Click button with previously listed commands[/li]
[li]A file is created in the same folder named filename.ext.zip.zip[/li]
[li] (The zip file created is valid, but contains no files when I open it with 7-zip)[/li]
[li]The error dialog mentioned pops up[/li][/ul]
The command from 2007 still works okay here, at least with Opus 10.0.5.2, trying it on some test files in my Desktop folder, and running it via a toolbar button.
I don't know why it's not working for some, but I just tried it again in a virtual machine, with a completely default Opus configuration, and it works fine in there for me, same as on my normal machine.