disable [alt] + x

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
soreno
Junior Member
Junior Member
Posts: 87
Joined: 2003-02-13, 13:04 UTC
Location: Denmark

disable [alt] + x

Post by *soreno »

I was wondering if it was possible to disable "[alt] + x" since I often press this combination by accident (clumsy me.. :lol: )

How can it be done ?
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

And it would be great to have the option to disable exiting (and automatically replace it by minimize) if I try to exit with the cross or the keyboard.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
ben hub
Member
Member
Posts: 132
Joined: 2003-02-06, 21:47 UTC
Location: Madagascar

Post by *ben hub »

soreno, fabio, you may do this:

in wincmd.ini :
[shortcuts]
A+X=nnn

where nnn=2000 (cm_Minimize) for Fabio
or 2015 (cm_Maximize) or 2016 (cm_restore) for soreno
Benoît
# 4081
shammat
Senior Member
Senior Member
Posts: 253
Joined: 2003-04-11, 23:13 UTC

Post by *shammat »

ben hub wrote:soreno, fabio, you may do this:
in wincmd.ini :
[shortcuts]
A+X=nnn
Doesn't work for me. I even changed the shortcut through the GUI :-(
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

shammat wrote:
ben hub wrote:soreno, fabio, you may do this:
in wincmd.ini :
[shortcuts]
A+X=nnn
Doesn't work for me. I even changed the shortcut through the GUI :-(
I've just tried it now (on WinNT) and "A+X=2000" (and the others) pretty works :-) (of course after restarting TC)
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

shortcut redefinition doens't work for me too. When I add

POPUP "&x"
END_POPUP

to my mnu-file and press Alt+X TC terminates...

(Windows XP Pro)
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Well,
I think it's not enough to change the .mnu file, you
still should redefine the shortcut in wincmd.ini file

Code: Select all

[shortcuts] 
A+X=2000
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

djk wrote:Well,
I think it's not enough to change the .mnu file, you
still should redefine the shortcut in wincmd.ini file

Code: Select all

[shortcuts] 
A+X=2000
of course I changed the entry in wincmd.ini. The additional menu entry was just another attempt to disable Alt-X=Quit. Alt+Key is normally used for accessing the main menu.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Lefteous wrote: Alt+Key is normally used for accessing the main menu.
I know :-)
I will try later on WinXP Pro, too.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

It works on WinXP Pro, too.

Haven't you got repeated [shortcuts] section in your .ini file?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

djk wrote:It works on WinXP Pro, too.

Haven't you got repeated [shortcuts] section in your .ini file?
no, don't have mutliple [shortcuts] sections. If I use A+X=2000 then Total Commander seems to become minimized first and then terminated...
Finally: Batch commands!!! :roll:
User avatar
CADweazle
Senior Member
Senior Member
Posts: 297
Joined: 2003-04-03, 09:10 UTC
Location: Freiburg i.Br. Deutschland

Post by *CADweazle »

Hi,

how about this: activate in your configuration in "Quick search (current dir)":
Alt+Letters.

So Alt-x will only popup the quick-search (b.t.w. as the good old NC did!)

Greetings,
Cheer up, Karl
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 24-06-2003 17:32:30 +0000 Lefteous wrote:

L> Finally: Batch commands!!!

LOL Yeah, when this is the last thing you need... %)[/face]
Post Reply