Would you like to see macros for Total Commander?
Moderators: Hacker, petermad, Stefan2, white
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Really! Oh, then I guess scripting won’t be just for power users. If we should expect that kind of syntax then things look quite promising! Sorry for the misunderstanding. As I said before I know nothing about macro scripting!Hacker wrote:Err, that was supposed to be a script example...
Roman
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
I don’t object to that but as the complexity is an issue here too the “script is script” logic is not true for all users.Hacker wrote:Script is script, no matter of it is a Word macro or Javascript, it's just a sequence of commands.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
That was my initial thought of implementation too. And you know what! If this is implemented it will satisfy in a way that old Valentino’s wish from the old forum about having an “internal command, command line”! 

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
This is what is desperately needed. With one click a can zip files, with another - rar them, one more script - automatically make comments.cm_search favsong.mp3 c:\mymusic\ noarchives notext
buttonpress_gotofile
cm_enter
I use Windows PowerPro which is the best Scripting utility I have ever seen (and I have seen MUCH). And more! It s TOTALLY free. it's scripts fantastics. I conrol Winamp totally with it. I replaced tens of programs with PowerPro.
www.windowspowerpro.com
But! It has no close integration with Total Commander. It cannot use internal commands of Total Commander
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Thanks Ergo for the suggested tool. It’s quite good. And thanks for supporting the idea!
I personally believe that this feature (call it macros, scripting or whatever) will be the next best thing for TC. TC is very powerful but in a way its power relies in interactivity if you know what I mean. Any automation method will blast its power even higher. I have my fingers crossed for v6.0!
I personally believe that this feature (call it macros, scripting or whatever) will be the next best thing for TC. TC is very powerful but in a way its power relies in interactivity if you know what I mean. Any automation method will blast its power even higher. I have my fingers crossed for v6.0!

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
BTW.
2 ask questions on PowerPro you can subscribe mail-discussion list
power-pro-subscribe@yahoogroups.com
PowerPro beats any macro tool! And its abilities are fantastic. If you like conficurability of Total Commander, you will fall in love with PowerPro!
2 ask questions on PowerPro you can subscribe mail-discussion list
power-pro-subscribe@yahoogroups.com
PowerPro beats any macro tool! And its abilities are fantastic. If you like conficurability of Total Commander, you will fall in love with PowerPro!
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
I already did! But I don’t want to admit it because I really want to see this feature build for TC for better integration with internal commands!Ergo wrote:...you will fall in love with PowerPro!

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
like the idea, but the usual definition of that is a macro, whereas a script can have conditional statements, e.g.Hacker wrote:Well, as I imagine possible scripting, it would be just a sequence of internal TC commands with their needed input as parameters, like
cm_search favsong.mp3 c:\mymusic\ noarchives notext
buttonpress_gotofile
cm_enter
or something like that.
HTH
Roman
select *.txt
if filesize_selected>=100k then
delete selected
else
copy select targetgetfolder
end if
have the use of all internal commands, etc.
would rock imho.
probably best to use a VB or PHP like syntax if it's going to be added.
even better would be a plugin framework allowing you to access internal commands, etc. without needing to subclass windows and whatnot.
that way someone could write a script langauge, or just precompiled additions to TC.
regards.
Jeroen
I know that native support for scripts in TC would be the best and most stable, but creating a 3rd party tool for scripting in TC wouldn't be that difficult. All you have to know is TC's internal cmds (which can be found in TOTALCMD.INC) and using SendMessage to send them to TC.
Last edited by Aezay on 2004-09-30, 21:31 UTC, edited 1 time in total.
I actually meant a different plugin type.
it would expose all methods (functions) and messages to the plugin, as well as the contents of the listboxes.
that way everyone can write a script language that suits their needs.
takes a load of off development for Mr. Ghisler as well, since it would mean integration within the messagepump, rather than a whole new scripting addition.
if you then wrote this dll to have the function of both this "function" plugin as well as the filesystem plugin you could configure it through nethood
since the WM_ messages might change in future builds of TC this would be a more elegant solution imho.
this way you could intercept the copy function before it commences, and switch to slowcopy, etc. as well.
just my 2c worth, but I've liked TC for ages, it's not a neccesity, but would make it even more powerful
it would expose all methods (functions) and messages to the plugin, as well as the contents of the listboxes.
that way everyone can write a script language that suits their needs.
takes a load of off development for Mr. Ghisler as well, since it would mean integration within the messagepump, rather than a whole new scripting addition.
if you then wrote this dll to have the function of both this "function" plugin as well as the filesystem plugin you could configure it through nethood

since the WM_ messages might change in future builds of TC this would be a more elegant solution imho.
this way you could intercept the copy function before it commences, and switch to slowcopy, etc. as well.
just my 2c worth, but I've liked TC for ages, it's not a neccesity, but would make it even more powerful

I suggestedbytalized wrote:I actually meant a different plugin type.
....


I think this could be the best thing for the TC community!
License #55385