macro - get current fontname and use it for applying later in macro

I am using LO 5.0.2 (64-bit) on Windows7Prof. In a basic-macro, I need to store the current font-name in a string, and after some steps in macro, I need to use the font-name to be reapplied through macro. What would be steps for that?

(I am very new to LO-basic-macros, and has not been able to locate this in macro documentation. I have been able to see solutions for getting parastylename, but not fontname) Please help…