Re: [Sikuli-driver] [Question #687711]: functions not known - SikulixIDE
Question #687711 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687711 Status: Open => Answered masuo proposed the following answer: What do you want to do by "x,x,x,x" ? Read document about parameter. https://sikulix-2014.readthedocs.io/en/latest/screen.html#Screen.selectRegion -- 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 #687708]: How to keep main window during execution?
Question #687708 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687708 Status: Open => Answered masuo proposed the following answer: If you use command line option "-c" when you run SikuliX from command line, all output goes to stdout. https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html#command-line-options-intention-ide-should-open [run command:] java -jar sikulix.jar -c [sample codes:] for i in range(10): print "i=%d" % i sleep(2) -- 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 #687703]: python
Question #687703 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687703 JN posted a new comment: Ok, change from jpype import * as you said But it ends up stopping at s = Screen(), waiting without doing anything like click I felt unable to instantiate because I took a jar from someone else that could be instantiated Due to the lack of information, I can only turn to you for help. Thank you for your time -- 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 #687686]: Random click region (no images)
Question #687686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687686 Status: Answered => Solved xyz_User confirmed that the question is solved: Thanks Manfred Hampl, 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
[Sikuli-driver] [Question #687711]: functions not known - SikulixIDE
New question #687711 on Sikuli: https://answers.launchpad.net/sikuli/+question/687711 There is some function that does not work in my laptop, as an example: selectRegion(x,x,x,x) or highLight(x) I have the same error each time, the only thing that change is the name of the function: [error] Runner: not possible: javax.script.ScriptException: TypeError: Region.selectRegion is not a function in at line number 1 SikulixIDE 1.1.3 -- 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 #687708]: How to keep main window during execution?
New question #687708 on Sikuli: https://answers.launchpad.net/sikuli/+question/687708 I would like to follow some output of the script while it runs, but the window is immediately hidden. Looked through the options and couldn't find anything. Thanks -- 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 #687703]: python
Question #687703 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687703 Status: Open => Needs information RaiMan requested more information: error message? stack trace? from jpype import * import jpype does not make sense: either from jpype import * or import jpype -- 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 #687698]: Sikuli Version 1
Question #687698 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687698 Status: Open => Answered RaiMan proposed the following answer: 1.1.3 no longer supported -- 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 #687703]: python
New question #687703 on Sikuli: https://answers.launchpad.net/sikuli/+question/687703 from jpype import * import jpype jvmPath = getDefaultJVMPath() startJVM(jvmPath, "-ea", r"-Djava.class.path=/Users/name/Desktop/sikulixapi-2.0.1.jar") print(jpype.isJVMStarted()) Screen = JClass("org.sikuli.script.Screen") s = Screen() s.click(r'img/test.png') shutdownJVM() Stops executing on s=Screen(), don't know how to deal with it -- 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] [Bug 1857799] Re: Image Size
Have finally setup my Google Drive again on my New Imac Link to Sikuli Script This should give the Actual Sikuli Script I am Running https://drive.google.com/drive/folders/1-_gJ4tps_4zAC40hKIyvlcipeiopsGHv?usp=sharing -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1857799 Title: Image Size Status in Sikuli: New Bug description: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 setRect Smaller than size of image in exists e.g. highlight R[733,836 39x47]@S(0) for 1.0 secs image size is over 50x50 - bigger than the 39x47 above at java.base/java.lang.reflect.Method.invoke(Method.java:567) org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'matchTemplate' ] To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1857799/+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 #687698]: Sikuli Version 1
Question #687698 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687698 Jeff_Vallis gave more information on the question: Install File : [debug (01/01/20 08:11:24)] Debug: setLogFile: /Users/Jeff/Documents/SikuliX_1/SikuliX-1.1.3-SetupLog.txt [debug (01/01/20 08:11:24)] RunSetup: ... starting with no args given [debug (01/01/20 08:11:24)] RunSetup: Setup: 1.1.3 2018-07-11_08:19 in folder: /Users/Jeff/Documents/SikuliX_1 [debug (01/01/20 08:11:24)] RunSetup: RunningSystem: Mac OSX 10.15.2 [debug (01/01/20 08:11:24)] RunSetup: parent of jar/classes: /Users/Jeff/Documents/SikuliX_1 [debug (01/01/20 08:11:24)] RunSetup: RunningJava: Java 8 (x86_64) 1.8.0_231-b11 [debug (01/01/20 08:11:24)] init user preferences [debug (01/01/20 08:11:53)] RunSetup: popAsk: The following file(s) will be downloaded to /Users/Jeff/Documents/SikuliX_1 --- Native support libraries for Mac OSX (sikulixlibs...) --- Package 1 --- sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar (IDE/Scripting) sikulixsetupAPI-1.1.3-20180711.082046-40-forsetup.jar (Java API) - with Jython - creating Mac application Only click NO, if you want to terminate setup now! Click YES even if you want to use local copies in Downloads! [debug (01/01/20 08:12:00)] RunSetup: popAsk: You have for Mac native libs /Users/Jeff/Library/Application Support/Sikulix/SikulixDownloads/sikulixlibsmac-1.1.1.jar Click YES, if you want to use this for setup processing ... or click NO, to ignore it and download a fresh copy [debug (01/01/20 08:12:16)] RunSetup: Copied from Downloads: sikulixlibsmac [debug (01/01/20 08:12:16)] FileManager: download to string from: https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupIDE/1.1.3-SNAPSHOT/maven-metadata.xml, [debug (01/01/20 08:12:16)] RunSetup: getMavenJar: sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar [debug (01/01/20 08:12:17)] FileManager: Downloading sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar having 23010 KB [debug (01/01/20 08:12:20)] FileManager: downloaded 23010 KB to: /Users/Jeff/Library/Application Support/Sikulix/SikulixDownloads_201807110819/sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar [debug (01/01/20 08:12:20)] FileManager: download time: 3 [debug (01/01/20 08:12:23)] RunSetup: Copied from Downloads: sikulix [debug (01/01/20 08:12:23)] RunSetup: popAsk: If you click YES, you will get Jython version 2.7.0 (recommended) ... but in rare cases there might be issues with UTF-8/Unicode that usually appear on startup when UTF-8 characters are present somewhere in the system environment If you encounter such problems with Jython 2.7.0 run setup again and click NO to get Jython a 2.5.4 version [debug (01/01/20 08:12:29)] RunSetup: popAsk: You have for Jython 2.7 /Users/Jeff/Library/Application Support/Sikulix/SikulixDownloads/jython-standalone-2.7.1.jar Click YES, if you want to use this for setup processing ... or click NO, to ignore it and download a fresh copy [debug (01/01/20 08:12:35)] RunSetup: Copied from Downloads: Jython [debug (01/01/20 08:12:35)] RunSetup: Download ended [debug (01/01/20 08:12:35)] RunSetup: Downloads for selected options: sikulixlibsmac-1.1.1.jar sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar sikulixsetupAPI-1.1.3-20180711.082046-40-forsetup.jar jython-standalone-2.7.1.jar [debug (01/01/20 08:12:35)] RunSetup: adding needed stuff to sikulix.jar [debug (01/01/20 08:12:35)] FileManager: buildJar: sikulixtemp.jar [debug (01/01/20 08:12:35)] FileManager: buildJar: adding: sikulix.jar [debug (01/01/20 08:12:39)] FileManager: buildJar: adding: sikulixjython.jar [debug (01/01/20 08:12:49)] FileManager: buildJar: adding: sikulixlibsmac.jar [debug (01/01/20 08:12:55)] FileManager: buildJar: completed [debug (01/01/20 08:12:55)] RunSetup: renaming sikulixtemp.jar to target jar: sikulix.jar [debug (01/01/20 08:12:56)] RunSetup: making the Mac application Sikulix.app [debug (01/01/20 08:12:56)] RunTimeSETUP: resourceList: enter [debug (01/01/20 08:12:56)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /macapp [debug (01/01/20 08:12:56)] RunTimeSETUP: resourceList: having jar: jar:file:/Users/Jeff/Documents/SikuliX_1/sikulixsetup-1.1.3.jar!/macapp [debug (01/01/20 08:12:56)] RunTimeSETUP: files exported: 6 from: macapp to: /Users/Jeff/Documents/SikuliX_1/SikuliX.app [debug (01/01/20 08:12:57)] RunSetup: processing commandfiles [debug (01/01/20 08:12:57)] RunTimeSETUP: exists libs folder at: /Users/Jeff/Library/Application Support/Sikulix/SikulixLibs_201807110819 [debug (01/01/20 08:12:57)] RunTimeSETUP: addToClasspath: file:/Users/Jeff/Documents/SikuliX_1/SikuliX.app/Contents/Java/sikulix.jar [debug (01/01/20 08:12:57)] RunSetup: Jython: Trying to run functional test: running script statements via SikuliScript [debug (01/01/20
Re: [Sikuli-driver] [Question #687698]: Sikuli Version 1
Question #687698 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687698 Jeff_Vallis gave more information on the question: Java - only 1 java installed Jeff@Jeffs-iMac ~ % /usr/libexec/java_home -V Matching Java Virtual Machines (1): 13.0.1, x86_64: "Java SE 13.0.1" /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home -- 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 #687698]: Sikuli Version 1
New question #687698 on Sikuli: https://answers.launchpad.net/sikuli/+question/687698 1.1.3(2018-07-11_08:19)/Mac10.15.2/Java13(64)13.0.1+9 Having Problems with Version 2 so want to run version 1 to compare problems Downloaded 1.1.3 although from searches there appears to be a version 1.1.4 which I cannot find Extracted in new folder in my Documents Directory ran IDE from there result cannot see any existing sikuli scripts - cannot even see any directories [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Do_Drag.sikuli has no script file Do_Drag.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Do_Drag.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Exists.sikuli has no script file Vikings_Exists.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Exists.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Get_Image_Both.sikuli has no script file Get_Image_Both.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Get_Image_Both.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Main.sikuli has no script file Vikings_Main.xxx [error] IDE : restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Main.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Sub_Utils.sikuli has no script file Vikings_Sub_Utils.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Sub_Utils.sikuli [info] IDE startup: 42.3 seconds [info] *** BE AWARE: Running on Java 8+ [info] *** Please report problems 1.1.3(2018-07-11_08:19)/Mac10.15.2/Java13(64)13.0.1+9 1.1.3(2018-07-11_08:19)/Mac10.15.2/Java13(64)13.0.1+9 Broken Links :- https://launchpad.net/sikuli/+download download icon sikulixsetup-1.1.3.jar (md5) download and run - see http://sikulix.com This link does not give instructions for 1.1.3 only 2.0.1 -- 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 #687690]: Use of a Mask
Question #687690 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687690 Status: Answered => Solved Mark McGuinn confirmed that the question is solved: Many, many thanks for the quick response which appears to have sorted out the problem. -- 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