Open current selected directory on the other panel
TotalCMD Target=Source feature in FAR
Hi,
I like to ask you how can I replicate Total Commander's Target=Source feature in FAR?
What is does:
- if I press Ctrl+Right in the left panel it sets (or sends) the same path as in the left panel
- if I press Ctrl+Left in the right panel it sets (or sends) the same path as in the right panel
Or this feature is already exists in FAR?
Anyway I'm changing from TotalCMD to FAR and I like it!
Thanks in advance:
Aza
I like to ask you how can I replicate Total Commander's Target=Source feature in FAR?
What is does:
- if I press Ctrl+Right in the left panel it sets (or sends) the same path as in the left panel
- if I press Ctrl+Left in the right panel it sets (or sends) the same path as in the right panel
Or this feature is already exists in FAR?
Anyway I'm changing from TotalCMD to FAR and I like it!
Thanks in advance:
Aza
- HaRT
- Moderator
- Posts: 10862
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Re: TotalCMD Target=Source feature in FAR
Look for “Same folder” in the settings dialog of the FAR Commands standard plugin.
Although a more precise name would be “Same item” — you can adjust it in its LNG file.
Although a more precise name would be “Same item” — you can adjust it in its LNG file.
Фар есть инструмент, а не нянька. © 2009 DrKnS
Re: TotalCMD Target=Source feature in FAR
Oh yes, thanks!
This is what I wanted.
Now I love FAR even more!
This is what I wanted.
Now I love FAR even more!
Open current selected directory on the other panel
Hi,
All is in the title, how to open the selected directory in the other panel ?
Thanks
All is in the title, how to open the selected directory in the other panel ?
Thanks
Open current selected directory on the other panel
macros like this one (far3 only)
Code: Select all
Macro {
area="Shell"; key="CtrlShiftBackSlash"; description="Current Folder --> Passive Panel";
action = function()
if APanel.Folder then
local p = panel.GetPanelDirectory(nil, 1)
local n = p.Name
local t = #n > 0 and n:sub(-1) or ''
local s = ''
if #t > 0 and t ~= '/' and t ~= '\\' then
s = n:sub(1,1) == '/' and '/' or '\\'
end
p.Name = p.Name .. s .. APanel.Current
panel.SetPanelDirectory(nil, 0, p)
end
end;
}
Last edited by 2useven10 on Sat 21 Dec, 2013 20:57, edited 2 times in total.
-
- Posts: 726
- Joined: Sun 03 Apr, 2005 22:00
- Location: Казань
- Been thanked: 2 times
Re: Open current selected directory on the other panel
Thanks it works pretty well.
Where a can find a documentation for the macro language ?
Where a can find a documentation for the macro language ?
Re: Open current selected directory on the other panel
Some documentation you can find in %FARHOME%\Encyclopedia\... or herecrile wrote:Thanks it works pretty well.
Where a can find a documentation for the macro language ?
But unfortunatelly somewhere it is not full and not up to date and mostly in russian.
- John Doe
- Бюрократ
- Posts: 13851
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
Open current selected directory on the other panel
Macro can be even simpler:2useven10 wrote:macros like this one
Code: Select all
local ACTIVE,PASSIVE = 1,0
Macro {
description="Current Folder --> Passive Panel";
area="Shell"; key="CtrlAltShiftBackSlash"; flags="NoFiles";
action=function()
local dir = panel.GetPanelDirectory(nil,ACTIVE)
panel.SetPanelDirectory(nil,PASSIVE,dir)
dir.Name=APanel.Current
panel.SetPanelDirectory(nil,PASSIVE,dir)
end;
}
Here: http://forum.farmanager.com/viewtopic.p ... 28#p120028azatoth wrote:I like to ask you how can I replicate Total Commander's Target=Source feature in FAR?
What is does:
- if I press Ctrl+Right in the left panel it sets (or sends) the same path as in the left panel
- if I press Ctrl+Left in the right panel it sets (or sends) the same path as in the right panel
Re: Open current selected directory on the other panel
And the way without macro: if left panel is active with dir C:\Windows\Temp and you want to open the same dir in the right panel - simply press "Alt+F2 C".
Open current selected directory on the other panel
this plugin does not make the same action as does CTRL+left or CTRL+right in Total commander. This just sets it to the same directory, but not to the actual directory under the 'cursor'.
I would like to open the directory (same action as ENTER key), but to the other panel. Is it possible? THanks.
I would like to open the directory (same action as ENTER key), but to the other panel. Is it possible? THanks.