Method: Mani::Window#type
- Defined in:
- lib/mani/window.rb
#type(text, options = {}) ⇒ Object
Types the supplied text into the current window.
78 79 80 81 82 83 |
# File 'lib/mani/window.rb', line 78 def type(text, = {}) @windowing_system.focus_window @pid @windowing_system.type_combination text sleep [:delay] || 0.5 end |