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

FAR3: Macro to show hotkeys and macros in current area

Post by farman » Mon 15 Apr, 2013 07:31

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”

Who is online

Users browsing this forum: No registered users and 1 guest