[Sikuli-driver] [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

2015-07-09 Thread Pierre Best
New question #269048 on Sikuli: https://answers.launchpad.net/sikuli/+question/269048 I've got a script which has to work in 1.0.1 and 1.1.0. My problem is that the "import org.sikuli.basics.SikuliXforJython" statement in 1.0.1 has changed to "import org.sikuli.basics.SikulixForJython" in 1.0.1 (

Re: [Sikuli-driver] [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

2015-07-09 Thread Pierre Best
Question #269048 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269048 Status: Open => Solved Pierre Best confirmed that the question is solved: Ignore this question. I'm just going to do each import inside try: except: statements -- You received this question notificatio

Re: [Sikuli-driver] [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

2015-07-09 Thread Pierre Best
Question #269048 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269048 Description changed to: I've got a script which has to work in 1.0.1 and 1.1.0. My problem is that the "import org.sikuli.basics.SikuliXforJython" statement in 1.0.1 has changed to "import org.sikuli.basics.

Re: [Sikuli-driver] [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

2015-07-11 Thread RaiMan
Question #269048 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269048 RaiMan posted a new comment: thanks for doing the workaround. I will add a org.sikuli.basics.SikuliXforJython in 1.1.0 as well ( I did not see the backwards compatibility problem here) ... both usages wit

Re: [Sikuli-driver] [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

2015-07-11 Thread RaiMan
Question #269048 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269048 RaiMan posted a new comment: I have to say: not possible to have both in 1.1.0. So thanks for the workaround. I will put a hint to the docs. ... and try to find a more generic solution. -- You received th

Re: [Sikuli-driver] [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

2015-07-13 Thread Pierre Best
Question #269048 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269048 Pierre Best posted a new comment: try: import org.sikuli.basics.SikuliXforJython except ImportError: import org.sikuli.basics.SikulixForJython from sikuli import * -- You received this question noti