Page 1 of 1

Forward key to FAR before Macro lookup

Posted: Thu 05 Oct, 2017 15:10
by rattle
Dear all,
with the command

Code: Select all

Keys("AKey")
I can send the key to FAR that started the macro, but the key will be sent directly and will not trigger any other macros that I might have. Is there a way to forward the key to FAR in such a way that my user-defined hotkeys will be respected?
Thanks a lot in advance!

Forward key to FAR before Macro lookup

Posted: Thu 05 Oct, 2017 15:49
by Shmuel
See mf.eval in the documentation.
Example: if mf.eval(some_key, 2) == -2 then Keys(some_key) end

Forward key to FAR before Macro lookup

Posted: Thu 05 Oct, 2017 17:37
by rattle
Hey, thanks a lot, I completely went past that one. I thought it was like lua's eval function.