This is what the script editor is for. Do those commands, then look in your script editor and copy the commands it did. Then paste them into a custom script in the hot key editor Done.
My script does this with something called the "XsiDuplicate" command. It basically replace the default "CTRL+D" (duplicate) command by one more aware of the current selection. - On a object : duplicate the whole object - On a face : extrude (and gives your the previous manipulator you were using) - On an edge : extrude…