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
Power Member
Power Member
Posts: 3013
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 »

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

cmd /k
Here a | short explanation | as Tooltip


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'

- - -

Austauschbarer Button-Code:
Anwendung: markiere den Code, kopiere ihn ins Clipboard, dann Rechtsklick auf die TC Buttonbar und wähle "Einfügen".
Exchangeable Button-Code:
How to use: mark that code, copy to clipboard, next right click on TCs Button bar and choose 'Paste'.

- - -

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

- - -

Rearrangement button bar elements
StickyNomad wrote:
2006-01-05, 18:15 UTC
by *StickyNomad » Thu Jan 05, 2006 19:15

You can use cut and paste to reorder your buttons:
- right click and cut any button,
- then right click another button and select 'paste'.
The button will be inserted near the destination button.

You can control whether the pasted button should be inserted left/right from the destination button
if you right click near the left/right margin of the destination button.
ghisler(Author) wrote:
2006-01-06, 17:33 UTC
by *ghisler(Author) » Fri Jan 06, 2006 18:33
The button bar isn't currently arrangeable via drag&drop to avoid accidental unwanted changes to the button bar.
You can drag&drop buttons in menu "Configuration - button bar", though if you don't want to use copy+paste.

- - -

FAQs: How to create an button

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

FAQs: User-Defined Command (UDC) (usercmd.ini) em_command

- - -

Post Reply