Afficher un message
Vieux 11/03/2008, 20h06   #2
Rodrigo Bermejo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Setting Focus on Console Window

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 via http://www.ruby-forum.com/.

  Réponse avec citation
 
Page generated in 0,05048 seconds with 9 queries