Re: Setting Focus on Console Window
Ah, that's cool. I never thought of using WSCript.Shell. Thanks!
On Mar 11, 11:06am, Rodrigo Bermejo <rodrigo.berm...@ps.ge.com>
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 you.
>
> -ronnie.
> --
> Posted viahttp://www.ruby-forum.com/.
|