← Back to team overview

sikuli-driver team mailing list archive

[Question #276722]: How to Convert Sikuli Script to Standalone Python Script

 

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

I wanted to convert my python
I wanted to convert following psduo python code into stand alone Python code with correct imports:

print getNumberScreens() 
print getBounds()
click("1449256116692.png")
doubleClick("1449256144784.png")
doubleClick("1449256178824.png")
doubleClick("1449256193974.png")
wait(1)
click(Pattern("1449257220351.png").exact().targetOffset(0,1))
click(Pattern("1449257220351.png").exact().targetOffset(0,1))
wait(1)
click(Pattern("1449256244357.png").exact().targetOffset(0,6))
type('textpatter*')
click("1449256977173.png")
myregion_primscreen = selectRegion()
print myregion_primscreen.text()

How would I do this?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.