Page 1 of 2

New cm_ commands for navigation

Posted: 2013-01-31, 23:10 UTC
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

Posted: 2013-02-01, 05:54 UTC
by Vochomurka
Support

Posted: 2013-04-21, 04:53 UTC
by ask-rus
Support.

Posted: 2013-10-22, 01:35 UTC
by LonerD
Is there any chance to see this in TC 8.50?

Posted: 2013-10-22, 06:51 UTC
by ghisler(Author)
I'm sorry but your request comes too late because I have already contacted all translators.

Posted: 2015-04-28, 00:30 UTC
by LonerD
Is there any chance to see this in TC 9.0?

Posted: 2015-04-29, 10:29 UTC
by matixx
Support

Posted: 2015-04-30, 10:03 UTC
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?

Posted: 2015-04-30, 12:28 UTC
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.

Posted: 2016-02-06, 13:45 UTC
by LonerD
Another man need navigation commands ))
http://ghisler.ch/board/viewtopic.php?p=304880

Posted: 2016-02-06, 20:53 UTC
by petermad
Support

Posted: 2016-02-06, 23:22 UTC
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)

Posted: 2016-02-07, 01:39 UTC
by LonerD
And here the same suggestion:
http://ghisler.ch/board/viewtopic.php?t=43326

Posted: 2016-02-07, 18:29 UTC
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).

Posted: 2016-02-07, 18:44 UTC
by Ovg
Support!