Method: XDo::Window#type_string

Defined in:
lib/x_do/window.rb

#type_string(string, delay = 0.012) ⇒ Object

Types a string into this window.



134
135
136
137
# File 'lib/x_do/window.rb', line 134

def type_string(string, delay = 0.012)
  XDo::FFILib.xdo_enter_text_window @_xdo_pointer, @_window, string,
                                    (delay * 1_000_000).to_i
end