KM Subroutines have qualitatively changed how I use the app. I now approach it much as I approach other programming tasks, taking most of the actual work and putting it into subroutines that can then be tested, debugged in isolation, and reused.
Unfortunately as my collection of subroutines grows (I have a hundred or so at this point), so does the time that it takes to find them through the Execute Subroutine action.
It would be extremely useful to have the same excellent search interface for Execute Subroutine that is available for Execute Macro.
Perhaps a quick fix is possible? (Knowing full well that's a lot easier for me to say than for you to do!)
"Execute a Macro"s popup is targetable by drag'n'drop -- using two Editor windows, window 1 showing macros and window 2 editing the current macro's "Execute" action, you can Search in window 1and simply drag the required macro onto the action in window 2.
Make "Execute a subroutine"s popup targetable and you could do the same, using something like t:sub n:"Macro I want" in window 1's Search field.
I meant "drag it onto the popup menu to select it" -- I didn't realise you could just drag a subroutine into a macro and KM would add an "Execute Subroutine" action already set to use that sub.
I didn't know about drag and drop for subroutines either. That makes my life much easier! Adding a Smart Group helps even more.
I'll second Nige's comment. Great forum!
@peternlewis What I was suggesting was both the "Add by name" and "Search Group" features. I have a group for general purpose subroutines, but most of my subroutines live in the groups to which they are most relevant. Opening a second window and doing a drag and drop works really well, but there are still times when the easiest thing to do would be to search for a macro either by name or by group.