Latest post of the previous page:
Подыму вопрос снова.zg wrote:копипаста — плохо.
Как лучше?
- Macro {
- description="Scroll text in internal viewer";
- area="Viewer"; key="CtrlUp CtrlDown";
- action=function()
- Keys(akey(1):match(".%l+$"))
- end;
- }
GeSHi © Codebox Plus Extension- Macro {
- description="Scroll Down text in internal viewer";
- area="Viewer"; key="CtrlDown";
- action=function()
- Keys"Down"
- end;
- }
- Macro {
- description="Scroll Up text in internal viewer";
- area="Viewer"; key="CtrlUp";
- action=function()
- Keys"Up"
- end;
- }
GeSHi © Codebox Plus Extension
- local dir = {CtrlLeft="Up", CtrlRight="Down"}
- Macro {
- description="Use Ctrl-Left/Right to change current drive";
- area="Shell"; key="CtrlLeft CtrlRight"; flags="EmptyCommandLine";
- action=function()
- Keys("F9 Enter Up Enter",dir[akey(1)],"Enter Esc")
- end;
- }
GeSHi © Codebox Plus Extension- Macro {
- description="Use Ctrl-Right to change current drive to the next";
- area="Shell"; key="CtrlRight"; flags="EmptyCommandLine";
- action=function()
- Keys"F9 Enter Up Enter Down Enter Esc"
- end;
- }
- Macro {
- description="Use Ctrl-Left to change current drive to the previous";
- area="Shell"; key="CtrlLeft"; flags="EmptyCommandLine";
- action=function()
- Keys"F9 Enter Up Enter Up Enter Esc"
- end;
- }
GeSHi © Codebox Plus Extension
Третий:
- Macro {
- description="Use Del to remove files";
- area="Shell Tree Search"; key="Del NumDel";
- condition=function()
- return Area.Search or CmdLine.Empty
- end;
- action=function()
- Keys"F8"
- end;
- }
GeSHi © Codebox Plus Extension- Macro {
- description="Use Del to remove files";
- area="Shell Tree"; key="Del NumDel"; flags="EmptyCommandLine";
- action=function()
- Keys"F8"
- end;
- }
- Macro {
- description="Use Del to remove files";
- area="Search"; key="Del NumDel";
- action=function()
- Keys"F8"
- end;
- }
GeSHi © Codebox Plus Extension
Четвёртый: Panel.CtrlShiftPgUpDn.lua — хождение по папкам одного уровня