extrude set dir script

 From:  Michael Gibson
2132.2 In reply to 2132.1 
Hi Steve, I don't think it can be easily done from one script right now, without having that one script basically be a rewrite of the extrude command.

However, the 2 key method will work. If you set up Extrude as the command for the first key, you can use this script for the second key that will be the equivalent of pushing the "Set dir" button:
script:moi.ui.fireUIEvent( 'setdirection' );

Probably in the future I can add some stuff that will let you do it more easily with one shortcut by making a more unified method for a command to take some scripted parameters. But for now you'll need to use the 2 key method.

- Michael