Add script to command ?

 From:  TOM (SIRTOM)
9117.1 
Is it possible to add a script to an existing command ?
For example ; "Customrevolve + hide edges" So when triggering
this command by a hotkey it would hide the edges inmediately after revolving
a curve without the need of an extra keystroke.