New cm_ commands for navigation
Moderators: Hacker, petermad, Stefan2, white
New cm_ commands for navigation
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
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
- Vochomurka
- Power Member
- Posts: 816
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm sorry but your request comes too late because I have already contacted all translators.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
Often it need for scripts.ghisler(Author) wrote:Yes, I can add this - but what would be the usage?
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.
Use keypress emulation in scripts is not "clear" way, not always it work, not always it work if script attach to hotkey.ghisler(Author) wrote:send keydown/up events.
"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
Another man need navigation commands ))
http://ghisler.ch/board/viewtopic.php?p=304880
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
Support
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Voted !
- http://ghisler.ch/board/viewtopic.php?p=304876#304876
- http://ghisler.ch/board/viewtopic.php?p=304876#304876
I add : invert select current file/directory and jump to the next file (exactly like insert key does)select file under cursor (and do nothing if file selected)
unselect file or directory under cursor (and do nothing if file unselected)
And here the same suggestion:
http://ghisler.ch/board/viewtopic.php?t=43326
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