Method: AutoItX3::Window#activate
- Defined in:
- lib/AutoItX3/window.rb
#activate ⇒ Object
Activates the window and returns true if it was successfully activated (using #active? to check).
124 125 126 127 128 |
# File 'lib/AutoItX3/window.rb', line 124 def activate Window.functions[__method__] ||= AU3_Function.new("WinActivate", 'SS') Window.functions[__method__].call(@title.wide, @text.wide) active? end |