For me it didn’t work either, but I found a solution that works. First I had to put the javascript code in a file, putting it in the registry didn’t work. Second I had to change the code because doc.location.href gave me an error. So my registry entry is
@=C:\Dokumente und Einstellungen\wfleck\WordPress\PostToWP.htm
The content of PostToWP.htm is
<SCRIPT LANGUAGE="JavaScript" defer>
args=external.menuArguments;
void(btw=window.open('http://XXX/wp-admin/bookmarklet.php?text='+escape(args.document.selection.createRange().text)+'&trackback=1&pingback=1&popupurl='+escape(args.location.href)+'&popuptitle='+escape(args.document.title),'bookmarklet','scrollbars=no,width=480,height=590,left=100,top=150,status=yes'));
btw.focus();
</SCRIPT>
Insert your WordPress URL for XXX.
Werner