← Back to team overview

sikuli-driver team mailing list archive

[Question #246466]: paste() doesn't seem to work

 

New question #246466 on Sikuli:
https://answers.launchpad.net/sikuli/+question/246466

I've read a bunch of posts on paste() and it seems to mostly work for people, but I can't get it to work at all.  type() works fine for me, but paste() does nothing.  It doesn't put the text into my region.  The only reason that I would like to use paste() is because type() is so slow.

I have a putty window open and am trying to do some simple linux commands like clear and ls.

rgn = tracker.window()
paste(rgn, "clear\n")

That does nothing.  I thought maybe because it wasn't putting it into the clipboard, so I tried to actually put something into the clipboard manually and tried again and it typed the actual characters "^V" into the window.  But if I change paste to type then it works fine.

Please advise

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.