← Back to team overview

sikuli-driver team mailing list archive

[Question #217231]: Customized guide function

 

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

Hi, i tried to create a cuztomized guide function but it would not work. The image variable seems to be the problem.
 
Here's my code:

def showIntro(image,sec):
    image(Region(0,0,1280,720), image, side ="over")
    show(sec)

It gives me an error log when i try to use it.

 File "XXXXXX\sikuli-tmp4673222027611219019.py", line 36, in showIntro
 image(Region(0,0,1280,720),image, side ="over")
TypeError: 'str' object is not callable



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