From: Hayato Iriumi Date: 2008-03-26T08:25:06+09:00 Subject: Re: Setting Focus on Console Window Ah, that's cool. I never thought of using WSCript.Shell. Thanks! On Mar 11, 11:06 am, Rodrigo Bermejo wrote: > require 'win32ole' > wsh = WIN32OLE.new('WScript.Shell') > wsh.AppActivate("name of the window") > > I am not sure I understood your question 100% , but if I am ok with 50% > It may help you. > > -ronnie. > -- > Posted viahttp://www.ruby-forum.com/.