Script to select all edges and merge

 From:  Peticel
10861.3 In reply to 10861.2 
Hi Michael, thank you for the reply. This is how I've been doing it until now but I was hoping to bind this to a key.

I've tried this - Ctrl+M - script:moi.geometryDatabase.selectAll(); Merge;
but I get an error message saying - ReferenceError: Can't find variable: Merge

Any suggestions? Thank you in advance!