paste into browser

Asked by ximena pazos

I'm trying to get the browser to make a paste but I can not

my problem is:
I click on the browser with the right button and I click on Paste
this would be the action that try to simulate with Sikuli

openApp("C:\Program Files\Internet Explorer\iexplore.exe")
find("oxhttp4vvwwg.png")
click("oxhttp4vvwwg.png")
#rightClick("oxhttp4vvwwg.png")
click("Cclar.png")

Sikuli but advises that you do not find the image on the print that would graze the right click in the browser

org.sikuli.script.FindFailed: FindFailed: can not find Cclar.png on the screen.

you guys have any idea what might be doing wrong?

Thanks a lot!
Ximena

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

openApp("C:\Program Files\Internet Explorer\iexplore.exe")
find("oxhttp4vvwwg.png")
click(getLastMatch())
type("v", KeyModifier.CTRL)

Revision history for this message
Roman Podolyan (podolyan-roman) said :
#2

If it is the simple text Paste, I used Region.paste() ( http://doc.sikuli.org/region.html#Region.paste ) for that

Can you help with this problem?

Provide an answer of your own, or ask ximena pazos for more information if necessary.

To post a message you must log in.