New cm_ commands for navigation

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

New cm_ commands for navigation

Post by *LonerD »

When I write scripts or user commands for TC - often want to have internal simple navigation commands. Some of them I can emulate keyboard keypress with third party programs (for example - nircmd sendkeypress), but it is a bad decision - because of emulation keypress often may not work correctly if assign them to hotkeys.

Please, add some cm_ commands for cursor navigation:
move cursor up
move cursor down
move cursor left
move cursor right
move cursor to another panel
move cursor to another panel symmetric about vertical separator
select file under cursor (and do nothing if file selected)
unselect file or directory under cursor (and do nothing if file unselected)
select\unselect file or directory under cursor
go to first directory
go to last directory
go to last file
go to next unselected file or directory
go to previous unselected file or directory
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Support
Single user license #329241
PowerPro scripts for Total Commander
User avatar
ask-rus
Junior Member
Junior Member
Posts: 44
Joined: 2010-06-17, 10:29 UTC
Location: Russian Federation

Post by *ask-rus »

Support.
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Is there any chance to see this in TC 8.50?
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm sorry but your request comes too late because I have already contacted all translators.
Author of Total Commander
https://www.ghisler.com
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Is there any chance to see this in TC 9.0?
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
matixx
Power Member
Power Member
Posts: 1117
Joined: 2003-03-21, 02:37 UTC
Location: ....

Post by *matixx »

Support
#101512
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, I can add this - but what would be the usage? If you use it from a separate tool, you could as well just send keydown/up events. And from internal buttons it's not really useful, or is there any application?
Author of Total Commander
https://www.ghisler.com
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

ghisler(Author) wrote:Yes, I can add this - but what would be the usage?
Often it need for scripts.
For example now we must use detection Left or right panel, and then run 4001 or 4002 command.
With command "move cursor to another panel" it will be much easier.
ghisler(Author) wrote:send keydown/up events.
Use keypress emulation in scripts is not "clear" way, not always it work, not always it work if script attach to hotkey.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Another man need navigation commands ))
http://ghisler.ch/board/viewtopic.php?p=304880
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Support
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
islogged
Senior Member
Senior Member
Posts: 205
Joined: 2008-09-17, 00:57 UTC

Post by *islogged »

Voted !
- http://ghisler.ch/board/viewtopic.php?p=304876#304876
select file under cursor (and do nothing if file selected)
unselect file or directory under cursor (and do nothing if file unselected)
I add : invert select current file/directory and jump to the next file (exactly like insert key does)
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

And here the same suggestion:
http://ghisler.ch/board/viewtopic.php?t=43326
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I would support adding cm_ commands for all special actions that currently may be done only via keyboard (e.g. like Space or Insert selection actions).
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

Support!
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Post Reply