Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2015-09-02 Thread Vinodh Yelugoti
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Vinodh Yelugoti posted a new comment: Hello Raiman - I have a probelm with reload function! It starts executing complete module. for eg: #Script1 from sikuli import * def function1(): .. function1() def

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2015-09-02 Thread RaiMan
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 RaiMan posted a new comment: @vinodh see your own question -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #242288]: How to import sikuli file but not run it immediately?

2014-01-16 Thread Test
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Description changed to: I can import Sikuli files all fine, but how do I import a file but not be forced to run it immediately upon running the program? This results in my program running the imported Sikui

Re: [Sikuli-driver] [Question #242288]: How to import sikuli file but not run it immediately?

2014-01-16 Thread Test
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Description changed to: Example: import module program does stuff reload(module) (within a function, FYI) When I run the program for the FIRST time after launching the Sikuli IDE, the imported Sikuli file

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2014-01-16 Thread Test
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Summary changed to: How to import Sikuli file but not run it immediately? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2014-01-16 Thread RaiMan
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Status: Open = Answered RaiMan proposed the following answer: by design, import is not intended to use it to run the contained script code completely. imported modules usually contain stuff that is

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2014-01-16 Thread Test
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Status: Answered = Solved Test confirmed that the question is solved: Thanks very much for the quick reply RaiMan, this workaround does work well. -- You received this question notification because

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2014-01-16 Thread Test
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Test confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2014-01-16 Thread Test
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Test posted a new comment: Point to note too: I still had to reload the module within that function. -- You received this question notification because you are a member of Sikuli Drivers, which is an

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2014-01-16 Thread RaiMan
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 RaiMan posted a new comment: should not be necessary. Why do you think, you need it? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for

Re: [Sikuli-driver] [Question #242288]: How to import Sikuli file but not run it immediately?

2014-01-16 Thread RaiMan
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 RaiMan posted a new comment: Then it is no magic, I guess: When working in the IDE, an imported module is only loaded the first time the script is run. On a rerun, the import simply does nothing, because in

Re: [Sikuli-driver] [Question #242288]: How to import sikuli file but not run it immediately?

2014-01-15 Thread Test
Question #242288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242288 Description changed to: I can import sikuli files all fine, but how do I import the file but not be forced to run it immediately upon importing it? This results in my program running the files once through,

[Sikuli-driver] [Question #242288]: How to import sikuli file but not run it immediately?

2014-01-15 Thread Test
New question #242288 on Sikuli: https://answers.launchpad.net/sikuli/+question/242288 I can import sikuli files all fine, but how do I import the file but not be forced to run it immediately upon importing it? This results in my program running the files once through, when in actuality they