Scroll keyboard shortcut
- michaelang
- Posts: 17
- Joined: Sat 17 Jan, 2009 08:48
Scroll keyboard shortcut
Has been looking for keyboard shortcut to scroll up or down for the file listing panel. Same function as the mouse scroll wheel effect. Can anyone advise? Thanks.
Last edited by michaelang on Wed 28 Aug, 2019 08:27, edited 1 time in total.
-
- Posts: 6819
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 41 times
- Been thanked: 528 times
Scroll keyboard shortcut
Try something like this:
Code: Select all
Macro {
description="describe me"; -- edit description
area="Shell"; key="some key"; -- edit key
action=function() Keys("MsWheelDown") end;
}
- michaelang
- Posts: 17
- Joined: Sat 17 Jan, 2009 08:48
Scroll keyboard shortcut
Thanks Shmuel.
This is what I did
and saved to
%APPDATA%\Far Manager\Profile\Macros\scripts\scroll.lua
This is what I did
Code: Select all
Macro {
description="scroll up";
area="Shell"; key="CtrlShiftUp";
action=function() Keys("MsWheelUp Down") end;
}
Macro {
description="scroll down";
area="Shell"; key="CtrlShiftDown";
action=function() Keys("MsWheelDown Up") end;
}
%APPDATA%\Far Manager\Profile\Macros\scripts\scroll.lua