Re: [Sikuli-driver] [Question #256107]: Is it possible to stop an observer without an event occuring?
Question #256107 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256107 Status: Open = Answered RaiMan proposed the following answer: the observe feature is completely revised with version 1.1.0 (but the docs are not yet uptodate) At least this: Now all still running observes are automatically stopped at script end. with versions before 1.1.0 you might have to add a stopObserver() for each still observing region before leaving the script. -- You received this question notification because you are a member of Sikuli Drivers, which 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] [Bug 1384494] Re: [1.1.0 Beta] screen.capture only Screen(0) in multi-monitor
you made it right ;-) I have to check. ** Changed in: sikuli Status: New = In Progress ** Changed in: sikuli Importance: Undecided = High ** Changed in: sikuli Assignee: (unassigned) = RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None = 1.1.0 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1384494 Title: [1.1.0 Beta] screen.capture only Screen(0) in multi-monitor Status in Sikuli: In Progress Bug description: Sikuli version: 1.1.0-Beta2 I want to capture each screen separately every 2 seconds and wrote the following code to achieve it: import os import shutil import datetime screenshotsDir = rC:\Users\Sikuli\Temp\Exceptions screens = [Screen(id) for id in range(Screen().getNumberScreens())] print screens # Prints [S(0)[0,0 1920x1080] E:Y, T:3.0, S(1)[-1920,0 1920x1080] E:Y, T:3.0] print Screen().getNumberScreens() # Prints 2 while True: for _dx, screen in enumerate(screens): print screen.getBounds() # Prints java.awt.Rectangle[x=0,y=0,width=1920,height=1080] and java.awt.Rectangle[x=-1920,y=0,width=1920,height=1080] respectively img = screen.capture(screen.getBounds()) time_now = datetime.datetime.now().strftime(%H%M%S) img_target = {}.S{}.png.format(time_now, _dx) target = os.path.join(screenshotsDir, img_target) shutil.move(img, target) time.sleep(2) Unfortunately, when I go and check the screenshots, I see that Sikuli only grabbed S(0) for both monitors although the code print output gives all the right information! To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1384494/+subscriptions ___ 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 #185791]: How to run Sikuli On Virtual Machines
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 RaiMan posted a new comment: @Andy --- the VNC solution with RC3 is not supported any more. So you might have to live with the sources. --- in version 1.1.0 there is a new VNC solution ... ... but this is not yet stable and under investigation () --- the remote server feature in 1.1.0 (setup option 5) ... ... can be used from the script level as well. I will add some info to the docs. meanwhile you have to look into the sources here as well. -- You received this question notification because you are a member of Sikuli Drivers, which 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] [Bug 1362011] Re: [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite --- temp fix for 1.1.0
** Changed in: sikuli Importance: High = Critical ** Description changed: - -- workaround in 1.1.0 + -- 1.1.0 works (temp fix) switched of the search feature temporarily, that caused the crash nightly build available after August 28th --- - RC3: will never be supported on OSX 10.10 - 1.0.1: running scripts from command line should work (sikuli-script.jar) and usage in Java (sikuli-java.jar) - 1.1.0: same as 1.0.1 (sikulix.jar to run scripts and sikulixapi.jar for usage with Java) + RC3 and 1.0.1: will never be supported on OS X 10.10 - IDE 1.1.0 will definitely be fixed to run on OSX 10.10 (not clear now when this will be) - IDE 1.0.1 might be fixed depending on the needed solution + 1.0.1: running scripts from command line should work (sikuli-script.jar) + and usage in Java (sikuli-java.jar) -- I was trying to run Sikuli 1.0.1 on Mac OSX 10.10. But it doesn't even able to open it immediately turns into not responding mode. I have tried it with sikuli 1.1 beta version but this also not able to open sikuli. Please let me know if anyone has resolved this issue. ** Summary changed: - [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite --- temp fix for 1.1.0 + [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite --- 1.1.0 works (RC3 + 1.0.1 do not) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1362011 Title: [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite --- 1.1.0 works (RC3 + 1.0.1 do not) Status in Sikuli: Fix Committed Bug description: -- 1.1.0 works (temp fix) switched of the search feature temporarily, that caused the crash nightly build available after August 28th --- RC3 and 1.0.1: will never be supported on OS X 10.10 1.0.1: running scripts from command line should work (sikuli- script.jar) and usage in Java (sikuli-java.jar) -- I was trying to run Sikuli 1.0.1 on Mac OSX 10.10. But it doesn't even able to open it immediately turns into not responding mode. I have tried it with sikuli 1.1 beta version but this also not able to open sikuli. Please let me know if anyone has resolved this issue. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1362011/+subscriptions ___ 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] [Bug 1384888] Re: can't start sikuli IDE [mac] after new update
*** This bug is a duplicate of bug 1362011 *** https://bugs.launchpad.net/bugs/1362011 ** This bug has been marked a duplicate of bug 1362011 [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite --- 1.1.0 works (RC3 + 1.0.1 do not) ** Summary changed: - can't start sikuli IDE [mac] after new update + [1.0.1] OS X 10.10: can't start sikuli IDE [mac] after new update -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1384888 Title: [1.0.1] OS X 10.10: can't start sikuli IDE [mac] after new update Status in Sikuli: New Bug description: When i open SikuliX-IDE after new iOS update, it would stuck and i have to force quit IDE however the java thing is stucking with the message startingpls..wait and i can't turn it off... have to force to turn my computer off. I tried re-download and re-install but didn't work To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1384888/+subscriptions ___ 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] [Bug 1384317] Re: [RC3] Special keys don't go through VNC session
Looking deeper into the code, the error is coming from the protocolHandshake function in the VNCClient class, which doesn't recognize the version protocole. I've tried set up different authentification (either none or a simple password), but none is recognized by the function. Apparently, several modifications have to be done in order to make this piece of code working. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1384317 Title: [RC3] Special keys don't go through VNC session Status in Sikuli: Won't Fix Bug description: Special keys like Key.ENTER, Key.F1, Key.BACKSPACE, etc. do not go through VNC session. To reproduce the bug : * set up a Windows Seven VM where RealVNC is installed and up (https://www.realvnc.com/download/vnc/) * run a sikuli script from a host running Debian Wheezy. The script has to open something (firefox for example) and to vncscreen.type(test+Key.ENTER) * you can check that firefox is correctly opening by the script, but only test is typed (no ENTER). Version used is the one from github (https://github.com/sikuli/sikuli) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1384317/+subscriptions ___ 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 #256078]: [1.0.1] OSX 10.10 Yosemite: Can't launch SikuliX IDE
Question #256078 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256078 Status: Answered = Open GoGoEvans is still having a problem: Hi RaiMan, Thanks for your response. I have tried debug model, but still can't enter sikuli IDE window I am still stuck on starting...pls wait. Here in my information in terminal, kindly seek your advice, thanks. = running SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar /Applications/SikuliX-IDE.app/Contents/sikuli-ide.jar -d 3 -c [debug] Running on Java 8 (1.8.0_25-b17) [debug] --- Sikuli parameters --- [debug] 1: -d [debug] 2: 3 [debug] 3: -c [debug] init user preferences [debug] locale: zh_TW [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242 [debug] ResourceLoaderBasic: Sikuli-IDE is running from /Applications folder [debug] ResourceLoaderBasic: check: we are running on arch: x86_64 [debug] ResourceLoaderBasic: check: using Java at: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/ [debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: /Applications/SikuliX-IDE.app/Contents/ [debug] ResourceLoaderBasic: checkLibsDir: /Applications/SikuliX-IDE.app/Contents/libs [debug] ResourceLoaderBasic: loadLib: MacUtil [debug] ResourceLoaderBasic: loadLib: Found: MacUtil [debug] ResourceLoaderBasic: loadLib: Now loaded: MacUtil [debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /Applications/SikuliX-IDE.app/Contents/libs [debug] ResourceLoaderBasic: check: Using this as OCR directory (tessdata) too [debug] Screen: initScreens: basic initialization (1 Screen(s) found) [debug] *** monitor configuration (primary: 0) *** [debug] Screen 0: S(0)[0,0 2560x1440] [debug] *** end monitor configuration *** [debug] [I18N] menuShowThumbs Exception in thread main java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: LEFT at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:463) at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:424) at java.awt.Container.addImpl(Container.java:1125) at java.awt.Container.add(Container.java:971) at org.jdesktop.swingx.prompt.BuddySupport.addToComponentHierarchy(BuddySupport.java:72) at org.jdesktop.swingx.prompt.BuddySupport.ensureBuddiesAreInComponentHierarchy(BuddySupport.java:139) at org.jdesktop.swingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:163) at org.jdesktop.swingx.plaf.TextUIWrapper.install(TextUIWrapper.java:49) at org.jdesktop.swingx.JXSearchField.setUseNativeSearchFieldIfPossible(JXSearchField.java:528) at org.jdesktop.swingx.JXSearchField.init(JXSearchField.java:178) at org.sikuli.ide.SikuliIDE.createSearchField(SikuliIDE.java:2002) at org.sikuli.ide.SikuliIDE.initToolbar(SikuliIDE.java:1690) at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:315) at org.sikuli.ide.SikuliIDE.init(SikuliIDE.java:242) at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:349) at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:235) -- You received this question notification because you are a member of Sikuli Drivers, which 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 #255984]: handler
Question #255984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255984 den posted a new comment: hi , i had not given the entire code because it is very big , and the big part have no influence on this probleme . i ' ve already initialize before the while loop the $ : nb_quetes_tours_faites = 0 my probleme is to create and have a handler capably to do the job where it isn ' t in comeentary on ths code i ' ve given . so i would like a handler or create mine but with help to do this : if QueteValideeReg.exists(1413219985088.png): wait(1) QueteValideeReg.click(1413219985088.png) if exists(Pattern(1413716368262.png).similar(0.92)): click(Pattern(1413716368262.png).similar(0.92)) if PrincipaleReg.exists(1413716480430.png): # instance PrincipaleReg.click(1413716513801.png) nb_quetes_tours_faites += 1 print(nb_quetes_tours_faites) continue the beginning code i ve given was juste for help and comprehension . -- You received this question notification because you are a member of Sikuli Drivers, which 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 #256078]: [1.0.1] OSX 10.10 Yosemite: Can't launch SikuliX IDE
Question #256078 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256078 Status: Answered = Solved RaiMan changed the question status: solved with the linked bug 1362011 -- You received this question notification because you are a member of Sikuli Drivers, which 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 #256078]: [1.0.1] OSX 10.10 Yosemite: Can't launch SikuliX IDE
Question #256078 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256078 Linked to bug: #1362011 https://bugs.launchpad.net/bugs/1362011 [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite --- 1.1.0 works (RC3 + 1.0.1 do not) -- You received this question notification because you are a member of Sikuli Drivers, which 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 #255984]: HowTo Region.observe: onAppear handler ?
Question #255984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255984 Summary changed to: HowTo Region.observe: onAppear handler ? -- You received this question notification because you are a member of Sikuli Drivers, which 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] [Bug 1384317] Re: [RC3] Special keys don't go through VNC session
I am sorry, that I cannot help you currently: simply not enough time to dive deeper into that area, which is rather new for me. I tried with the 1.1.0 VNC stuff on Mac, but no success. So you either get one of the VNC solutions (RC3 or 1.1.0) to work, or you have to wait until it is fixed. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1384317 Title: [RC3] Special keys don't go through VNC session Status in Sikuli: Won't Fix Bug description: Special keys like Key.ENTER, Key.F1, Key.BACKSPACE, etc. do not go through VNC session. To reproduce the bug : * set up a Windows Seven VM where RealVNC is installed and up (https://www.realvnc.com/download/vnc/) * run a sikuli script from a host running Debian Wheezy. The script has to open something (firefox for example) and to vncscreen.type(test+Key.ENTER) * you can check that firefox is correctly opening by the script, but only test is typed (no ENTER). Version used is the one from github (https://github.com/sikuli/sikuli) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1384317/+subscriptions ___ 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 #256154]: rc3 to 1.0.1 upgrade question
New question #256154 on Sikuli: https://answers.launchpad.net/sikuli/+question/256154 Hi, We've been running Sikuli rc3 with Java 6 on a Mac for a while now. Our setup has the ability to drive our desktop app as well as a web browser using Selenium by copying the selenium.jar file into the same directory as the Sikuli app. We just started looking into upgrading to the latest stable version 1.0.1 and have a question on the startup command. In our current configuration, the following command would put us in interactive mode: java -cp /Applications/Sikuli-IDE.app/Contents/Resources/java/selenium.jar:/Applications/Sikuli-IDE.app/Contents/Resources/java/sikuli-script.jar org.sikuli.script.SikuliScript -i. Works great. Puts us in interactive mode where we can import selenium drivers and tests. We updated to version 7 of Java and installed 1.0.1 into a SikuliX directory. We then tried to run the following: java -cp /Users/Mac/SikuliX/selenium.jar:/Users/Mac/SikuliX/sikuli-script.jar org.sikuli.script.SikuliScript -i When we run this, we get - Error: Could not find or load main class org.sikuli.script.SikuliScript Is that class no longer in the 1.0.1 build of Sikuli? If not, what class should we use for a similar condition? We also tried version 1.1.0 but noticed the same error when trying to start. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #252471]: [RC3] having trouble with windows installer --- not supported any longer
Question #252471 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252471 blasac5150 posted a new comment: I need to install and configure sikuli on 50+ workstations. Since the MSI is no longer available, can someone one tell me how to install the jar file silently, via command line? Any help would be much appreciated. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #256155]: Deploying Sikuli just by unzipping a file possible?
New question #256155 on Sikuli: https://answers.launchpad.net/sikuli/+question/256155 I need to deploy my Sikuli scripts to users that do not have admin rights or internet access Is it possible to zip up the Sikuli installation on my computer and just have users of my script unzip that to be able to run my Sikuli scripts? The use case is this: 1. My friend works at a helpdesk and needs to enter some information all the time 2. I wrote him a Sikuli script to enter all that information for him, but he has no admin rights or internet access. He just has his work email access. 3. He'll have to email a zip file with all the Sikuli runtimes in it and then save it at his work computer, extract it and click a button (or a batch file) to get it to work We can assume JRE is installed as the email client is Java based. So, is it possible to zip up the Sikuli installation on my computer and just have users of my script unzip that to be able to run my Sikuli scripts? -- You received this question notification because you are a member of Sikuli Drivers, which 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 #256078]: [1.0.1] OSX 10.10 Yosemite: Can't launch SikuliX IDE
Question #256078 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256078 GoGoEvans 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 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