[Sikuli-driver] [Question #664875]: creating standalone jar of sikuli jython scripts and related images
New question #664875 on Sikuli: https://answers.launchpad.net/sikuli/+question/664875 I went through this tutorial for creating jar to run sikuli scripts on systems without sikuli installed: https://sikulix-2014.readthedocs.io/en/latest/scenarios.html#prepare-and-use-your-own-jar-files-in-the-jython-environment I couldn't make it work. I'm using sikuli version 1.1.1. I have a .py file in which there are two lines: from sikuli import * click(imagePath) how can i package this in a standalone jar which could be run with java on other systems without sikuli installation? and also compileJythonFolder(source, target) is returning False? Thank you so much! -- 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
Re: [Sikuli-driver] [Question #664775]: PyCharm: Debugging a script: [error] Image: Image not valid --- set imagepath
Question #664775 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664775 Status: Answered => Solved stefano confirmed that the question is solved: Problem solved, thank you very much! -- 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
Re: [Sikuli-driver] [Question #664834]: Sikulix in Windows 10. no start button to click for beginning a script
Question #664834 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664834 Status: Open => Answered RaiMan proposed the following answer: ??? there IS something like a start button in Windows 10 in the lower left corner. If you are talking about the SikuliX IDE: to run a script type ctrl r or click the run button in the top bar (green triangle). -- 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
Re: [Sikuli-driver] [Question #664865]: Observing multiple images with priority
Question #664865 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664865 Status: Open => Answered RaiMan proposed the following answer: This is only manageable, if you use ONE handler function, where both situations are checked and handled accordingly. It might be necessary, to check the existence of the other image in the handler, to decide. Additionally you need some global state, that remembers what has been done so far, to decide what has to be done now. This all only makes sense, if the situations come up asynchronously in parallel to some main workflow. If this is not the case, it is easier to use if exists(). -- 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
[Sikuli-driver] [Question #664865]: Observing multiple images with priority
New question #664865 on Sikuli: https://answers.launchpad.net/sikuli/+question/664865 I've defined a sikuli module which is used to click on an image when something appears inside a region. # observer.py from sikuli import * class Observer: # When "observedImage" appears inside "region", double click on "reactImage" def __init__(self, region, observedImage, reactImage): self.region = region self.observedImage = observedImage self.reactImage = reactImage def start(self): self.region.onAppear(self.observedImage, self.appearHandler) self.region.observe(FOREVER, background = True) def appearHandler(self, event): doubleClick(self.reactImage) event.repeat() def stop(self): self.region.stopObserver() Here's how to use it: import observer import time observer.Observer(Region(111,222,333,444), "imageToBeDetected1.png", "imageToBeClicked1.png").start() observer.Observer(Region(555,666,66,666), "imageToBeDetected2.png", "imageToBeClicked2.png").start() while True: print('waiting') time.sleep(1) The problem with the above code is that when `imageToBeDetected1` and `imageToBeDetected2` both appear in `Region(111,222,333,444)` and `Region(555,666,66,666)` respectively, my mouse will move between `imageToBeClicked1` and `imageToBeClicked2`. I want only `imageToBeDetected1` to be clicked in this situation. `imageToBeDetected2` should be ignored when `imageToBeDetected1` and `imageToBeDetected2` both appear in `Region(111,222,333,444)` and `Region(555,666,66,666)`, respectively. How can I modify my code so that `imageToBeDetected1` has a higher priority over `imageToBeDetected2`? Or is there a better way to observe multiple images with sikuli? -- 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
Re: [Sikuli-driver] [Question #664839]: Issue with wait() and type()
Question #664839 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664839 Status: Open => Answered RaiMan proposed the following answer: my test on Windows 10 / Java 8 (should not make a difference) using a newly setup SikuliX 1.1.1 switchApp("Notepad") # wait(2) wtime = 3 for i in range(5): wait(wtime) type(Key.DOWN) wait(wtime) type("some text") wait(wtime) type(Key.ENTER) wait(2) worked with different wait times as it should. BTW: starting the sequence with a DOWN does not really make sense (nothing to do with your problem though). -- 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
Re: [Sikuli-driver] [Question #664859]: Jython cheat sheet
Question #664859 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664859 Status: Open => Answered RaiMan proposed the following answer: Nothing special with python - look for Python -- 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
[Sikuli-driver] [Question #664859]: Jython cheat sheet
New question #664859 on Sikuli: https://answers.launchpad.net/sikuli/+question/664859 Hi, do you know some Jython cheat sheet, listing the main commands? I am looking for something like this, but of Jython: https://thoughtbot.com/upcase/test-driven-rails-resources/capybara.pdf []s -- 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
Re: [Sikuli-driver] [Question #664856]: http://archiveofourown.org/collections/live_Watch_France_vs_Italy_Rugby_Live_Stream
Question #664856 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664856 Status: Open => Invalid RaiMan changed the question status: spam -- 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
[Sikuli-driver] [Question #664856]: http://archiveofourown.org/collections/live_Watch_France_vs_Italy_Rugby_Live_Stream
New question #664856 on Sikuli: https://answers.launchpad.net/sikuli/+question/664856 http://archiveofourown.org/collections/live_Watch_France_vs_Italy_Rugby_Live_Stream -- 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
Re: [Sikuli-driver] [Question #664853]: http://archiveofourown.org/collections/rugby_Watch_France_vs_Italy_Rugby_Live_Stream
Question #664853 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664853 Status: Open => Invalid RaiMan changed the question status: spam -- 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
Re: [Sikuli-driver] [Question #664852]: http://archiveofourown.org/collections/ESPN_Watch_France_vs_Italy_Rugby_Live_Stream
Question #664852 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664852 Status: Open => Invalid RaiMan changed the question status: spam -- 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
[Sikuli-driver] [Question #664843]: In MacOS How click on the top menu bar and need to verify the options in the drop down is enabled or disabled. if enabled then click on it. Please tell the java cod
New question #664843 on Sikuli: https://answers.launchpad.net/sikuli/+question/664843 In MacOS How click on the top menu bar and need to verify the options coming in the drop down is enabled or disabled. if enabled then click on it. Please tell the java code with help of sikuli how this is possible. -- 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
Re: [Sikuli-driver] [Question #664839]: Issue with wait() and type()
Question #664839 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/664839 Status: Needs information => Open sharon gave more information on the question: OS - Windows 7 - 32 bit Sikuli Version - 1.1.1 -- 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