How to run two scripts and pause one of them?

Asked by Milteven on 2017-01-04

Hello, I`m pretending to run two scripts at the same time and have some doubts about that:

1) One script can pause another script and resume after some time?
2) Its possible to one script modifier a variable value of another script?

Thank you for your attention, have a good day!

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Milteven
Solved:
2017-01-06
Last query:
2017-01-06
Last reply:
2017-01-04
Cam (ccreynolds2015) said : #1

Is their a reason as to why it needs to be two scripts? It could very easily be one script but calling to another script is possible while telling that script to start the other one again once it finishes.

Milteven (milteven12) said : #2

Hello Cam,

 The main script is charge to check different websites countinously (an eternal loop) but there is a need to chance the logged account from 1h to an hour, so I'm planning to use a script to pause the loop (main script), change the account and resume the script again.

Do you think there is a way to do this on the same script?

PS: Sorry for my lack of knowledge, i'm not a programmer.

Milteven (milteven12) said : #3

.