Re: [Sikuli-driver] [Question #261508]: run .skl file using batch file
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 Status: Answered = Open deva is still having a problem: sorry... i am not able to understand this faq 2436 could you explain me about the script and how to start the script.. and how to write script and how to switch on text recognition at run time -- 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 #261600]: Running sikuli in Linux and still being able to use the screen
Question #261600 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261600 Status: Answered = Solved Edmundo Valle Neto confirmed that the question is solved: Answering my own question. Yes its possible to do that: Follow two references about how to do it using xephyr, opening a remote X session to your own computer inside a window using SSH or XDMCP. Then you can run Sikuli there and left the window as it was a virtual machine. http://www.dedoimedo.com/computers/xephyr.html http://jeffskinnerbox.me/posts/2014/Apr/29/howto-using-xephyr-to-create-a-new-display-in-a-window/ -- 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 #261508]: run .skl file using batch file
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 Status: Answered = Open deva is still having a problem: Thanks for your explanation.. i used below code to run .skl file the following is my .bat file .bat file: @echo off start /i /b /wait Path-to \\runsikulix.cmd -r %1 i used the below line run as command from java: String[] command={cmd.exe, /C, Start +path-to .bat file+ +path- to .skl file}; at where i have to add script line in batch file -- 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 #261508]: run .skl file using batch file
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 Status: Open = Answered RaiMan proposed the following answer: --- i am not able to understand this faq 2436 here the relevant part How to switch it on at runtime: --- TextSearch (find(some text)) and OCR (Region.text()) are currently switched off in the default with respect to the many issues. The related Settings options to be used (set to true) with Sikuli API (or outside the IDE): Settings.OcrTextRead = true; // to switch on the Region.text() function Settings.OcrTextSearch = true; // to switch on finding text with find(some text) Running scripts from inside the IDE alternatively the respective options in the Preferences - …more options can be selected. for the usage in a script (inside or outside IDE): Settings.OcrTextRead = true # to switch on the Region.text() function Settings.OcrTextSearch = true # to switch on finding text with find(some text) how to run scripts from command line: http://sikulix-2014.readthedocs.org/en/latest/faq/010-command-line.html#how-to-run-sikulix-from-command-line -- 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 #261600]: [HowTo] Linux: Running sikuli while using screen, mouse and keyboard --- use Xephyr
Question #261600 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261600 RaiMan posted a new comment: Thanks for the finding and writing here. I have put it to the top and named this question a HowTo. -- 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 #261600]: [HowTo] Linux: Running sikuli while using screen, mouse and keyboard --- use Xephyr
Question #261600 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261600 Summary changed to: [HowTo] Linux: Running sikuli while using screen, mouse and keyboard --- use Xephyr Description changed to: -- a possible solution --- (from comment #3) Follow two references about how to do it using xephyr, opening a remote X session to your own computer inside a window using SSH or XDMCP. Then you can run Sikuli there and left the window as it was a virtual machine. http://www.dedoimedo.com/computers/xephyr.html http://jeffskinnerbox.me/posts/2014/Apr/29/howto-using-xephyr-to-create-a-new-display-in-a-window/ --- This is not exactly a question specific to Sikuli. I use it in a lot of tasks to integrate information between programs, to not need to type again and again. I was thinking if someone here use Sikuli in a way thats possible to still work with it running. I know I can run Sikuli inside a virtual machine and it will not interfere in my host system, but I was trying to run it in my own system and be able to other things when it is running. I use Linux Mint 17.1 with Cinnamon 64 bits. Tried to run it inside another session and it stop working when I alternate between my open sessions. Tried to execute it inside xnest or xephyr but was not able to isolate completely a cinnamon session inside it. Maybe the majority of users here use it on Windows and this is kind of a specific question to Linux. Someone here have any suggestion how this could be done? -- 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 #261426]: Region.observe(60, True) is throwing an exception
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 RaiMan proposed the following answer: for the error thrown: the only thing I can see: instead of: menu_region = edit_menu.left(1).below().right().intersection(mw) you might try: menu_region = Region(edit_menu.left(1).below().right().intersection(mw)) to cast the evaluated Java level Region object to a Python level Region object. This cast will not be needed any more with the final version, since the Jython Region does not have an extra observe() any more. -- 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 #261426]: Region.observe(60, True) is throwing an exception
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 RaiMan proposed the following answer: @comment #4 the setup looks principally ok, except that C:\Users\pierreb\PycharmProjects\detect_region\sikuli\libs need not be and C:\Users\pierreb\PycharmProjects\detect_region\sikuli\sikulix.jar should not be on Python path (sys.path) The latter, because it contains sikulixapi already and additionally a complete Jython, that might conflict with the external Jython /C:/git/AlphaPack2/jython/2.7b3/jython.jar (on __classpath__) C:\git\AlphaPack2\jython\2.7b3\Lib (on sys.path) But in this case it does not matter, since the bundled Jython is the same (2.7b3) The exported Lib folder containing the SikuliX Python stuff comes from sikulixapi.jar at setup time. -- 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 #261600]: Running sikuli in Linux and still being able to use the screen
Question #261600 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261600 Status: Open = Answered RaiMan proposed the following answer: As long as you and SikuliX are using the same screen/mouse/keyboard context, this will not work currently. Only if you let the SikuliX driven stuff run on another machine (either physical or virtual), you are completely free. In version 2 I will at least improve the support for remote running and allow more concurrent use on the same machine (pause/resume a running script automatically when external mouse/keyboard usage is detected or when specific patterns are visible). This would allow to run a script in background: it only works, when mouse/keyboard are not used for a given time. But it will never be possible, to work completely independent in parallel on the same machine with the same screen/mouse/keyboard context. -- 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 #261614]: Clicking on submenu item changes menu
Question #261614 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261614 Status: Open = Answered RaiMan proposed the following answer: just insert respective hover(calculatedPoint) and if you know the geometrics of your submenu, you might calculate the respective click points. So a search is only needed for the first click to open the submenu. If you use the IDE preview, you might set a target offset, so that after the click, the mouse is already at the right place to then use the hover afterwards. But maybe your problems already have gone, when you use: Settings.MoveMouseDelay = 0 which makes the mouse jump. -- 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 #261614]: Clicking on submenu item changes menu
Question #261614 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261614 Eugene Maslov proposed the following answer: To prevent menu disappearing, move the mouse right, then down. The function below can help. def clickOrtho(img): start=Env.getMouseLocation() end=find(img).getCenter() mouseMove(Location(end.x,start.y)) mouseMove(Location(end.x,end.y)) click(end) return end #usage: e.g. menu View-Zoom-Reset of Firefox click(menu_view.png) click(menu_zoom.png) clickOrtho(menu_reset.png) -- 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 #261468]: Region with reference of two images
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Needs information = Open deva gave more information on the question: p1 =exists(img1.png) p2 =exists(img2.png) combined = p1.union(p2) I tried the above code to create region with reference of two images. but 2nd image is matches in two places at top and bottom. so i have to choose above matches only -- 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 #242895]: How to install sikuli-script-1.0.1.jar by command line?
Question #242895 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242895 Anthony Green requested more information: Was this never implemented? I am looking at installing SikuliX via Chef -- 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 #261508]: run .skl file using batch file
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 Status: Answered = Open deva is still having a problem: i am using sikuli version 1.1.0. i want to create batch to run .skl file... i followed the below command as you directed. java -jar path-tosikulix.jar -r path-tosome.skl but i got no module name 'something'... that is import error... since i imported jave file as jar in IDE. so now i want to add parameter to that java jar file... previously i used sikuli version 1.0.1.. for that i create batch file to run .skl file and also that jar file and ran via java eclipse...that nothing is problem.. the thing is i have to handle the case that convert image to text.. for this reason i switch over to sikuli version 1.1.0. i used old batch file to run with sikuli 1.1 but its failed to convert text which means img.text() is working.. i got the below ERROr Text recognition is currently switched off... -- 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 #261508]: run .skl file using batch file
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 deva gave more information on the question: Text Recognition is enabled. but In Run IDE it works fine, but when i run it as executable file , it shows that error. -- 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 #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit
New question #261633 on Sikuli: https://answers.launchpad.net/sikuli/+question/261633 Hello, I have SikuliX 1.1.0. I have been using it for the past month and when I tried to install it on another machine, I am getting an issue where I am not able to bring up the IDE. I installed Sikulix successfully, without any failure. When I do a runsikulix.cmd on my command line, it would just show the following lines and then not open the IDE: C:\Users\demo\Documents\SikuliXrunsikulix.cmd +++ running this Java java version 1.8.0_31 Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\Users\demo\Documents\SikuliX\sikulix.jar After that, I did a runsikulix.jar -f test.txt to output any errors into the test.txt file and the output file has the following information: [info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3) [error] WindowsHotkeyManager: JIntellitype problem: Could not load JIntellitype.dll from local file system or from inside JAR I have read a lot of online forums, mainly in this site, and tried multiple things like deleting the registry entry (as pointed out by RaiMan in another thread) but the issue simply refuses to go away. Please help. My environment: Windows 7 Home Premium 64-bit Java JRE 1.8.0_31 32-bit (I had both 32 and 64 bit Java JRE on this machine before, but I uninstalled both and reinstalled only the 32-bit version as I was thinking that the 64-bit Java was the issue) My sikuli installation worked on two other machines, one a Windows 7 Professional 64bit and the other is a Windows 7 Home Premium 64 bit. Both of those machines have a 32 and 64 bit Java. My current environment variables: JAVA_HOME = C:\Program Files\Java\jre1.8.0_31 path = C:\ProgramData\Oracle\Java\javapath;C:\Program Files\zSpace\Tracking\4.0.1.75-svn-35737;C:\Program Files (x86)\zSpace\Tracking\4.0.1.75-svn-35737;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Users\demo\Documents\SikuliX;C:\Program Files\Java\jre1.8.0_31\bin I have also used the above env variables with Program Files (x86) for the Java variables, and they do not work either. Please help. -- 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 #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit
Question #261633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261633 RaiMan proposed the following answer: BTW: not the bitness of Windows, but that of the Java version counts, but of course you can only run a 64-Bit Java on Windows 64-Bit ... and looking from SikuliX: use of 64-Bit is first choice. -- 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 #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit
Question #261633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261633 Status: Open = Answered RaiMan proposed the following answer: -- 1. SikuliX 1.1.0 runs fine with a Java 64-Bit -- 2. you should not have any entries in system path nor in the environment variables, that you think are of value for Sikuli: this is no longer relevant for version 1.1.0+. so purge the entries: C:\Users\demo\Documents\SikuliX;C:\Program Files\Java\jre1.8.0_31\bin which I think are there, because you think, SikuliX needs them. To get more debug output run on command line: runsikulix.jar -d 3 -c 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 #261635]: Live examples of open source projects using sikuli
New question #261635 on Sikuli: https://answers.launchpad.net/sikuli/+question/261635 Hi, Do we have live open source projects using sikuli, would help to know what practices are being followed. Thx -- 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 #261508]: run .skl file using batch file
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 Status: Open = Answered RaiMan proposed the following answer: if you enabled Text Recognition in IDE via Preferences, than this is not recognised when running from command line. So if you want to use both, you have to use the script statements 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 #261635]: Live examples of open source projects using sikuli
Question #261635 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261635 sandeep gave more information on the question: I am not refering to sikuli code but to code of projects using sikuli for testing. -- 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 #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit
Question #261633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261633 Status: Open = Solved Yik Ran confirmed that the question is solved: well Raiman I don't know what to say. I tried different things and finally I got it to work. I went to the website that has the original Jintellitype.dll and downloaded it: https://code.google.com/p/jintellitype/downloads/detail?name=jintellitype-1.3.9-dist.zipcan=2q= and then I unzipped it. From the unzipped folder, I took the 64bit (Jintellitype64.dll) and stuck it in both my sikulix home\lib and Windows\System32 directory, renamed it to Jintellitype.dll (backed up the original ones of course). Then I restarted sikulix and VOILA it started working again. After that, I removed the Jintellitype.dll from Windows\System32 and replaced the one in sikuli home\lib with the one that came with the Sikuli installation. And it is still working I still do not know what really happened but hopefully somebody will find this information helpful. -- 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 #261643]: dragDrop() speed
Question #261643 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261643 Status: Open = Answered RaiMan proposed the following answer: the easiest way is to split the drag-drop into the respective mouse actions and insert wait(0.x). You can make a def() for that to reuse it. hover(sowewhere) wait(0.x) mouseDown(Button.RIGHT) wait(0.x) mouseMove(someWhereElse) wait(0.x) mouseUp() -- 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 #261642]: How to Log all my actions with a Time Stamp
New question #261642 on Sikuli: https://answers.launchpad.net/sikuli/+question/261642 Hi, I want to add the ability for Sikuli to LOG all my actions behind the scenes while my script is running. I did some research and found the Command Line Options for both userlogs and logfiles. Just a little unsure how this would get implemented in my scripts. Ultimately i need something that would log every 'Succesful' action and offer a time stamp. I would need this to work with both the user input and Sikuli input. 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
Re: [Sikuli-driver] [Question #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit
Question #261633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261633 Status: Answered = Open Yik Ran is still having a problem: Hi RaiMan Thanks for your fast reply. I have made the changes to my path as recommended so that there are no more references to Java\bin and Sikuli folder: C:\ProgramData\Oracle\Java\javapath;C:\Program Files\zSpace\Tracking\4.0.1.75-svn-35737;C:\Program Files (x86)\zSpace\Tracking\4.0.1.75-svn-35737;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static Then I did a java -version and the output is: C:\Users\demo\Documents\SikuliXjava -version java version 1.8.0_31 Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) and I ran the sikuli script: C:\Users\demo\Documents\SikuliXrunsikulix.cmd -d 3 -c +++ running this Java java version 1.8.0_31 Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\Users\demo\Documents\SikuliX\sikulix.jar -d 3 -c [debug] Running on Java 8 (1.8.0_31-b13) [debug] --- Sikuli parameters --- [debug] 1: -d [debug] 2: 3 [debug] 3: -c [debug] ScriptRunner: initScriptingSupport: enter [debug] JythonScriptRunner: init: setting java environment python.path: C:\Users\demo\Documents\SikuliX\sikulix.jar\Lib [debug] ScriptRunner: initScriptingSupport: added: jython [debug] ScriptRunner: initScriptingSupport: warning: org.sikuli.scriptrunner.ISc riptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be inst antiated [debug] ScriptRunner: initScriptingSupport: exit with defaultrunner: jython (py) [debug] ResourceLoader: SikuliX Package Build: 1.1.0 2015-01-16_01:00nightly [debug] ResourceLoader: check: we are running on arch: amd64 [debug] ResourceLoader: check: using Java at: C:/Program Files/Java/jre1.8.0_31/ [debug] ResourceLoader: check: Exists Environment.SIKULIX_HOME? YES: C:/Users/de mo/Documents/SikuliX/libs [debug] ResourceLoader: checkLibsDir: trying: C:/Users/demo/Documents/SikuliX/li bs [debug] ResourceLoader: checkLibsDir: Running on Windows - checking system path! [debug] ResourceLoader: checkLibsDir: checking ClassLoader.usrPaths having: C:/U sers/demo/Documents/SikuliX/libs [debug] ResourceLoader: loadLib: Now loaded: VisionProxy from: C:\Users\demo\Documents\SikuliX\libs\VisionProxy.dll [debug] ResourceLoader: checkLibsDir: Using libs at: C:\Users\demo\Documents\Sik uliX\libs [debug] Screen: initScreens: ScreenDevice 0 contains (0,0) --- will be used as p rimary [debug] Screen: initScreens: basic initialization (1 Screen(s) found) [debug] Screen: *** monitor configuration (primary: 0) *** [debug] Screen: 0: S(0)[0,0 1920x1080] [debug] Screen: *** end monitor configuration *** [debug] Mouse: init [debug] KeyBoard: init [debug] IDE: Adding components to window [debug] [I18N] menuRecent [debug] IDE: creating tabbed editor [debug] IDE: creating message area [debug] IDE: creating combined work window [debug] IDE: Putting all together [info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3) [error] WindowsHotkeyManager: JIntellitype problem: Could not load JIntellitype. dll from local file system or from inside JAR [debug] IDE: final cleanup [debug] FileManager: deleteFileOrFolder: C:\Users\demo\AppData\Local\Temp\BridJE xtractedLibraries7393197524683127935 [debug] FileManager: deleteFileOrFolder: C:\Users\demo\AppData\Local\Temp\Sikuli x It seems like the error where JIntellitype.dll could not be loaded is still there but there is a warning where the jruby could not be instantiated?: [debug] ScriptRunner: initScriptingSupport: added: jython [debug] ScriptRunner: initScriptingSupport: warning: org.sikuli.scriptrunner.ISc riptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be inst antiated Any idea what could be causing this? -- 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 #261468]: Region with reference of two images
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Open = Answered RaiMan proposed the following answer: if an image might be found more than once on the screen, you have either to restrict the search area or use findAll and afterwards decide which of the matches is the one you want to use. the best solution depends on your situation. Usually restricting the search region is the easier one. -- 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 #261547]: screenshot auto targeting top left of screen
Question #261547 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261547 Status: Open = Needs information RaiMan requested more information: do you have a second monitor attached? -- 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 #260905]: I'm unable to find the exact match for the text box for the 2nd time and henceforth in a loop.
Question #260905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/260905 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 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 #261486]: Stopping/Starting Sikuli from batch file
Question #261486 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261486 Status: Open = Answered RaiMan proposed the following answer: You should make the first script stop itself after a given time or at a given time using the appropriate Python time functions. So there would be no need to kill anything. -- 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 #261468]: Region with reference of two images
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Open = Needs information RaiMan requested more information: not clear what you have and want -- 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 #261508]: run .skl file using batch file
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 Status: Open = Answered RaiMan proposed the following answer: you have to - run setup with option 3 additionally checked - switch on the text functions before using them (see 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
[Sikuli-driver] [Question #261614]: Clicking on submenu item changes menu
New question #261614 on Sikuli: https://answers.launchpad.net/sikuli/+question/261614 I am currently using Sikuli to test my Qt desktop application and I have some trouble clicking on sub-menu items. My application has a menu item which is a sub-menu with 2 items and I cannot get Sikuli to select the second sub-item. I am using the following steps: * click() on the main-menu * click() on the sub-menu * click() on the second item in the sub-menu I have noticed that when the mouse moves from the sub-menu to the sub-menu item, it takes the shortest path which is a straight diagonal line. This path brushes the menu item that is just below the sub-menu and thus the sub-menu disappears, which makes my test fail. Is there a way to let Sikuli move the mouse first horizontally into the sub-menu and then vertically down to the item? I have tried the diagonal path manually and I noticed that it works depending on the application and movement speed. Windows Explorer for example gives you some time to move, unlike my application which requires speedy mouse movements in this case. As an alternative I could use the alt-key method on the menu items, which I luckily implemented for all menu items. Or maybe I can change Settings.MoveMouseDelay when in menus to skip the movement simulation? -- 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 #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit
Question #261633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261633 Yik Ran gave more information on the question: More info: I noticed that the build I'm using is: SikuliX Package Build: 1.1.0 2015-01-16_01:00nightly And my normally working build is: SikuliX Package Build: 1.1.0 2015-01-14_01:00nightly So, I tried replacing the sikulix.jar from the working build into the machine that is having problems and reran the script. The end result is still the same, where the IDE would not start with the same JIntellitype.dll error, but the jruby warning is gone ([debug] ScriptRunner: initScriptingSupport: added: jruby). -- 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 #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit
Question #261633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261633 Yik Ran gave more information on the question: I completely reinstalled Sikuli with the 01-14 nightly build (this is working on other machines), removed the script folder from registry, and it still would not start! Same error. -- 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