gotoNextFile & gotoPreviousFile key mapping
Moderators: Hacker, petermad, Stefan2, white
-
- New Member
- Posts: 1
- Joined: 2009-07-22, 15:03 UTC
gotoNextFile & gotoPreviousFile key mapping
Hi everyone,
Total commander is cool, but the only thing I'm missing is hot-key mapping
for going to next item (file/dir)
and for previous item (file or dir).
I mean similar mappings that are currently provided
for selected items
cm_GotoNextSelected
and
cm_GotoPrevSelected
I would be great to enable
user-configurable mappings like cm_GotoNext & cm_GotoPrev
thanks
Radimch
Total commander is cool, but the only thing I'm missing is hot-key mapping
for going to next item (file/dir)
and for previous item (file or dir).
I mean similar mappings that are currently provided
for selected items
cm_GotoNextSelected
and
cm_GotoPrevSelected
I would be great to enable
user-configurable mappings like cm_GotoNext & cm_GotoPrev
thanks
Radimch
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2radimchatkalahari
Do you mean something like cm_GotoPreviousDir, cm_GotoNextDir, cm_GotoPreviousLocalDir, cm_GotoNextLocalDir (already existing) or maybe the same functionality as for using arrows (up and down)?
Do you mean something like cm_GotoPreviousDir, cm_GotoNextDir, cm_GotoPreviousLocalDir, cm_GotoNextLocalDir (already existing) or maybe the same functionality as for using arrows (up and down)?
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
While there likely should be a number of internal cm_'s for what arrow keys do depending on their current context. There is an AHK workaround (though not as good as an internal solution).
This has the effect of making the scroll wheel move the cursor up, when the mouse pointer is over the FileList (TMyListBox) area, and shift is held down via a button on the mouse.
To do so w/o Shift or Ctrl, delete all the junk after the RegExMatch, and replace with: SendInput, {Up}
or: Send, {Up}
This is at the bottom of my AHK script, along with other application checks, which all define Mouse hotkeys, and call the relevant function.
This has the effect of making the scroll wheel move the cursor up, when the mouse pointer is over the FileList (TMyListBox) area, and shift is held down via a button on the mouse.
To do so w/o Shift or Ctrl, delete all the junk after the RegExMatch, and replace with: SendInput, {Up}
or: Send, {Up}
Code: Select all
Do_WheelUp(activeEXE)
{
if (activeEXE = "TCMD")
{
MouseGetPos, , , id, control
if( RegExMatch(control, "^TMyListBox[1-2]$" ))
{
if( GetKeyState("Shift") = 1 )
{
SendInput {Shift Up}{Up}{Shift DownTemp}
return
}
else
if GetKeyState("Ctrl") = 1
{
SendInput {Ctrl Up}{PgUp}{Ctrl DownTemp}
return
}
}
}
}
return
Code: Select all
#ifWinActive, ahk_class TTOTAL_CMD
{
WheelUp:: Do_WheelUp("TCMD")
WheelDown::Do_WheelDn("TCMD")
Xbutton1:: Do_MouseX1("TCMD")
}
return
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
If you look at this subforum, you can see that there are 36 pages of "great and obvious" features! It would take 1000 years to implement them all, and make TC about 10GB large...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I'm sorry, but my daily business is software engineering, too and a feature like displaying the active Path or the optional keymapping discussed in this thread are simple and small. (The Display Active Path in Title Bar Hack needs about 10 lines of code and the Kay Maping Workaround about 15 - I'm pretty shure you don't need a lot more effort).
I have not analyzed all the requested features, but I think that 80% can be done with 20% of the time needed to implement all the features.
Wie auch immer...
Kind regards, Thomas
I have not analyzed all the requested features, but I think that 80% can be done with 20% of the time needed to implement all the features.
Wie auch immer...
Kind regards, Thomas
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2schittli
You forget about one think: it is not linear process. While your system grows there are more things to keep a look at. TC currently has few hundreds options available and Christian must be sure that something new will not interrupt already existing functionality.
I know that extensibility is a part of good software model but it makes implementing less bothersome but it does not solve everything.
80/20 rule simply does not work here. You say that you did not take a look on requested features but I did many times. Some of them might seem to be few liners but many - does not. Do not forget that TC is developed by one person who has to decide which from thousands (really!) should be implemented first. Everything needs time and each one of us have only one life
You forget about one think: it is not linear process. While your system grows there are more things to keep a look at. TC currently has few hundreds options available and Christian must be sure that something new will not interrupt already existing functionality.
I know that extensibility is a part of good software model but it makes implementing less bothersome but it does not solve everything.
80/20 rule simply does not work here. You say that you did not take a look on requested features but I did many times. Some of them might seem to be few liners but many - does not. Do not forget that TC is developed by one person who has to decide which from thousands (really!) should be implemented first. Everything needs time and each one of us have only one life

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Well, the 3Gig limit for memory on WinXP is an artificial restriction by Microsoft. IIRC Server2003 doesn't have that restriction. And neither does WinXP 64bit, but it doesn't have much to do with the OS being 32bit itself.
And I dunno, guess we'd need a big swap file for a 10GB TC
And I dunno, guess we'd need a big swap file for a 10GB TC

*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.