New question #698358 on SikuliX:
https://answers.launchpad.net/sikuli/+question/698358
I am trying to get a input command to determine the amount of time a wait lasts
for. How can I use input to determine the wait time?
time_city = input("How long would you like City to run for?")
wait(time_city)
When I run that I am given this error
*I inputted 9 as the time to wait
[error] ImagePath: find: not there: 9.png
[error] script [ sikulitemp-11817012733325062134 ] stopped with error in line 2
[error] FindFailed ( 9 as text )
[error] --- Traceback --- error source first
line: module ( function ) statement
63: Sikuli ( wait ) return SCREEN.wait(target)
2: main ( <module> ) wait(time_city)
[error] --- Traceback --- end --------------
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp