extrude set dir script

 From:  steve (STEEVE)
2132.1 
Hi Michael (or anyone).
I am trying to make a shortcut to do the Extrude/Set dir operation. But I'm not getting anywhere.
Should I assign two keys one for Extrude and one for Set Dir or can it all be done in one script?