Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 RaiMan proposed the following answer: @Mark path-to-sikuli-.jar/Lib is always in sys.path automatically, when using Sikuli's bundled Jython. So for version 1.0.1 it is path-to-setup-folder/Lib (the folder containing the setup Sikuli stuff) for RC3 c:\Program Files\Sikuli X\Lib the folder is usually not there, so it has to be created. -- 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 #240489]: trying to automate selecting date on a calendar on a webpage
Question #240489 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240489 RaiMan proposed the following answer: Eugene's suggestion is ok for now. Version 1.1 will have a repeat shortcut. For dropdown menues, you always should check, wether it accepts entering the text directly and positions at the respective entry. So for the year drop down check this after having clicked open the menu: type(2013) type(Key.ENTER) same goes for the month menu type(June) type(Key.ENTER) The date/datetime modules have appropriate functions, to evaluate these items directly from your raw date. As for the selection of the day: the day area is a regular square having 5 rows each 7 columns. So you once evaluate the geometrics of this area and then you can evaluate each click point easily: # the area on your image is 228x118 # you somehow have to evaluate this are starting form a found visual (e.g. the header containing the day names) days = Region(to be evaluated) dw = 118/5 dh = 228/5 dayOne = days.topLeft().offset(dw/2, dh/2) # e.g. day 18 day = 18 dx = day % 7 dy = day // 7 this works, where the 1st is a sunday. In other cases you have to evaluate the offset using the date functions and add it: day = 18 + offset (0 for Sunday and 6 for Saturday) dx = day % 7 dy = day // 7 then simply: click(dayOne.offset((dx-1)*dw, (dy-1)*dh) an example for another calendar: https://dl.dropboxusercontent.com/u/42895525/ddcalendar.sikuli.zip -- 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 #240496]: Quit in a second on osx 10.9 (Mavericks)
Question #240496 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240496 Status: Open = Solved Dongxu Yang confirmed that the question is solved: I have update the JDK 7. It's OK now. -- 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 #240511]: How same sikuli script can work with different resolutions of Android Phones
New question #240511 on Sikuli: https://answers.launchpad.net/sikuli/+question/240511 Hi, Need some expert advice. I have recorded a script using Sikuli and AVD (Eclipse) on one resolution device size. I want to use the same script on other AVD with different resolution and device size without any changes in script. Script is getting failed with following error: -- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) org.sikuli.script.FindFailed: FindFailed: can not find 1386574456658.png on the screen. Line 21, in file C:\Users\gur19733\AppData\Local\Temp\sikuli-tmp5666562617732725317.py Though original script work well as soon as i switch to AVD where i have recorded this. Please suggest. Regards Jiten -- 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 #240511]: How same sikuli script can work with different resolutions of Android Phones
Question #240511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240511 Status: Open = Answered RaiMan proposed the following answer: As long as on another device the captured image is rendered (visible on screen) with the same width and height in pixels, the script should work. But if the rendering process on the other device displays the image in another resolution, then usually the width and height in pixels is different and the image will no longer found by Sikuli. *** Background: Currently the image search is based on sliding the image probe (your captured image) over the base image (the search region - I guess in your case the whole screen) pixel by pixel and calculating a match score between 0 and 1 based on the comparison of the pixels of the 2 rectangles. So searching an image of 30x30 in a region of 300x300 internally results in 271 * 271 comparisons of 2 pixel areas of 30x30. *** Current solution: without any special provisions: You need a different image set for every different resolution. If you know, how the images are rendered in the different resolution, you might try to automatically setup a new image set using some graphics package like ImageMagick. Next year I will implement some standard features into version 1.2, that might help in these situations. -- 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 #233683]: Has anyone compiled Sikuli for RedHat EL 5?
Question #233683 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233683 p.elsie posted a new comment: No, I've been using Sikuli-X-1.0rc3 (r905). I'll have to do some code refactoring before I can use the new Sikuli. Maybe it's time that I do that. I'll try installing 1.0.1. Thanks for the suggestion. -- 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 #233683]: Has anyone compiled Sikuli for RedHat EL 5?
Question #233683 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233683 RaiMan posted a new comment: @p.elsie what kind of needed refactoring are you talking about? Is it a major incompatibility? -- 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 #240519]: Mouse not functioning from one computer to the next
New question #240519 on Sikuli: https://answers.launchpad.net/sikuli/+question/240519 Hi, I've got Sikuli set up on a devoted automation machine and have been using it great for months. Recently, developers asked me to set up my automation on another machine to run a script for them. I copied my Sikuli directory over to a thumbdrive complete with my scripts, and copied it onto the new machine. Sikuli and the scripts run, but the mouse cursor doesn't move on hover, click and doubleclick events. I've run the scripts in slow motion and verified that Sikuli is correctly identifying areas on the screen, but when it comes time to move the cursor and click, it just sits there. The computer I've copied the folder to has Java on it. Did I forget something else? I even redownloaded the Sikuli installation and ran it in case there were parameters it needed to mess with, but in the past, copying from one machine to another, it's just run fine for me. This is the first hiccup I've come across. I know this isn't a lot to go on, but I'm wondering if there are certain things people are aware of that could lead to Sikuli's cursor manipulation to not be functional. Administrative privileges, maybe? Any thoughts would be helpful at this point. Thank you. -- 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 #240519]: Mouse not functioning from one computer to the next
Question #240519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240519 Status: Open = Answered RaiMan proposed the following answer: What version? what system? On Windows, there are situations, where the mouse actions are blocked some how and only work, when running the stuff as admin. -- 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 #233683]: Has anyone compiled Sikuli for RedHat EL 5?
Question #233683 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233683 p.elsie posted a new comment: 1.0.1 on a clean RHEL5 installation gets me to the same point, but much quicker. /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found So I've still got to compile glibc. As for the refactoring, I've built some stuff in Java on top of Sikuli to test our application. I started with Python; but since we use Java and TestNG for our application, and Sikuli is an open source Java project, it just made sense to use Java and TestNG for testing our GUI. Things didn't work so well when I tried upgrading and I retreated back to the old version. I just haven't had time to work on migrating to the new Sikuli. As long as I don't test the Linux version of our application - which sees very little usage - everything works pretty well with what I have now. Sikuli is really sweet. Thanks for all of your contributions. -- 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 #233683]: Has anyone compiled Sikuli for RedHat EL 5?
Question #233683 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233683 RaiMan posted a new comment: ok. thanks. all the best. -- 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 #236124]: Import Lib/site-packages the same way as -i option
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Mark requested more information: Is there any way to put them in a different folder? It doesn't really make sense for me to use those folders. -- 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 #240519]: Mouse not functioning from one computer to the next
Question #240519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240519 Status: Answered = Open William Dalphin is still having a problem: Both systems are Windows 7 Professional, 64-bit. I checked and it turns out I am logged in as admin on both systems, so I don't know if it's an administrative privilege issue anymore. I'm never prompted to allow permission for anything to happen on either system. This is happening with a script as simple as: hover([image name], (coordinates)) On my automation machine, the script will locate the image and move the mouse over it. On two different machines of the same make/model/operating system (DELL PRECISION T3500, Windows 7 Professional 64-bit), the script will locate the image, but not move the mouse, nor click it. I'm running Sikuli IDE 1.0.1, installed with option 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 #236124]: Import Lib/site-packages the same way as -i option
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 RaiMan proposed the following answer: @Mark You might try JYTHONPATH environment variable, since we are running Jython not Python. -- 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 #240519]: Mouse not functioning from one computer to the next
Question #240519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240519 Status: Open = Needs information RaiMan requested more information: What about the Java version/installation? The same too? -- 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 #240519]: Mouse not functioning from one computer to the next
Question #240519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240519 Status: Needs information = Open William Dalphin gave more information on the question: On my automation machine, the one that works, I have Java 6, Update 17. The first machine that failed to run the script also had Java 6, but Update 23. The second machine I tried and failed on, I had to install Java, so I got Java 7 (whatever is current from their page). -- 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 #240519]: Mouse not functioning from one computer to the next
Question #240519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240519 Status: Open = Answered RaiMan proposed the following answer: Ok. No idea. on a failing machine having Java 7 run a failing script (might be the one liner above) and run it from command line using: path\runIDE.cmd -d 3 -c -r script.sikuli This should produce a log file. Send it silently to my mail at https://launchpad.net/~raimund-hocke -- 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 #240511]: How same sikuli script can work with different resolutions of Android Phones
Question #240511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240511 HAL-9000 posted a new comment: If you are scripting to target Android emulators there are a couple things to remember: Display Scaling: Screen Size, Scale, and Monitor DPI all appear in making Android emulator. Hence two emulators can have the same screen size, yet appear totally different on the computer monitor. However, so long as Monitor DPI and Scaling values are the same, the icons etc. should appear the same on the computer monitor no matter the 'screen size' of the Emulator. Scaling to Whole Integers: Scaling is important in Android emulators. You always want the Scale to div a whole integer into the screen size. 1 is obviously perfect, but 0.5 is always perfect as well (every X,Y of monitor resolution always can always div 2). So, if you're hypothetical emulator is 320x640, with a scaling factor of 0.5 the on-screen res of that emulator will be 640x1280 - note the numbers guarantee the pixels will be addressed to real monitor pixels perfectly. If the Scale factor cannot divide as a whole integer, the emulator display aliases the pixels, which makes the graphics different, and breaks Sikuli. It also places unnecessary clock cycles on the host machine aliasing all those pixels. -- 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 #236124]: Import Lib/site-packages the same way as -i option
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Mark posted a new comment: Thanks RaiMan, using the (user) Environment variable 'JYTHONPATH' worked. -- 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 #240547]: get log file like in Sikuli's message tab and save it to a file need help
Question #240547 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240547 Summary changed to: get log file like in Sikuli's message tab and save it to a file need 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 #240547]: executable file .skl like in Sikuli's message tab and log file need help
Question #240547 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240547 Summary changed to: executable file .skl like in Sikuli's message tab and log file need help Description changed to: Hello, How do I log all the message tab in Sikuli to a file? Say I have a simple executable file, click.skl My script wait(add.png) click(add.png) wait(1) click(close.png) print 'Ok' In the Sikuli IDE, it would have log of the position of x,y for the 2 clicks I made, and OK from the print line I'd like to log all the stuff just like in the message tab of Sikuli -- 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 #240547]: executable file .skl and log file need help
New question #240547 on Sikuli: https://answers.launchpad.net/sikuli/+question/240547 Hello, How do I log all the message tabe in Sikuli to a file? Say I have a simple executable file, click.skl My script wait(add.png) click(add.png) wait(1) click(close.png) print 'Ok' In the Sikuli IDE, it would have log of the position of x,y for the 2 clicks I made, and OK from the print line I'd like to log all the stuff just like in the message tab of Sikuli -- 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 #240548]: Is there a way to use popup with 2 buttons?
New question #240548 on Sikuli: https://answers.launchpad.net/sikuli/+question/240548 What I want now is: display a multi-lines message of settings and then ask user whether continue or not. I know popup(text[, title]) can display a dialog box with OK button, but it seems that it can't display 2 buttons for choosing. I know using input([text][, default]) can provide 2 buttons, but this dialog may make users confused. Because it's a dialog box for inputting and its title Input can't be changed. http://doc.sikuli.org/globals.html#interacting-with-the-user Excuse me, is there a way to use popup with 2 buttons? If not, will this feature be added into a new version of Sikuli? Thank you. -- 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 #240549]: Why the Eclipse launch is still running after using Popup or Input
New question #240549 on Sikuli: https://answers.launchpad.net/sikuli/+question/240549 If using Sikuli's Popup or Input in the code, when run the code in Eclipse, even all the codes have been run, launch process is still there. [Steps to Reproduce] 1. create an empty PyDev module in Eclipse. 2. Enter this snippet: from sikuli import * input(cat) 3. Save and run. 4. Click OK or Cance in the displayed dialog box. [Actual Result] Launch process is still there. Need to terminate it manually. Using this snippet get the same result: from sikuli import * popup(cat) Excuse me, did I set something wrong? Is there a way to fix 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
Re: [Sikuli-driver] [Question #240549]: Why the Eclipse launch is still running after using Popup or Input
Question #240549 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240549 Status: Open = Needs information RaiMan requested more information: use exit() to terminate the script. if you just run from sikuli import * ... will the launch process terminate then? -- 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 #240549]: Why the Eclipse launch is still running after using Popup or Input
Question #240549 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240549 Status: Needs information = Solved Parn Yin confirmed that the question is solved: Using exit() works! Thank you RaiMan! --- just run the line from sikuli import * is ok, the launch process terminate automatically. Except the popup and the input, using other codes of Sikuli is ok too. maybe there is a hidden bug, maybe it's just because of my environment. FYI, my Eclipse version: Kepler Service Release 1 my PyDev version: 3.0.0.201311051910 -- 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 #240548]: Is there a way to use popup with 2 buttons?
Question #240548 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240548 Status: Open = Answered RaiMan proposed the following answer: The Java feature behind popup and input is JOptionPane. To use it in Python: import javax.swing.JOptionPane as JO def myInput (title, msg): ret = JO.showConfirmDialog(null, msg, title, JO.YES_NO_OPTION); if (ret == JO.CLOSED_OPTION or ret == JO.NO_OPTION) { return false; } return true; for more variants: http://docs.oracle.com/javase/7/docs/api/javax/swing/JOptionPane.html -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #240511]: How same sikuli script can work with different resolutions of Android Phones
Question #240511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240511 RaiMan posted a new comment: @HAL 9000 thanks for this perfect explanation and advice -- 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 #240511]: How same sikuli script can work with different resolutions of Android Phones
Question #240511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240511 Assignee: None = RaiMan -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help
Question #240547 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240547 Status: Open = Answered RaiMan proposed the following answer: the easiest way to get ALL output, that goes to the message area in IDE, to a file: run your script from command line as path\runIde.cmd -r path\myscript.sikuli myscript-log.txt -- 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 #240547]: get log file like in Sikuli's message tab and save it to a file need help
Question #240547 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240547 RaiMan proposed the following answer: ... all other possibilities (log file option, user logs, ...) require changes to your script coding. -- 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 #240548]: Is there a way to use popup with 2 buttons?
Question #240548 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240548 RaiMan proposed the following answer: ... again as real Python ;-) def myInput (title, msg): ret = JO.showConfirmDialog(null, msg, title, JO.YES_NO_OPTION) if ret == JO.CLOSED_OPTION or ret == JO.NO_OPTION: return False return True -- 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 #240548]: Is there a way to use popup with 2 buttons?
Question #240548 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240548 Status: Answered = Solved Parn Yin confirmed that the question is solved: Thank you my mentor RaiMan! Works! as real Python :) null in the code above should be replaced by None. -- 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