FAQs: Button-code: How-to Copy Share Paste a button ('TOTALCMD#BAR#DATA')

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
Stefan2
Power Member
Power Member
Posts: 2640
Joined: 2007-09-13, 22:20 UTC
Location: Europa

FAQs: Button-code: How-to Copy Share Paste a button ('TOTALCMD#BAR#DATA')

Post by *Stefan2 » 2017-12-14, 08:59 UTC

Did you know already...

you can copy and paste a button or save it as text to a file or exchange it over the forum?



Explanation about "TOTALCMD#BAR#DATA"

That is a formal description for a Total Commander-Button which you can exchange between user by posting it to the forum.


Code: Select all

TOTALCMD#BAR#DATA
cmd /k
?ECHO %P%N %T%M
C:\Windows\system32\cmd.exe
Here a | short explanation | as Tooltip


-1

How to use:
- mark that code, everything including 'TOTALCMD#BAR#DATA' and the last digit (here '-1')
- copy to clipboard
- right click the TC button bar at wanted place
- choose 'Paste'


To copy a button, right click the button and choose 'Copy'




Code Explanation:
Line 1: let TC recognize his own button code
Line 2: the Command
Line 3: the Parameters (a leading '?' will display the command before actual executing)
Line 4: the path to the Icon file (try 'WCMICONS.DLL' for TCs Icons)
Line 5: the Tool tip
Line 6: the Start path
Line 7: start parameter for the command as minimized / maximized (in 'usercmd.ini' this is the 'iconic' option)
Line 8: the number of the internal TC command, if any in line 2, else a '-1' is shown



More help:
Open a existing button (right click > Change...) and press F1 key to read the help about button parameters.
Click there at the 'magnifying glass' icon to get a list of TC internal commands (or open the 'TOTALCMD.INC' file with F4 key)

Also see > http://www.ghisler.ch/wiki/index.php/Buttonbar

ts4242s' Button Bar Editor > https://sites.google.com/site/ultratceditors/ultra_tc_editors#buttonbaroverview



- - -

FAQs: How to create an button
https://ghisler.ch/board/viewtopic.php?f=3&t=50632&p=344803

FAQs: Button-code: How-to Copy Share Paste a button ('TOTALCMD#BAR#DATA')
https://ghisler.ch/board/viewtopic.php?f=3&t=50633&p=335879

FAQs: User-Defined Command (UDC) (usercmd.ini) em_command
https://ghisler.ch/board/viewtopic.php?p=344777#p344777


- - -

 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

Post Reply