Small Script in Python to List All User Defined Shortcuts

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
royaljerry
Junior Member
Junior Member
Posts: 4
Joined: 2011-05-23, 06:59 UTC
Location: Budapest
Contact:

Small Script in Python to List All User Defined Shortcuts

Post by *royaljerry »

I have written a small script in Python that lists all user defined shortcuts in a DOS terminal.

The command descriptions are listed in human readable format if the second TOTALCMD.INC path argument is passed to the script.

Usage:

List_User_Keyboard_Shortcuts.py <path to wincmd.ini file> [<path to TOTALCMD.INC file>]

Requirements:
Python 2.x

Download and screenshots:
http://show.royaljerry.net/public/scripts/Total_Commander_List_User_Keyboard_Shortcuts
Last edited by royaljerry on 2011-05-25, 18:13 UTC, edited 3 times in total.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You may temporarily mask part of link and edit post later.

Clear link from first post: http://show.royaljerry.net/public/scripts/Total_Commander_List_User_Keyboard_Shortcuts
Last edited by MVV on 2011-05-23, 12:08 UTC, edited 1 time in total.
User avatar
royaljerry
Junior Member
Junior Member
Posts: 4
Joined: 2011-05-23, 06:59 UTC
Location: Budapest
Contact:

Post by *royaljerry »

MVV wrote:You may temporarily mask part of link and edit post later.
OK, I'll do that. :)

Edit: I give up. This forum engine is too strict. :) I'll be back tomorrow, and provide the link.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I don't think forum can detect links like ghisler ch / board. :)
User avatar
royaljerry
Junior Member
Junior Member
Posts: 4
Joined: 2011-05-23, 06:59 UTC
Location: Budapest
Contact:

Post by *royaljerry »

MVV wrote:I don't think forum can detect links like ghisler ch / board. :)
OK, I'm gonna give it one more chance, then if it will fail, I'll contact NASA telling them to stop searching for the ultimate Turing Test, because it's already invented. :)

Edit: thanks, it worked like charm. NASA can continue discovering.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2royaljerry

Thank you for your script, but if you want readable and printable list of TC's hotkeys, run Hotkeys Editor and go to File> Export to Text File then customize the hotkeys list.
User avatar
royaljerry
Junior Member
Junior Member
Posts: 4
Joined: 2011-05-23, 06:59 UTC
Location: Budapest
Contact:

Post by *royaljerry »

2ts4242

That's great, thanks. :) I use to edit the config files manually, but I'll take a look on these ones.
Post Reply