Slightly off-topic, but if I have to remember a complex software routine then I screen record it. It saves hours of frustration when you need to use that routine at a later date. There are some excellent free screen recorders available to download and you can also record audio or add annotations.