1 (edited by Stefan 2007-04-22 01:39:01)

Topic: Use Siren in Total Commander

Total Commander TCMD (called WCMD Windows Commander bevor)
is one of the best file mangers, see www.Ghisler.com for more.
(don't be scared about the look and the empty menu! you can modify every thing you want! see http://www.ghisler.ch/board/viewtopic.p … start=165)

TCMD is an tool for power users as Siren is also!
If you use Total Commander  you can integrate Siren to use it more easily . big_smile

-------------------------------------------------------------

To use Siren in TCMD ( to start Siren with the current folder seen in TCMD )
you should have an copy of Siren in an sub folder of the TCMD- plugin folder
like this: "C:\TotalCMD\Plugins\Siren\Siren.exe" (of course you can have Siren where you want, just edit the paths in my exambles  :-)

Then drag & drop the Siren.exe on the button bar from TCMD.
Then right click on this new button and edit the following parameters:

Command: %Commander_Path%\Plugins\Siren\Siren.exe
Parameter: "%N"
Start in: %Commander_Path%\Plugins\Siren\

%N is here an parameter from TCMD, press the F1-key on your keyboard while you
are in TotalCommander (or directly in the button-config-dialog) to read more.

%Commander_Path% is to make TCMD portable.
No matter if you start TCMD form C:\ or E:\ or USB-Stick, it works. (now it's better to have Siren in the plugins folder ;-)
But this is only needed if you use TCMD on different machines.

Now Siren starts with the current folder as seen in TCMD as working dir.


-------------------===================-------------------


If you want to have the same files selected in Siren as in TCMD, you need some help.
You have to download an TCMD plugin, called List2str 1.20 from http://www.ghisler.com/dtools.htm ~25kB.
Unpack tis plugin into the Total Commander plugin folder. "C:\TotalCMD\Plugins\Lst2str\lst2str.exe"

Then drag & drop the lst2str.exe on the button bar from TCMD.
Then right click on this new button and edit the following parameters:

Command: "%Commander_Path%\Plugins\Lst2str\lst2str.exe"
Parameter: /X:..\Siren\Siren.exe "/L:%L" /C:65000
Start in: %Commander_Path%\Plugins\Siren\

/X: is an Lst2str parameter to tell what app is to execute.
..\Siren\ means "go one dir up from Lst2str-folder, and then into the Siren-folder"
/L: is an Lst2str parameter to tell what file(s) is to use
%L is an TCMD parameter which creates an fileslist from the selected files.

Now Siren starts with selecting the files as currently selected in TCMD too.


Edit:
added /C:65000 to expand the command line length (see Lst2str readme).

Testet with ~600 files where 550 files are selected in TCMD.(1st selected, 2nd and 3th not selected,
4th selected, 5th and 6th not selected, 7th selected....and so on)

All 600 selected and un-selected files are given to Siren.
Siren shows all 600 files from that folder.

But Siren only marks the first 389 files as selected (depended on the file length?)
from 550 that are selected in TCMD ( ~ 4096kB/chars ? )

Maybe Siren has here an limit?
But what ever, this should be enough for daily work, isn't it? ;-)



-------------------===================-------------------

Instead into an button you could put this infos also in the wincmd.ini
(or in the user.ini, in the new TCMD 7.0 only)
and give that user command an short cut to execute, e.g. press Shift+Ctrl+M to start Siren with the selected files.
Visit the Forum on www.ghisler.ch for more help.


Thanks for an great renaming tool rplr! big_smile



      --
   For more details just download Siren at http://www.scarabee-software.net/en/siren.html and consult the help.
   No installation needed, unzip and run. Siren stores it settings into an ini file.   <Here> you can see some screen shots of Siren.
   Enjoy Siren, the powerfully portable freeware renamer.

Re: Use Siren in Total Commander

Thanks for these tips !

But Siren only marks the first 389 files as selected (depended on the file length?)
from 550 that are selected in TCMD ( ~ 4096kB/chars ? )

Maybe Siren has here an limit?
But what ever, this should be enough for daily work, isn't it? ;-)

There is no particular reason for Siren to be responsible here but I'll have a look at this issue.

Maybe an interesting idea would be to rename directly from TCMD using Siren's command line parameters: /A, /P, /R and /Q

Thanks for an great renaming tool rplr! big_smile

Thanks to you for sharing your knowledge !

3 (edited by Stefan 2011-12-29 16:16:47)

Re: Use Siren in Total Commander

rplr wrote:

Maybe an interesting idea would be to rename directly from TCMD using Siren's command line parameters: /A, /P, /R and /Q

Done here ==> Use siren command line for auto renaming in Total Commander


EDIT:
adjusted the link to actual forum path