Re: [Sikuli-driver] [Question #249598]: How to split a region into a grid and access each grid element?
Question #249598 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249598 Status: Answered = Solved Patrick L confirmed that the question is solved: Thank you RaiMan! -- 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 #249484]: Mac - Not able to recognize top/system bar
Question #249484 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249484 Status: Answered = Open Kumar is still having a problem: Problem I have is exists(myappMenu) fails even though MyappMenu is on the desktop. -- 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 #249484]: Mac - Not able to recognize top/system bar
Question #249484 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249484 Status: Open = Needs information RaiMan requested more information: what is IDE Preview saying about the image? -- 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 #249634]: .png files in comments are expected to exist in test folder
New question #249634 on Sikuli: https://answers.launchpad.net/sikuli/+question/249634 I am using 1.0.1 Beta1 running on Mac book Pro OS X 10.9.3 If I have line like # xyz.png in my Python test script then my test is not loaded with a message indicating that xyz.png is not in the test folder. If I want to capture an image and save it to a file new.png then too the load fails with a message telling me that new.png is not in the test folder. It appears that every string with .png extension is deemed to be a required file. Is this expected behavior? -- 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 #249634]: .png files in comments are expected to exist in test folder
Question #249634 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249634 Status: Open = Answered RaiMan proposed the following answer: see bug 1324324 -- 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 #249639]: Drag and drop a shape from stencil to worksheet in visio
New question #249639 on Sikuli: https://answers.launchpad.net/sikuli/+question/249639 I wanted to automate the following scenario using sikuli • Create a spread sheet which contains the “shape name” of visio o Ex. Rectangle,Square, Circle o The spread sheet ( csv) has two column . 1st column shape name and 2nd column contains “Yes” or “No” o If the column contain the word “yes” then the respective shape dragged from the stencil to the worksheet o Once it placed the worksheet , the shape has to be double clicked to enter the data So how do I achieve this work flow? . Since I am able to refer the data from csv file and able to print in the console, but not aware how do I link the OCR here to find the shape and drag it to worksheet. *** Here is my code* fob1 = file(rC:\SikuliX\BackUp\fc1.csv) for line1 in fob1: (a1, b1) = line1.strip().split(',') if (a1 ==OR and b1==Yes): print(a1) print(b1) type(a1) # (Here i need the code to drag and drop the shape from stencil to worksheet based on a1 and after that i needs to double click on it ) fob= file(rC:\SikuliX\BackUp\fc.csv) #fob.read() for line in fob: #print(line) #type(line) (a, b, c, d, e, f, g, h, i, j, k, l,) = line.strip().split(',') if( a == OR ): #Settings.i1 = a Settings.i2 = b Settings.i3 = c Settings.i4 = d # Settings.i5 = e # Settings.i6 = f # Settings.i7 = g # Settings.i8 = h # Settings.i9 = i Settings.i10 = j Settings.i11 = k Settings.o1 = l #print(a) print(b) print(c) print(d) # print(e) # print(f) # print(g) # print(h) # print(i) print(l) -- 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 1325625] [NEW] SikulX 1.1.0 Beta1 No dropdown on Tool menu in Windows 7 64bit
Public bug reported: SikuliX 1.1.0 Beta1. No dopdown appears when you click Tools on the menu in Windows 7 64 bit. ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1325625 Title: SikulX 1.1.0 Beta1 No dropdown on Tool menu in Windows 7 64bit Status in Sikuli: New Bug description: SikuliX 1.1.0 Beta1. No dopdown appears when you click Tools on the menu in Windows 7 64 bit. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1325625/+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 #249530]: Cannot install Sikuli because libopencv is too recent
Question #249530 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249530 Status: Answered = Solved Rainer Klute confirmed that the question is solved: Building libVisionProxy.so from source was the way to got – it works! Thanks! (I'll got an error when trying to run a very simple test script, though. But that will be another 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
[Sikuli-driver] [Question #249653]: Running a Sikuli script throws a java.lang.NoClassDefFoundError
New question #249653 on Sikuli: https://answers.launchpad.net/sikuli/+question/249653 I am trying my very first steps with Sikuli X 1.1 on Linux (Opensuse 13.1, 64 bit). In a first test I used the IDE to create a script click(image). I saved the script and then tried to execute it. However, the following error message appeared: [error] script [ test ] stopped with error in line 1 [error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: org/sikuli/natives/VisionProxyJNI ) The missing class IS in two of the downloaded jars, but it IS NOT in sikulix.jar. -- 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 #249667]: Mirror download sites?
New question #249667 on Sikuli: https://answers.launchpad.net/sikuli/+question/249667 I'm getting a 404 when trying to download http://slides.sikuli.org/sikuli-slides-1.4.0.jar and http://slides.sikuli.org/sikuli-slides-api-1.4.0.jar from http://slides.sikuli.org/download/. Are there any mirror sites available or is anybody able to fix the issue? The windows installer and mac installer work just fine, but the executable jar and API don't work. Thanks! -- 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 #249508]: How can I work sikulix with zeromq?
Question #249508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249508 Status: Answered = Solved Brian Fu 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
[Sikuli-driver] [Question #249674]: memory leak
New question #249674 on Sikuli: https://answers.launchpad.net/sikuli/+question/249674 Dear all, my code is here: import logging import datetime from javax.swing import JFrame, JPanel, JLabel, JSplitPane from java.awt import BorderLayout loopcount = 60 def SetText(state): label1.text = state+/+str(loopcount) def SysLog(msg): #moment = datetime.datetime.now() logging.info(msg) frame = JFrame(Info) frame.setSize(200, 60); frame.setLocation(1920 / 2 -100, 960); frame.setLayout(BorderLayout()) label1 = JLabel(Debug Panel1) panel1 = JPanel() panel1.add(label1) frame.add(panel1) #label1.text = state frame.setVisible(True) logging.basicConfig(filename='example.log',level=logging.DEBUG) r = Region(278,260,402,313); #while not r.exists(Pattern(img).similar(0.99), 0): while(1): c=0 reset_time=0 img = capture(r) wait(1) while (1): if(r.exists(Pattern(img).similar(0.999), 0)): SysLog(Same) c += 1 else: SysLog(Different) c = 0 reset_time += 1 wait(1) img = capture(r) wait(1) SetText(str(c)) if(c loopcount): break print (reset time= + str(reset_time)) SysLog(Timeout, do something) SetText(Timeout, do something) It has heavy memory leak problem, after 1-hour run or shorter, it crashed because of memory leaking. I have to do taskkill /im java.exe /f /t command to force down the JVM, I don't know how to solve it. I have googled and found that may Region,exists(img) cause memory leak. How can I modify my code to do the same logic with other function? Thanks in advanced. -- 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 #249329]: Select a value from a Combo box (web element)
Question #249329 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249329 Status: Open = Answered Brian Fu proposed the following answer: I think there are two methods to do it: 1. just simulate mouse action, find out scroll down picture and click it then find out the exact one item and select it. 2. call an dll or external exe that program execute javascript in that web page to do your selection, but first you need the right to modify the web server source html. -- 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