Page 1 of 1

Scroll keyboard shortcut

Posted: Wed 28 Aug, 2019 07:45
by michaelang
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.

Scroll keyboard shortcut

Posted: Wed 28 Aug, 2019 08:17
by Shmuel
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;
}

Scroll keyboard shortcut

Posted: Sat 31 Aug, 2019 05:42
by michaelang
Thanks Shmuel.
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;
}
and saved to
%APPDATA%\Far Manager\Profile\Macros\scripts\scroll.lua