Re: [Sikuli-driver] [Question #661431]: Could sikuli find plain text in sreen?l
Question #661431 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661431 Status: Answered => Solved xiaocezi confirmed that the question is solved: i had tried this function ,worked not good. but still thanks for you help。 I rencently tring in translating the Sikuli manual to chinese language.Maybe can help other people to use sikuli more easily. also ,when i am translating,learned much to myself. -- 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 #661531]: Sikuli IDE with Swift
New question #661531 on Sikuli: https://answers.launchpad.net/sikuli/+question/661531 Is it possible to make a Sikuli script with Swift? -- 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 #661529]: VisionProxy.dll not available in AppData\Roaming\Sikulix\SikulixLibs_201712071454
New question #661529 on Sikuli: https://answers.launchpad.net/sikuli/+question/661529 Hello, I am trying to execute image search function with SikuliX and Appium, however upon executing the SikuliX API I am getting the error: [error] RunTimeAPI: *** terminating: loadlib: VisionProxy.dll not available in C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201712071454 I've followed the documentation regarding adding SikuliX dependency to Maven but for some reason it appears it is not able to export the required libs. More information is below. I've researched for full Maven setup with SikuliX but the dependency is the only step I am aware of that is required. Is there a configuration step that is missing that could be causing this error? Fixes Tried: 1. Adding SNAPSHOT dependency in Maven 2. Updating 32-bit Java to 64-bit Java on 64-bit Windows 7 Environment Info: Windows 7 Professional – 64-bit Eclipse Oxygen Release (4.7.0) Apache Tomcat 9.0 Java JDK 1.8.0_151 Appium v1.7.1 Spring MVC 5.0.0 SikuliX 1.1.1 pom.xml com.sikulix sikulixapi 1.1.1 Error [debug] Debug.init: from sikuli.Debug: on: 3 [debug] RunTimeINIT: loadOptions: check: C:\Users\cn713c\Desktop\eclipse-java-oxygen-R-win32\eclipse [debug] RunTimeINIT: loadOptions: check: C:\Users\cn713c [debug] RunTimeINIT: loadOptions: check: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: API [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080 [debug] RunTimeINIT: Monitor 1: (0, -1080) 1920 x 1080 [debug] RunTimeINIT: Monitor 2: (-1920, -1080) 1920 x 1080 [debug] RunTimeINIT: runs as sikulixapi-1.1.1.jar in: C:\Users\cn713c\Documents\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\AutomationEngine\WEB-INF\lib [debug] RunTimeINIT: exists libs folder at: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200 [debug] RunTimeINIT: libs folder empty or has wrong content [debug] RunTimeINIT: now exporting libs [debug] RunTimeINIT: addToClasspath: file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixapi-1.1.1.jar [debug] RunTimeINIT: libs to export are at: jar:file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixlibswin-1.1.1.jar!/sikulixlibs/windows/libs64/ [debug] RunTimeINIT: resourceList: enter [debug] RunTimeINIT: resourceLocation: (class org.sikuli.script.RunTime) /sikulixlibs/windows/libs64 [debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixlibswin-1.1.1.jar!/sikulixlibs/windows/libs64/ [debug] RunTimeINIT: files exported: 0 from: /sikulixlibs/windows/libs64 to: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200 [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200 [debug] RunTimeINIT: checkJavaUsrPath: added to ClassLoader.usrPaths * show environment for API (build 201711011200) user.home: C:\Users\cn713c user.dir (work dir): C:\Users\cn713c\Desktop\eclipse-java-oxygen-R-win32\eclipse user.name: cn713c java.io.tmpdir: C:\Users\cn713c\AppData\Local\Temp running 64Bit on Windows (6.1) from a jar java 8-64 version 1.8.0_151-b12 vm 25.151-b12 class 52.0 arch amd64 app data folder: C:\Users\cn713c\AppData\Roaming\Sikulix libs folder: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200 executing jar: C:\Users\cn713c\Documents\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\AutomationEngine\WEB-INF\lib\sikulixapi-1.1.1.jar *** classpath dump sikulix 3: /C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixapi-1.1.1.jar *** classpath dump end * show environment end [debug] RunTimeAPI: global init: leaving [debug] RunTimeAPI: initAPI: entering [debug] RunTimeAPI: resourceList: enter [debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.RunTime) /Lib [debug] RunTimeAPI: resourceList: having jar: jar:file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixapi-1.1.1.jar!/Lib/ [debug] RunTimeAPI: files exported: 0 from: Lib to: C:\Users\cn713c\AppData\Roaming\Sikulix\Lib [debug] RunTimeAPI: initAPI: leaving [error] RunTimeAPI: *** terminating: loadlib: VisionProxy.dll not available in C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200 [debug] RunTimeAPI: final cleanup [debug] FileManager: deleteFileOrFolder: C:\Users\cn713c\AppData\Local\Temp\Sikulix_1136682687 -- You received this question notification because y
Re: [Sikuli-driver] [Question #661057]: Hi I am getting the below error when sikulix is used in eclipse
Question #661057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661057 Status: Answered => Open radhi12 is still having a problem: Shall I setup webex so that I can walk u through On Dec 8, 2017 11:52 AM, "Manfred Hampl" < question661...@answers.launchpad.net> wrote: > Your question #661057 on Sikuli changed: > https://answers.launchpad.net/sikuli/+question/661057 > > Status: Open => Answered > > Manfred Hampl proposed the following answer: > You are confusing two different issues: > > You have to make a screen shot of an area of the screen and store it > somewhere on your system in a file, usually in PNG format and with a > file name that can be something like "capture.png" or > "1477780579267.png" (this number is based on date and time of making the > screen shot). > > 1. In your first attempt the file name that you gave in your program was > wrong, and sikuli could not access the file, because it was not available > in the directory that sikuli uses for these files. > This gave the error message "Image: could not be loaded: > file:/C:/Users/xw66/workspace/Sikul/Capture.PNG" > > 2. In a later attempt you apparently have corrected the file name of the > capture file (probably needs double backslashes). You can see this in > the error message, which does no more say "image could not be loaded". > This means that sikuli was able to access the screenshot file. > > The reason why you now get a FindFailed exception is the following: > The screenshot file contains an image which is not visible on the screen. > > Something like: You instruct sikuli to search for a big red rectangle on > the screen, but there is no such rectangle visible on the screen. Sikuli > tells you that it does not find such image by raising a FindFailed > exception. > > There is no way that we can help you "how to find the image" if such > image is not visible on your screen. > > Sikuli can only click on an area of the screen if it knows where to > click. If you instruct síkuli to click in the area where the image is, > but sikuli cannot identify such image on the screen, then sikuli will > always give this exception. > > Maybe we can help further, if you tell us what exactly you want to > achieve with sikuli. > > -- > If this answers your question, please go to the following page to let us > know that it is solved: > https://answers.launchpad.net/sikuli/+question/661057/+ > confirm?answer_id=29 > > If you still need help, you can reply to this email or go to the > following page to enter your feedback: > https://answers.launchpad.net/sikuli/+question/661057 > > You received this question notification because you asked the 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 #661522]: User clicks as input
Question #661522 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661522 Status: Answered => Solved Christos 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 #661522]: User clicks as input
Question #661522 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661522 Status: Open => Answered RaiMan proposed the following answer: selectRegion() See the docs -- 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 #661522]: User clicks as input
New question #661522 on Sikuli: https://answers.launchpad.net/sikuli/+question/661522 I am searching for half an hour, but I can't find anything relevant. variable = int(input("Give me a number")) The above line, opens a window where the user is asked to input an integer. What I need is a similar method but instead of an integer, I want Sikuli to expect for the user to click or indicate a region. Then : if the user clicked, I want to capture the x,y coordinates and store them to a list. if the user indicated a region, store that region to a list. I don't need both methods. One of them is more than enough. -- 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 #661057]: Hi I am getting the below error when sikulix is used in eclipse
Question #661057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661057 Status: Open => Answered Manfred Hampl proposed the following answer: You are confusing two different issues: You have to make a screen shot of an area of the screen and store it somewhere on your system in a file, usually in PNG format and with a file name that can be something like "capture.png" or "1477780579267.png" (this number is based on date and time of making the screen shot). 1. In your first attempt the file name that you gave in your program was wrong, and sikuli could not access the file, because it was not available in the directory that sikuli uses for these files. This gave the error message "Image: could not be loaded: file:/C:/Users/xw66/workspace/Sikul/Capture.PNG" 2. In a later attempt you apparently have corrected the file name of the capture file (probably needs double backslashes). You can see this in the error message, which does no more say "image could not be loaded". This means that sikuli was able to access the screenshot file. The reason why you now get a FindFailed exception is the following: The screenshot file contains an image which is not visible on the screen. Something like: You instruct sikuli to search for a big red rectangle on the screen, but there is no such rectangle visible on the screen. Sikuli tells you that it does not find such image by raising a FindFailed exception. There is no way that we can help you "how to find the image" if such image is not visible on your screen. Sikuli can only click on an area of the screen if it knows where to click. If you instruct síkuli to click in the area where the image is, but sikuli cannot identify such image on the screen, then sikuli will always give this exception. Maybe we can help further, if you tell us what exactly you want to achieve 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 #661512]: Location coordinates seem to be the wrong way around
Question #661512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661512 GZ posted a new comment: Aaaand I see there is a .highlight() command so all good! -- 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 #661512]: Location coordinates seem to be the wrong way around
Question #661512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661512 Status: Open => Solved GZ confirmed that the question is solved: OK, problems sloved, thanks. But it would be VERY useful if there was a method to quickly visually test Regions!! -- 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 #661057]: Hi I am getting the below error when sikulix is used in eclipse
Question #661057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661057 Status: Answered => Open radhi12 is still having a problem: I have placed it in c drive and not desktop.can u help me how to find the image or can u help me. On Dec 8, 2017 8:18 AM, "Manfred Hampl" < question661...@answers.launchpad.net> wrote: > Your question #661057 on Sikuli changed: > https://answers.launchpad.net/sikuli/+question/661057 > > Status: Open => Answered > > Manfred Hampl proposed the following answer: > If you do not see the image on screen, then Sikuli cannot see it either > and will report a FindFailed exception. > > -- > If this answers your question, please go to the following page to let us > know that it is solved: > https://answers.launchpad.net/sikuli/+question/661057/+ > confirm?answer_id=27 > > If you still need help, you can reply to this email or go to the > following page to enter your feedback: > https://answers.launchpad.net/sikuli/+question/661057 > > You received this question notification because you asked the 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 #661512]: Location coordinates seem to be the wrong way around
Question #661512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661512 GZ gave more information on the question: OK, I've found a way to test my regions, but this upside-down things really confused my math. Isn't there a testRegion() command or something like that that flashes up a red area that indicates the region?? It would be VERY useful for testing regions.. -- 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 #661518]: Sikuli will work on Selenium grid
New question #661518 on Sikuli: https://answers.launchpad.net/sikuli/+question/661518 Thanks Raiman. U helped a lot still now to Get some knowledge is sikuli. Having Doubts in these two points 1. Can u please explain in detail weather Selenium grid will work in Sikuli i am trying to run in Remote machine using Selenium grid and it is not finding images. In this case only one Active window is running but it is failing to find image. 2 . Sikuli will not run Parallel there is any other solution for this to verify images... -- 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 #661470]: Sikuli will work on Retina display
Question #661470 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661470 Status: Answered => Solved Maniraj 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 #661057]: Hi I am getting the below error when sikulix is used in eclipse
Question #661057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661057 Status: Open => Answered Manfred Hampl proposed the following answer: If you do not see the image on screen, then Sikuli cannot see it either and will report a FindFailed exception. -- 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 #661512]: Location coordinates seem to be the wrong way around
Question #661512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661512 Status: Open => Answered masuo proposed the following answer: Location(0,0) is top left. It is best to get used to. http://sikulix-2014.readthedocs.io/en/latest/screen.html#multi-monitor-environments -- 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 #661512]: Location coordinates seem to be the wrong way around
Question #661512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661512 Status: Answered => Open GZ is still having a problem: OK, now can you please help me whats the best way to test my Regions? -- 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 #661512]: Location coordinates seem to be the wrong way around
Question #661512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661512 GZ gave more information on the question: To be honest I don't mind which way around they are, but I want to be able to test my Region!! At the moment I get all kind of different points when I try to hover over the coordinates of my Region that I got with selectRegion(). Please tell me a good method to test my Region corners CORRECTLY. -- 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 #661512]: Location coordinates seem to be the wrong way around
Question #661512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661512 Description changed to: Hi Everyone, For some reason Location(0,0).hover() gives me the top left corner of my screen. I would expect it to be the bottom left. But testing further: COMMAND | RESULT | EXPECTED RESULT Location(0,0).hover() --> top left --> bottom left Location(1900,0).hover() --> top right--> bottom right Location(1900,1080).hover()--> bottom right--> top right Location(0,1080).hover() --> bottom left --> top left Why are these switched around? I'm on latest Java (both 32 and 64 bit intalled) and Sikuli 1.1.1 release version. -- 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 #661512]: Location coordinates seem to be the wrong way around
New question #661512 on Sikuli: https://answers.launchpad.net/sikuli/+question/661512 Hi Everyone, For some reason Location(0,0).hover() gives me the top left corner of my screen. I would expect it to be the bottom left. But testing further: COMMAND RESULT EXPECTED RESULT Location(0,0).hover() --> top left --> bottom left Location(1900,0).hover() --> top right--> bottom right Location(1900,1080).hover()--> bottom right--> top right Location(0,1080).hover() --> bottom left --> top left Why are these switched around? I'm on latest Java (both 32 and 64 bit intalled) and Sikuli 1.1.1 release version. -- 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 #661470]: Sikuli will work on Retina display
Question #661470 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661470 Status: Open => Answered RaiMan proposed the following answer: Before capturing with the SikuliX IDE features save the "Untitled" tab to some folder on the Desktop and name it as you like. When finished with capturing, save again. Now you have a folder on the Desktop you-named-it.sikuli, which contains you captured images. -- 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 #661020]: Unable to install - Lubuntu 17.04 - Java 8 - 32-bit
Question #661020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661020 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- 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