From: james@... Date: 2002-06-04T08:08:13+09:00 Subject: RE: Word for Windows Ruby Trick > > > ' Now tell Vim to execute the file using ruby > > SendKeys "{ESC}:!ruby17 {%} {ENTER}" > > > perhaps simply send > "+PggVG:w !ruby > ; no tempfile involved. I'll have to play with that one. I get an error, so SendKeys is either sending something extraneous, or I've omitted/added an ESC or something ... But it seems faster, at least until the error. I'm also thinking about how to execute the code in the Word doc, and have the macro insert the results right under the code. Of course, I have to get some actual work done, too ... James > > > Tobi > > -- > http://www.pinkjuice.com/ > >