Question #292921 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/292921
Roman Podolyan proposed the following answer: 2.1) Put all 3 scripts in the same file inside respective functions, please 2.2) Don't forget the "while" part. You have not only define function, but call it as well. _____ while True: flag = script1() if flag : script2(); script3(); flag = false ____ The code you put inside function isn't executed until you call the function. That is, if you want to call start001() separately, you should to it like this: _____ #Here I define it def start001(): ... ... #Here I call it: start001() _____ 2.3) If you want to have scripts in separate modules, you have to learn also how to import modules and run them then. https://docs.python.org/2/tutorial/modules.html Do you want to use them only for the first described purpose (" if the first recived an error (for exemple a page that don't load) make start the second and then the third and then return to start the first" ) , or you also need them separately? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp