← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #156092]: Run multiple functions in order

 

Question #156092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/156092

    Status: Open => Answered

RaiMan proposed the following answer:
We are talking Python language in Sikuli scripts.

In Python, one line is one script statement and statements are processed
one after each other.

so if you place 2 function calls on 2 lines:

function1()
function2()

funtion1 will be processed first and when it ends, function2 will be
started and processed.

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