[Sikuli-driver] [Question #236590]: how to import win32gui
New question #236590 on Sikuli: https://answers.launchpad.net/sikuli/+question/236590 HI in python 2.6 IDE,I can import win32api,but in sikuli 1.0.1 when I myScriptPath = c:\\Python26\\Lib\\site-packages\\win32 import win32api always point [error] script [ 1 ] stopped with error in line 2 [error] ImportError ( No module named win32api ) I want to know how to import win32gui? -- 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 #236590]: Python: how to import win32gui --- not possible because it is C-based
Question #236590 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236590 Summary changed to: Python: how to import win32gui --- not possible because it is C-based -- 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 #236590]: how to import win32gui
Question #236590 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236590 Status: Open = Answered RaiMan proposed the following answer: SikuliX talks Python, but the internally used interpreter is Jython (functionally compatible at language level 2.5). Jython is Java based and cannot import C-based Python stuff like win32api. -- 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 #236586]: Not able to see sikuli-script jar after installation
Question #236586 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236586 Status: Open = Answered RaiMan proposed the following answer: I guess you tried an offline setup according to faq 2363. Did you really follow the steps mentioned in the read me? In doubt: - in the setup folder delete everything except the Downloads folder, sikuli-setup-jar and on Windows runSetup.cmd - make sure, the Downloads folder contains the unzipped packages of the options you selected (1, 3, 5 in your case) - repeat the setup when successful, proceed according to: https://github.com/RaiMan/SikuliX-API/wiki/Usage-in-Java-programming After switching on the OCR/text feature, you might get a problem according to faq 2436 -- 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 #236516]: The right way to script waiting for events in multiple browser tabs?
Question #236516 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236516 Status: Open = Answered RaiMan proposed the following answer: the solution for such situations normally is to delegate the processing of the popup to a thread/subprocess, that works concurrently with the main workflow. There are many possible solutions for that. The challenge is, to coordinate the usage of mouse and keyboard between main and sub. The easiest implementation is to simply run a second script for popup handling from commandline in parallel. Sikuli has the observe feature, that can be run in background (only the search works in parallel, the processing in the handler is blocking the main workflow). Here you have a similar challenge: Since the handler might take over at any time, it might interfere with the main workflow according to the current mouse movement. This problem is not solved in Sikuli yet. -- 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 1233062] [NEW] Please provide VisionProxy source tree from github as well
Public bug reported: Hi, As I understand it, the VisonProxy native lib isn't an external dependency but an internal component of Sikuli. As such, its source tree should be available from github as well, with a proper 1.0.1 tag. Many thanks in advance. ** 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/1233062 Title: Please provide VisionProxy source tree from github as well Status in Sikuli: New Bug description: Hi, As I understand it, the VisonProxy native lib isn't an external dependency but an internal component of Sikuli. As such, its source tree should be available from github as well, with a proper 1.0.1 tag. Many thanks in advance. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1233062/+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 #236586]: [1.0.1] Not able to see sikuli-script jar after installation
Question #236586 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236586 Status: Answered = Open lakshmi is still having a problem: Hi RaiMan I have done the same as stated in the readme files. Have copied 3 options jars in the Downloads files and sikuli got installed successfully (it always installs). I am pasting the log file details. After this I,created the SIKULI_HOME env variable and updated the PATH variable with SIKULI details. Created a new Java project, and added all the jars in the download folder (as stated in the wiki page for Java) followed every step. Still I am getting the same error. Not able to run the Java code at all. [debug (30/09/13 7:21:08 PM)] RunSetup: SikuliX Setup Build: 1.0.1 2SEP2013172831 [debug (30/09/13 7:21:08 PM)] RunSetup: ... starting with no args given [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\SikuliX\libs [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\Java\jdk1.6.0_27\bin [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\Java\jdk1.6.0_27\lib [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\Program Files\Java\jre6\lib [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: R:\ora92\bin [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\Program Files\Oracle\jre\1.1.8\bin\ [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\WINDOWS\system32 [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\WINDOWS [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\WINDOWS\System32\Wbem [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: r:\oc\sybnt\dll [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: r:\oc\odbcnt [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: M:\notes\data [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: C:\Program Files\Windows Imaging\ [debug (30/09/13 7:21:08 PM)] RunSetup: syspath: . [debug (30/09/13 7:21:08 PM)] RunSetup: user home: C:\Documents and Settings\ldesa [debug (30/09/13 7:21:10 PM)] RunSetup: RunningSystem: Windows 5.1 [debug (30/09/13 7:21:10 PM)] RunSetup: parent of jar/classes: C:/SikuliX/ [debug (30/09/13 7:21:10 PM)] RunSetup: RunningJava: Java 6 (x86) 1.6.0_27-b07 [debug (30/09/13 7:21:10 PM)] RunSetup: ... could not detect whether Sikuli is used the first time on this system [debug (30/09/13 7:21:38 PM)] RunSetup: main: Copied form local Download: sikuli-ide-1.0.1.jar [debug (30/09/13 7:21:43 PM)] RunSetup: main: Copied form local Download: sikuli-tessdata-1.0.1.jar [debug (30/09/13 7:21:43 PM)] RunSetup: Download ended [debug (30/09/13 7:21:43 PM)] RunSetup: adding native stuff to sikuli-ide.jar [debug (30/09/13 7:21:43 PM)] FileManager: buildJar: C:\SikuliX\sikuli-temp.jar [debug (30/09/13 7:21:43 PM)] FileManager: buildJar: adding: C:\SikuliX\sikuli-ide.jar [debug (30/09/13 7:21:50 PM)] FileManager: buildJar: adding: C:\SikuliX\sikuli-setup.jar [debug (30/09/13 7:21:55 PM)] FileManager: buildJar: adding: C:\SikuliX\sikuli-tessdata.jar [debug (30/09/13 7:22:03 PM)] FileManager: buildJar: completed [debug (30/09/13 7:22:03 PM)] ResourceLoaderBasic: export: Trying to access package [debug (30/09/13 7:22:03 PM)] ResourceLoaderBasic: export: Accessing jar: file:/C:/SikuliX/sikuli-setup.jar [debug (30/09/13 7:22:04 PM)] ResourceLoaderBasic: export: Found 1 Files in Commands/windows/runIDE.cmd [debug (30/09/13 7:22:04 PM)] RunSetup: trying to set up the environment [debug (30/09/13 7:22:04 PM)] ResourceLoaderBasic: check: we are running on arch: x86 [debug (30/09/13 7:22:04 PM)] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre6/ [error (30/09/13 7:22:04 PM)] ResourceLoaderBasic: check: No valid libs path available until now! [action (30/09/13 7:22:04 PM)] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: C:/SikuliX/ [debug (30/09/13 7:22:04 PM)] ResourceLoaderBasic: extractLibs: Accessing jar: file:/C:/SikuliX/sikuli-setup.jar [debug (30/09/13 7:22:05 PM)] ResourceLoaderBasic: extractLibs: Found 14 Files in META-INF/libs/windows/libs32/ [debug (30/09/13 7:22:05 PM)] ResourceLoaderBasic: export: Trying to access package [debug (30/09/13 7:22:05 PM)] ResourceLoaderBasic: export: Accessing jar: file:/C:/SikuliX/sikuli-setup.jar [debug (30/09/13 7:22:06 PM)] ResourceLoaderBasic: export: Found 0 Files in META-INF/libs/tessdata [debug (30/09/13 7:22:06 PM)] ResourceLoaderBasic: checkLibsDir: C:\SikuliX\libs [debug (30/09/13 7:22:06 PM)] ResourceLoaderBasic: loadLib: WinUtil [debug (30/09/13 7:22:06 PM)] ResourceLoaderBasic: loadLib: Found: WinUtil [debug (30/09/13 7:22:06 PM)] ResourceLoaderBasic: loadLib: Now loaded: WinUtil [debug (30/09/13 7:22:06 PM)] ResourceLoaderBasic: checkLibsDir: Using libs at: C:\SikuliX\libs [debug (30/09/13 7:22:06 PM)] ResourceLoaderBasic: export: Using this as OCR directory (tessdata) too [debug (30/09/13 7:22:10 PM)] RunSetup: Trying to run functional test: running Jython statements via SikuliScript [debug (30/09/13 7:22:10 PM)] SikuliX: before adding to classpath: C:\SikuliX\sikuli-ide.jar [debug
[Sikuli-driver] [Question #236601]: sikuli installation on ubuntu12.04
New question #236601 on Sikuli: https://answers.launchpad.net/sikuli/+question/236601 Today 30Sep2013 Ubuntu 12.04 updated 11Sep2013 java version 1.6.0_27 OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2) OpenJDK Server VM (build 20.0-b12, mixed mode) Today I first installed the latest sikuli 1.0.1 using sikuli-setup.jar to install Pack 1. On running runIDE (sikuli-ide.jar) I could design and save the project. But on pressing PLAY it simply died (after popping setting up env). Nothing on the terminal from which I lauched runIDE. I next installed using apt-get sikuli-ide (ver 1.0). On running /usr/bin/sikuli-ide - it failed on the first try to capture screen-shot. But this time I had a log report to view, as well as dumps on the terminal from which I lauched the app. So could search on web for solution. - SOLVED - by installing libswing-layout-java 1.0.4-2 (confirmed tesseract-ocr-eng 3.02-2 already installed, /tmp/sikuli/tessdata linked) Sikuli 1.0 started WORKING like a charm. Any hints to get 1.0.1 bundled jar to run/track/debug? -- 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 #236586]: [1.0.1] Not able to see sikuli-script jar after installation
Question #236586 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236586 Status: Open = Answered RaiMan proposed the following answer: ---1: a sikuli-java.jar is not created from the downloads folder: [debug (30/09/13 7:21:38 PM)] RunSetup: main: Copied form local Download: sikuli-ide-1.0.1.jar [debug (30/09/13 7:21:43 PM)] RunSetup: main: Copied form local Download: sikuli-tessdata-1.0.1.jar So you should select options 1, 3 and 5 (if you do not need the IDE, only 3 and 5 are sufficient) ---2: SIKULI_HOME is not needed for version 1.0.1 any longer ... as long as the Sikuli stuff is completely left in the setup folder. If at all (no need to use it in your case) it is SIKULIX_HOME for version 1.0.1+ ---3. setting the system path ... ... to point to the sikuli-setup-folder/libs is ok So start over again: - in the setup folder (c:\SikuliX in your case) delete everything except the Downloads folder, sikuli-setup-jar and runSetup.cmd - make sure, the Downloads folder contains the unzipped packages of the options you selected (1: sikuli-ide-1.0.1.jar, 3: sikuli-java-1.0.1.jar, 5: sikuli-tessdata-1.0.1.jar in your case) - repeat the setup -- 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 #236586]: [1.0.1] Not able to see sikuli-script jar after installation
Question #236586 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236586 RaiMan proposed the following answer: --- This didnt create any folder in the Program Files folder on Windows XP machine Since Sikuli does not create/deliver any executables (besides the convenience command files runIDE and runScript, that allow to run without the need to specify a Sikuli system path entry) for now, nothing is created in Program Files. SikuliX 1.0.1 is completely run from the setup folder (c:\SikuliX in your case) -- 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 #236601]: sikuli installation on ubuntu12.04
Question #236601 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236601 Status: Open = Answered RaiMan proposed the following answer: with 1.0.1 use runIDE -d 3 -c to get a debug log on the command line, that might help to solve your issue. BTW: I am not sure what you get with apt-get sikuli-ide (ver 1.0), but I guess, that it is something at the level of SikuliX-1.0rc3 -- 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 1233062] Re: Please provide VisionProxy source tree from github as well
For now, I can create an additional Git repo SikuliX-Natives, that contains the source tree, as it is contained in the downloadable package https://launchpad.net/sikuli/sikulix/1.0.1/+download/Sikuli-1.0.1-Supplemental-LinuxVisionProxy.zip (this contains a template to build VisionProxy.so) Ok? ** Summary changed: - Please provide VisionProxy source tree from github as well + [1.0.1] Linux: Please provide VisionProxy source tree from github as well ** Changed in: sikuli Status: New = In Progress ** Changed in: sikuli Importance: Undecided = Medium ** 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/1233062 Title: [1.0.1] Linux: Please provide VisionProxy source tree from github as well Status in Sikuli: In Progress Bug description: Hi, As I understand it, the VisonProxy native lib isn't an external dependency but an internal component of Sikuli. As such, its source tree should be available from github as well, with a proper 1.0.1 tag. Many thanks in advance. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1233062/+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 #236586]: [1.0.1] Not able to see sikuli-script jar after installation
Question #236586 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236586 Status: Answered = Solved lakshmi confirmed that the question is solved: Thanks RaiMan!! Dont know what was wrong in my previous installation. I am able to run java code now :) Thanks Again!!! -- 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 #236622]: Not working when the object is not on screen
New question #236622 on Sikuli: https://answers.launchpad.net/sikuli/+question/236622 I have written a script to scan on the IE Flash program and click on certain object (eg: click(1380511864279-1.png)) However the click command (perhaps other scan command also) will not work if the IE is not maximize on screen. I wish the script can continue scan the IE tab 1 even when I minimize it. Please advice how to continue the image scan even I want to minimize it, since I want to open other apps to do my works. -- 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 #236622]: Not working when the object is not on screen
Question #236622 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236622 Status: Open = Answered Mark Weisler proposed the following answer: Since Sikuli is a visual environment it needs to see the image (1380511864279-1.png) on your screen to be able to click on it. If the display is minimized Sikuli cannot see the image and cannot click on it. When you execute the Sikuli program you should leave the screen the same size as when you captured the image. That way Sikuli will have a better chance of finding the image than if you shrink it or enlarge it. -- 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 #236625]: Install sikuli 1.0.1 release on CentOS 6.4 x86_64
New question #236625 on Sikuli: https://answers.launchpad.net/sikuli/+question/236625 Dear All! This is a howto for sikuli install on CentOS 6.4 x86_64. 1, Install java from repo. # sudo yum install java-1.7.0-openjdk.x86_64 2, Install prereqs from repo. # sudo yum install environment-modules # sudo yum install ilmbase-1.0.1-6.1.el6.x86_64 # sudo yum install OpenEXR-libs-1.6.1-8.1.el6.x86_64 3, Download exactly this packages from another sources (use google). opencv245-core-2.4.5-1.sdl6.x86_64.rpm opencv245-2.4.5-1.sdl6.x86_64.rpm liblept3-1.69-7.1.x86_64.rpm tesseract-3.02.02-3.2.x86_64.rpm 4, Install the previously downloaded packages. # sudo rpm -ivh opencv245-core-2.4.5-1.sdl6.x86_64.rpm # sudo rpm -ivh opencv245-2.4.5-1.sdl6.x86_64.rpm # sudo rpm -ivh liblept3-1.69-7.1.x86_64.rpm # sudo rpm -ivh tesseract-3.02.02-3.2.x86_64.rpm 5, Create symlinks. # sudo ln -s /usr/local/opencv/2.4.5/lib64/* /usr/lib64/ 6, Install sikuli # java -jar sikuli-setup.jar 7, Enjoy. -- 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 #236625]: Install sikuli 1.0.1 release on CentOS 6.4 x86_64
Question #236625 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236625 RaiMan posted a new comment: genious  Thanks a lot. -- 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 #236625]: [1.0.1] CentOS 6.4 x86_64: How to Install SikuliX 1.0.1
Question #236625 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236625 Assignee: None = RaiMan Summary changed to: [1.0.1] CentOS 6.4 x86_64: How to Install SikuliX 1.0.1 -- 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 #236625]: [1.0.1] CentOS 6.4 x86_64: How to Install SikuliX 1.0.1
Question #236625 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236625 Status: Open = Solved RaiMan changed the question status: to keep it I set it to solved. -- 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 #236590]: Python: how to import win32gui --- not possible because it is C-based
Question #236590 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236590 rob posted a new comment: are there any modules equivalent or similar to win32 that are usable? -- 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 #235070]: Is Sikuli stable when it run in Java api for a little complicate program?
Question #235070 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235070 Status: Answered = Open Kurt Chen is still having a problem: Hi RaiMan, I got the sikuli-java.jar file, which you mentioned in that link, then, put it in my build path, and run my test suite, I got the Visual Affect like below, which is the same as before, do you mean the Visual Affect is just like this?? What I was looking for is the Visual Affect like the slow motion in IDE. I will take a snapshot below. Here you go, this is the snapshot which I was looking for in Slow Motion: So, in other words, even I got the sikuli-java.jar file from the link you provided, I still doesn't get the Visual Affect, what I was looking for in slow motion. Here is what my setup in java file: Settings.setShowActions(false); Settings.SlowMotionDelay = 1; Settings.ClickDelay = 0.5; Please help ! Thanks So much. -Kurt. -- 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 #235070]: Is Sikuli stable when it run in Java api for a little complicate program?
Question #235070 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235070 Kurt Chen gave more information on the question: By the way, the jar, sikuli-java.jar size is 13,369 KB for version 1.0.1. -Kurt. From: Ke Chen [mailto:kc...@boardvantage.com] Sent: Monday, September 30, 2013 2:37 PM To: 'rmhdeve...@me.com' Cc: 'question235...@answers.launchpad.net' Subject: Visual Affect Hi RaiMan, I got the sikuli-java.jar file, which you mentioned in that link, then, put it in my build path, and run my test suite, I got the Visual Affect like below, which is the same as before, do you mean the Visual Affect is just like this?? What I was looking for is the Visual Affect like the slow motion in IDE. I will take a snapshot below. Here you go, this is the snapshot which I was looking for in Slow Motion: So, in other words, even I got the sikuli-java.jar file from the link you provided, I still doesn't get the Visual Affect, what I was looking for in slow motion. Here is what my setup in java file: Settings.setShowActions(false); Settings.SlowMotionDelay = 1; Settings.ClickDelay = 0.5; Please help ! Thanks So much. -Kurt. -- 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 #236636]: OCR fails silently (no error message)
New question #236636 on Sikuli: https://answers.launchpad.net/sikuli/+question/236636 I'm trying this code, which I got from the answer to another thread (marked as solved): myReg= Region(100,100,500,600) myReg.highlight(2) myText = myReg.text() print myText There is definitely text there, but I don't get ANY result. The red highlight appears, sits there for a moment, then goes back to the Sikuli screen. No error messages, no console message, no test trace... nothing. Any suggestions? -- 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 #236638]: How can I send input from wired xbox controller?
New question #236638 on Sikuli: https://answers.launchpad.net/sikuli/+question/236638 I have to test a windows application that only uses a USB game controller (xbox) for input. I'm not sure how put controller input into python/sikuli. Specifically, I want to tell the game that the xbox controller pressed A, or Down on the D pad or Up on the Left Thumbstick, probably in long sequences (UP, A, DOWN, DOWN, A) 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 #235070]: Is Sikuli stable when it run in Java api for a little complicate program?
Question #235070 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235070 Kurt Chen gave more information on the question: Hi RaiMan, Here is the click issue for upload a file to website, you can see the Upload button was greyed out, is not clickable. Suppose to be seen like this: This has been happening for so many times already, and this time, I am very much sure I am using 1.0.1 version of sikuli-java.jar file. The last one was that I have done it by manually, when I did it manually, I always make sure I clicked hard enough to ensure the file is selected. Thanks. -Kurt. -- 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 #235070]: Is Sikuli stable when it run in Java api for a little complicate program?
Question #235070 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235070 Kurt Chen gave more information on the question: My click functions are below, I was using the doubleClick() function: private Screen s; private Keyboard kb; private ScreenRegion sr; private Mouse mouse; private Canvas painter; private ScreenRegion rect; @BeforeSuite(alwaysRun = true) public void setupSuite() { Settings.setShowActions(false); Settings.SlowMotionDelay = 1; Settings.ClickDelay = 0.5; s = new Screen(); sr = new DesktopScreenRegion(); kb = new DesktopKeyboard(); mouse = new DesktopMouse(); painter = new DesktopCanvas(); } ... private void singleClick(String imagePath) throws FindFailed, InterruptedException { painter.addCircle(sr.find(new ImageTarget(new File(imagePath))).getCenter()); painter.display(1); mouse.click(sr.find(new ImageTarget(new File(imagePath))).getCenter()); painter.clear(); } private void doubleClick(String imagePath) throws FindFailed, InterruptedException { painter.addCircle(sr.find(new ImageTarget(new File(imagePath))).getCenter()); painter.display(1); mouse.doubleClick(sr.find(new ImageTarget(new File(imagePath))).getCenter()); painter.clear(); } private void rightClick(String imagePath) throws FindFailed, InterruptedException { painter.addCircle(sr.find(new ImageTarget(new File(imagePath))).getCenter()); painter.display(1); mouse.rightClick(sr.find(new ImageTarget(new File(imagePath))).getCenter()); painter.clear(); } imagePath is the image file which passed into the click function. Thanks. -Kurt. From: Ke Chen [mailto:kc...@boardvantage.com] Sent: Monday, September 30, 2013 6:35 PM To: 'rmhdeve...@me.com' Cc: 'question235...@answers.launchpad.net' Subject: Click Issue Hi RaiMan, Here is the click issue for upload a file to website, you can see the Upload button was greyed out, is not clickable. Suppose to be seen like this: This has been happening for so many times already, and this time, I am very much sure I am using 1.0.1 version of sikuli-java.jar file. The last one was that I have done it by manually, when I did it manually, I always make sure I clicked hard enough to ensure the file is selected. Thanks. -Kurt. -- 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