Re: [Sikuli-driver] [Question #271020]: Problem with reload function?

2015-09-03 Thread Vinodh Yelugoti
Question #271020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271020 Vinodh Yelugoti posted a new comment: Thanks ! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ M

Re: [Sikuli-driver] [Question #271020]: Problem with reload function?

2015-09-03 Thread Vinodh Yelugoti
Question #271020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271020 Status: Answered => Solved Vinodh Yelugoti confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #271020]: Problem with reload function?

2015-09-03 Thread RaiMan
Question #271020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271020 Status: Open => Answered RaiMan proposed the following answer: please go back to my comment and read carefully again. As you might notice: the function CALLS are moved to script2, which is the usual way

Re: [Sikuli-driver] [Question #271020]: Problem with reload function?

2015-09-03 Thread Vinodh Yelugoti
Question #271020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271020 Status: Answered => Open Vinodh Yelugoti is still having a problem: Thanks for your swift response! In my script 2 i have only these two statements: import script1 reload(script1) I exeucted this, bu

Re: [Sikuli-driver] [Question #271020]: Problem with reload function?

2015-09-02 Thread RaiMan
Question #271020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271020 Status: Open => Answered RaiMan proposed the following answer: - an imported script should have only definitions (def(), class(), ...) and may be initialising code if needed. All code on indent level 0

[Sikuli-driver] [Question #271020]: Problem with reload function?

2015-09-02 Thread Vinodh Yelugoti
New question #271020 on Sikuli: https://answers.launchpad.net/sikuli/+question/271020 Hello Raiman - I have a probelm with reload function! It starts executing complete module. for eg: #Script1 from sikuli import * def function1(): .. function1() def function2() .. funtion2() #In script 2 i