Custom button concatenate commands and menu
Posted: 03 Apr 2016 10:39
Hi, I've have a dopdown menu with this code:
I would like to do all automatically without first make the file list, EX:
Of course the code is not working... please help me to find the right way, thank you all
Code: Select all
$items = getinfo("SelectedItemsPathNames","<crlf>");
writefile("<xypath>\Data\Archiver\listfile.7ztd", $items);
"Espandi" run """<xypath>\Data\Archiver\7z.exe"" x <selitems> -y -o*";
-
"Crea zip" run """<xypath>\Data\Archiver\7za.exe"" a -tzip -mx9 test.zip @<xypath>\Data\Archiver\listfile.7ztd";
"Crea 7zip + veloce" run """<xypath>\Data\Archiver\7za.exe"" a -t7z -mx3 test7zmx3.7z @<xypath>\Data\Archiver\listfile.7ztd";
"Crea 7zip + piccolo" run """<xypath>\Data\Archiver\7za.exe"" a -t7z -mx9 test7zmx9.7z @<xypath>\Data\Archiver\listfile.7ztd";
Code: Select all
"Create zip" $items = getinfo("SelectedItemsPathNames","<crlf>"); && writefile("<xypath>\Data\Archiver\listfile.7ztd", $items) && run """<xypath>\Data\Archiver\7za.exe"" a -tzip -mx9 test.zip @<xypath>\Data\Archiver\listfile.7ztd";