← Back to team overview

sikuli-driver team mailing list archive

[Question #237084]: How to prompt a user & input answer into a variable?

 

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

I would like to prompt the user for a number, then use that number to run a particular loop a specific number of times.

1.) Pop up a question: "How many times to run?"
2.) Read input - integer from 1 to 99999.
3.) Use the input as a variable to control loop iterations ( "for a in range(TimesToRun): {some code})

Could someone provide a basic example of this?

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