how to: shortcut to edit the path box to paste url

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
k1773231@mvrht.com
Junior Member
Junior Member
Posts: 4
Joined: 2017-01-08, 07:14 UTC

how to: shortcut to edit the path box to paste url

Post by *k1773231@mvrht.com »

i know that many user do the shortcut control+J that when press it you can past path to negative there
how to do that?
thanks
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

cm_EditPath: put the focus on the address bar to change path

Post by *Stefan2 »

I don't know about Ctrl+J

but there is a internal command "cm_EditPath" to put the focus on the address bar,
so you can paste new path in and navigate there.




You can assign an keyboard shortcut to that command,
like 'Alt+P':
A+P=cm_EditPath

or your 'Ctrl+J':
C+J=cm_EditPath




Just edit the "wincmd.ini" and restart TC.

wincmd.ini
[Shortcuts]
;'Alt+P' put focus on 'Path box'. Changed to A+D like aDdress bar in InternetExplorer
A+D=cm_EditPath


- - -

"Ctrl+J" acts for me like "Ctrl+P" should do:

CTRL+P: Copy current path to command line
(See Help menu > Keyboard... )


But I don't know why.




 
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

For ones not familiar with INI files, it is strongly recommended to use Configuration dialog: Configuration - Misc.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Stefan2
I agree with mvv. No offense but I don't really understand why you suggest (error-prone) solutions that require editing the ini file directly and a restart of TC although there is a reliable way to do this in the configuration dialog and works without a restart.
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

You are both right.
That way it was just quicker for me write/post.





 
hani1987
Junior Member
Junior Member
Posts: 5
Joined: 2017-01-15, 13:52 UTC

Post by *hani1987 »

that good!
how can i see all of my shortcuts on TC? (like to see that F7 is new directory?)
because i want to change some
thanks!
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2hani1987
how can i see all of my shortcuts on TC? (like to see that F7 is new directory?)
In the main menu there is an item 'keyboard' in the help menu. The help file is opened and displays all default hotkeys.
In order to see your custom hotkeys you have to open the settings dialog, navigate to the misc page and click the dropdown with the 'arrow down' icon. Custom hotkeys always overrule the default hotkeys.

Unfortunately there is no way to see which hotkeys are assigned to a certain command.
hani1987
Junior Member
Junior Member
Posts: 5
Joined: 2017-01-15, 13:52 UTC

Post by *hani1987 »

Lefteous wrote:2hani1987
how can i see all of my shortcuts on TC? (like to see that F7 is new directory?)
In the main menu there is an item 'keyboard' in the help menu. The help file is opened and displays all default hotkeys.
In order to see your custom hotkeys you have to open the settings dialog, navigate to the misc page and click the dropdown with the 'arrow down' icon. Custom hotkeys always overrule the default hotkeys.

Unfortunately there is no way to see which hotkeys are assigned to a certain command.
on default i can press shift+F4 to create new file
but i want to know the command that i can change it to Control+N
how can i find the command please>?
thanks
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

hani1987 wrote:
Lefteous wrote:2hani1987
how can i see all of my shortcuts on TC? (like to see that F7 is new directory?)
In the main menu there is an item 'keyboard' in the help menu. The help file is opened and displays all default hotkeys.
In order to see your custom hotkeys you have to open the settings dialog, navigate to the misc page and click the dropdown with the 'arrow down' icon. Custom hotkeys always overrule the default hotkeys.

Unfortunately there is no way to see which hotkeys are assigned to a certain command.
on default i can press shift+F4 to create new file
but i want to know the command that i can change it to Control+N
how can i find the command please>?
thanks
Assign a shortcut to cm_EditNewFile
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
hani1987
Junior Member
Junior Member
Posts: 5
Joined: 2017-01-15, 13:52 UTC

Post by *hani1987 »

Horst.Epp wrote:
hani1987 wrote:
Lefteous wrote:2hani1987 In the main menu there is an item 'keyboard' in the help menu. The help file is opened and displays all default hotkeys.
In order to see your custom hotkeys you have to open the settings dialog, navigate to the misc page and click the dropdown with the 'arrow down' icon. Custom hotkeys always overrule the default hotkeys.

Unfortunately there is no way to see which hotkeys are assigned to a certain command.
on default i can press shift+F4 to create new file
but i want to know the command that i can change it to Control+N
how can i find the command please>?
thanks
Assign a shortcut to cm_EditNewFile
i dont have this command
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

hani1987 wrote:
Horst.Epp wrote:
hani1987 wrote: on default i can press shift+F4 to create new file
but i want to know the command that i can change it to Control+N
how can i find the command please>?
thanks
Assign a shortcut to cm_EditNewFile
i dont have this command
You have !
Its defined in Totalcmd.inc and can be assigned to an hotkey in the Misc dialog.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

hani1987 wrote:how can i find the command please>?
Type in cm_CommandBrowser in the command line of TC, then type in cm_EditNewFile in the field "Filter:"
hani1987
Junior Member
Junior Member
Posts: 5
Joined: 2017-01-15, 13:52 UTC

Post by *hani1987 »

tuska wrote:
hani1987 wrote:how can i find the command please>?
Type in cm_CommandBrowser in the command line of TC, then type in cm_EditNewFile in the field "Filter:"
https://snag.gy/Zqmfe6.jpg
i dont have this command
thanks
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

There seems to be a character behind the cursor.
What if you delete the filter?

If everything is of no avail, then you need a current file of totalcmd.inc.

CTRL+PgDn on tcmd900ax32_64.exe (your download)
CTRL+PgDn on INSTALL.CAB

Copy TOTALCMD.INC 25.936 14.12.2016 09:00:10 -a--
to your TC-directory, i.e. where your .ini files are located
(see Help - About Total Commander...)
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

cm_EditNewFile is a new command introduced with TC 9.0:
History.txt wrote:08.06.16 Release Total Commander 9.0 beta 1 (32/64)
...
26.04.16 Added: New internal commands: cm_EditNewFile (ask for name, create new text file, open in editor), cm_EditExistingFile (open file under cursor in editor) (32/64)
@hani1987
Please update to the latest Total Commander version (at the moment TC9.0a): http://www.ghisler.com/download.htm

Regards
Holger
Post Reply