← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698358]: Wait for x amount of time defined by input box

 

Question #698358 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698358

    Status: Open => Answered

Manfred Hampl proposed the following answer:
see https://answers.launchpad.net/sikuli/+question/235023

and:

For wait(value) to wait for the given period, value has to be a number.
time_city = input("How long would you like City to run for?"), however, returns a string value.

What you need might be

wait(int(time_city))

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