sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00736
Re: [Question #142070]: How to pass an image as argument into subroutine
Question #142070 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/142070
RaiMan posted a new comment:
ok, I did not have any problems, the images were found in the def().
So your problem really is, that the images are not found in the context
of the clicks in the def().
I opened the .html in my browser, to have something to find and used the
following modified script running it in slow motion:
Settings.MoveMouseDelay = 0.25
def enter_geco_return(acode,aimage):
#click( )
#type(acode)
#click( )
#click( )
#click( )
hover(aimage)
#click( )
#click( )
#################################################
# book in return of Geco Tabak, branch Breclav Hypernova, seal code 999
enter_geco_return("999", "i.png")
enter_geco_return("998", "0405.png" )
exit()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.