Re: [Sikuli-driver] [Question #660237]: Move mouse for click method not working since new JRE and Windows update
Question #660237 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660237 Status: Open => Needs information arminius requested more information: is Sikuli running with Admin privilege? Cause click will often not work for me if it doesn't. -- 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 #660237]: Move mouse for click method not working since new JRE and Windows update
New question #660237 on Sikuli: https://answers.launchpad.net/sikuli/+question/660237 wondering if anyone else is seeing this. I install the latest big update for Windows this morning and also accepted an update to the latest JRE. Now my when Sikuli moves the mouse to click on a match it doesn't land on the coordinates. It even recognizes that it missed and has an error message saying it tried to move the mouse to (x, y), but landed on (p, q) instead. Any idea what is happening and how to fix it? Thanks! -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Answered => Solved Max confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Open => Answered RaiMan proposed the following answer: Exactly so ;-) -- 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 #258380]: Any way to restart Sikuli script execution?
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 RaiMan proposed the following answer: ... of course you might check the should-end-condition at various other places inside the loop and use if someConditionIsTrue(): break # which jumps out of the loop -- 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 #258380]: Any way to restart Sikuli script execution?
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 RaiMan proposed the following answer: WARNING: Do not use the solution in comment #5, since it has the risk of running into a stack overflow, since test2 and test3 are calling each other without terminating before. Infinte loops always have the challenge of how to stop them gracefully. The only easy solution, is to check an external state at the beginning of every loop turn and end the loop, if that signals so. a trigger example: loop runs as long as a specific file exists and stops if it does not (because it was deleted outside somehow, which could be manually or by some other watch dog) such a solution can live within one script: # outer loop for start and restart while someConditionIsTrue(): # do your setup for the workload loop while someOtherConditionIsTrue(): # here goes you work script you need the 2 defs def someConditionIsTrue(): #returns True (should continue) or False def someOtherConditionIsTrue(): #returns True (should continue) or False Possible things to check are the time of day, run duration, existence of a file, something visible on the screen, mousepointer moved somewhere, ... -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Solved => Open Max is still having a problem: Just a clarification to fully understand. When you said "Of course you can create a fat jar including sikulixapi.jar", so in that case I create the big package using the sikulixapi.jar in my system + my java code, then I can distribute and run this big java package to any pc without running the setup on those systems, right? Thank you again!!! -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Answered => Solved Max confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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 #258380]: Any way to restart Sikuli script execution?
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 Vit proposed the following answer: 1) Save 3 files in the same folder (for example: test1.sikuli, test2.sikuli, test3.sikuli) 2) #test1.sikuli code: import test2 import test3 test2.script() 3) #test2.sikuli code: from sikuli import * def script(): try: # paste your code here! except FindFailed: import test3 test3.script() 4) #test3.sikuli code: from sikuli import * def script(): import test2 test2.script() 5) Profit! -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Open => Answered RaiMan proposed the following answer: If you decide to program your workflows in Java, then only sikulixapi.jar is needed. Of course you can create a fat jar including sikulixapi.jar, but that is very inefficient (size and update challenge). A more efficient solution is, to distribute a sikulixapi.jar once to every machine (created with setup) and then run your workflow jar from a run-script, that takes care, that the sikulixapi.jar is on the Java class path at runtime. -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Answered => Open Max is still having a problem: What if I write my code in java and I include all the classes like this: import org.sikuli.script.*; public class TestSikuli { public static void main(String[] args) { Screen s = new Screen(); try{ s.click("imgs/spotlight.png", 0); } catch(FindFailed e){ e.printStackTrace(); } } } Then I create a jar package. Also in that case I need to use sikulix.jar to run my jar? In answer #4, the thing I want to bypass (if possible) is to run the setup.jar in each pc. I wanted to use a standalone solution that does not require any setup. -- 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 #659479]: Not Able to Implement Scroll over ios ipad simulator for application having webView(Html)
Question #659479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659479 Status: Answered => Solved AMRIT BHARDWAJ confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Open => Answered RaiMan proposed the following answer: If you can download jars. then download the setup.jar and run it to get a sikulix.jar, which besides Java is the jar needed to run your scripts on other machines. http://sikulix.com You might pack all needed stuff including your script, sikulix.jar and a run script into a self-extracting zip/exe for distribution to other machines. -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Answered => Open Max is still having a problem: Thanks for the answers! Is there a "standalone" sikuli jar or exe to execute sikuli scripts? I mean, I think I cannot install any software in other machines but I can download like a jar package or exe. Sorry for the question but I'm completely new 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 #660173]: running in vagrant: libs problem
Question #660173 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660173 RaiMan proposed the following answer: as said: no time for such special cases. You have to find your way somehow with the mentioned information (should not be a problem for someone dealing with linux and vagrant as an expert ;-) -- 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 #660173]: running in vagrant: libs problem
Question #660173 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660173 Yogesh Baviskar posted a new comment: Hello RaiMan, Yes . I am using Linux flavor in vagrant . I go through to document you mention but cant understand what i need to do, from where i need to install. Can you please explain step by step? -- 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 #660197]: JAR or EXE file from Sikuli python script
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 Status: Open => Answered TestMechanic proposed the following answer: You need Sikuli to be installed on the target machine However if you done this on let say window, you will be able to copy and use it on another windows. Also you need to know that Sikuli support console installation. So you can achieve your goal with help of some scripting -- 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