FAR3: Macro to show hotkeys and macros in current area

Here you can discuss any topic concerning Far macro commands.
Post Reply
farman
Posts: 118
Joined: Thu 03 Sep, 2009 11:32
Been thanked: 2 times

FAR3: Macro to show hotkeys and macros in current area

Post by farman »

This is a very simple macro but it helps me a lot in the last days. So maybe it may be useful for you too.
If you do have a lot of macros and sometimes not sure which key is assigned to a macro then use this one. This macro shows the hotkeys and macros in the current area (Shell, Editor, ...).

Edit 2013-05-08: a little bit optimized

Code: Select all

------------------------------------------------------------------------------
Macro { description=".Show available Macros in the current Area"; 
        key="CtrlShiftF1"; area="Common"; flags=""; 
        action = function()    
          local HS=Far.DisableHistory(-1)
          local aa=Area.Current
          Keys('F1 F7 CtrlY')  
          print('!Macro:' .. aa .. '!') 
          Keys("Enter Enter")  
          Far.DisableHistory(HS)
        end; }

                
Post Reply

Return to “Macro Commands Discussions”