Method: AutoIt::Control#window_activate

Defined in:
lib/autoit/control.rb

#window_activate(title, text = nil) ⇒ Object

Use to activate an opened window title: The title/hWnd/class of the window to activate. text: [optional] The text of the window to activate. Default is an empty string.



57
58
59
# File 'lib/autoit/control.rb', line 57

def window_activate(title, text = nil)
  win.WinActivate(title, text).nil?
end