hello,
is it possible to somehow load a list from some command output to a panel of far manager?
for example dir /b *.jpg and load the output to a panel in far?
thanks
file list to panel
-
- Posts: 6839
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 41 times
- Been thanked: 530 times
Re: file list to panel
Give the file
However, in order to open correctly from any directory, the file should contain full paths rather than just file names.
For additional details please read the plugin's help.
.temp
extension and press Enter on it. It will be opened by the TmpPanel plugin.However, in order to open correctly from any directory, the file should contain full paths rather than just file names.
For additional details please read the plugin's help.
-
- Posts: 129
- Joined: Sun 08 Jan, 2012 08:23
- Location: Czech Republic
- Has thanked: 2 times
- Been thanked: 1 time
Re: file list to panel
Yes, it is possible, here is an example:
You can create macro if you need it often.
Code: Select all
dir /b *.jpg > %temp%\filelist.temp
rem output into panel
tmp:%temp%\filelist.temp
rem output into menu
rem tmp:+menu %temp%\filelist.temp
del %temp%\filelist.temp
-
- Posts: 129
- Joined: Sun 08 Jan, 2012 08:23
- Location: Czech Republic
- Has thanked: 2 times
- Been thanked: 1 time
Re: file list to panel
And here is simple macro. Lists all files with current extension in panel:
Code: Select all
Macro {
key="F12";
area="Shell";
description="List all files with current extension in panel";
action=function()
Panel.Select(0,0)
mf.clip(5,2)
Keys"CtrlAdd CtrlIns CtrlSubtract ShiftF4" print("x.temp") Keys"Enter ShiftIns ShiftF10"
Panel.SetPos(0,"x.temp")
Keys"Enter CtrlG"
print("del x.temp")
Keys"Enter"
end;
}
- HaRT
- Moderator
- Posts: 10866
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Re: file list to panel
mrQQ
Given that
Given that
tmp
is TmpPanel's prefix, use tmp:< dir /b *.jpg
— no scripts or explicit temporary files needed.Фар есть инструмент, а не нянька. © 2009 DrKnS