are there sort of rules/total to perform operations/actions?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
giulia
Senior Member
Senior Member
Posts: 303
Joined: 2013-09-14, 05:33 UTC
Location: Europe

are there sort of rules/total to perform operations/actions?

Post by *giulia »

Hi

are there soft of rules in TC to perform actions ?
for example copy or move files with a .m4a extension in a folder called AAC

I guess there are such actions in other software like multi commander or xyplorer , at least a friend of mine ( he does use these softwares) use some commend to perform the same operation / actions , just like saved actions to run

well , i really love TC , is there a way to do with it?

thanks
love Total Commander , best file manager ever made
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: are there sort of rules/total to perform operations/actions?

Post by *Stefan2 »

TC provide you with parameters, like one for selected file(s) and another for the current path of the target panel.
You can use a scripting language of your OS (PowerShell, VBS, Batch, JavaScript or utilize AutoHotkey.

That way you can create your own commands and execute them from a button or with a keyboard shortcut.


The forum is full of examples, or see my signature.


Maybe provide a real scenario and you will get probably many solutions. . . .



 
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: are there sort of rules/total to perform operations/actions?

Post by *Ovg »

2giulia
I have similar AHK script, pls describe what you want as much as possible and i'll see what can I do ...

https://www.ghisler.ch/board/viewtopic.php?t=49889
Last edited by Ovg on 2022-11-12, 15:02 UTC, edited 1 time in total.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: are there sort of rules/total to perform operations/actions?

Post by *petermad »

For a lot of tasks you don't even have to use external scripts like AHK, you can just combine TC's internal and user defined commands. The example you give with copying .m4a file can be automated in this way.

In order to help you with the task I would need to know if those .m4a files are just in the current directory, in the current directory and it's subdirectories, on the entire current hard disk or on all the hard disks in the system. I would also need to know whether the AAC directory is a fixed directory, or whether i should for example be created in the current directory of either the source panel or the target panel in TC?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: are there sort of rules/total to perform operations/actions?

Post by *Fla$her »

Command: robocopy . AAC *.m4a /mov /ndl /nfl /njh /njs
Overquoting is evil! 👎
giulia
Senior Member
Senior Member
Posts: 303
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Re: are there sort of rules/total to perform operations/actions?

Post by *giulia »

hi
i got it
but i thought tc could run an internal action and not script or bats files or exe
thanks
love Total Commander , best file manager ever made
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: are there sort of rules/total to perform operations/actions?

Post by *petermad »

but i thought tc could run an internal action and not script or bats files or exe
thanks
You can probably do it by combining multiple internal actions - that is why I asked this:
petermad wrote:In order to help you with the task I would need to know if those .m4a files are just in the current directory, in the current directory and it's subdirectories, on the entire current hard disk or on all the hard disks in the system. I would also need to know whether the AAC directory is a fixed directory, or whether i should for example be created in the current directory of either the source panel or the target panel in TC?
In order to try and create such a multi-command for you.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply