How to convert selected polygons to their boundary edges? For example I've selected this face

Then I need to convert to edge (border of selected faces)

Is there any way to do it automatically?
There's a menu item for this: Header &gt; Select &gt; Select Loops &gt; Select Boundary Loop. Candidate for a shortcut, if you use it a lot.