Guest User

Untitled

a guest
Feb 11th, 2014
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # launch xclock on localhost. note that there is an xterm in the top-left
  2. Net::VNC.open '192.168.3.107:5900', :shared => true, :password => 'pass' do |vnc|
  3. vnc.pointer_move 500, 500
  4. vnc.type 'hello world'
  5. vnc.key_press :return
  6. end
Advertisement
Add Comment
Please, Sign In to add comment