Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240489]: trying to automate selecting date on a calendar on a webpage

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240496]: Quit in a second on osx 10.9 (Mavericks)

2013-12-09 Thread Dongxu Yang
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,

[Sikuli-driver] [Question #240511]: How same sikuli script can work with different resolutions of Android Phones

2013-12-09 Thread jitengoel
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

Re: [Sikuli-driver] [Question #240511]: How same sikuli script can work with different resolutions of Android Phones

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #233683]: Has anyone compiled Sikuli for RedHat EL 5?

2013-12-09 Thread p.elsie
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.

Re: [Sikuli-driver] [Question #233683]: Has anyone compiled Sikuli for RedHat EL 5?

2013-12-09 Thread RaiMan
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

[Sikuli-driver] [Question #240519]: Mouse not functioning from one computer to the next

2013-12-09 Thread William Dalphin
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

Re: [Sikuli-driver] [Question #240519]: Mouse not functioning from one computer to the next

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #233683]: Has anyone compiled Sikuli for RedHat EL 5?

2013-12-09 Thread p.elsie
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

Re: [Sikuli-driver] [Question #233683]: Has anyone compiled Sikuli for RedHat EL 5?

2013-12-09 Thread RaiMan
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.

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread Mark
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

Re: [Sikuli-driver] [Question #240519]: Mouse not functioning from one computer to the next

2013-12-09 Thread William Dalphin
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

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240519]: Mouse not functioning from one computer to the next

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240519]: Mouse not functioning from one computer to the next

2013-12-09 Thread William Dalphin
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

Re: [Sikuli-driver] [Question #240519]: Mouse not functioning from one computer to the next

2013-12-09 Thread RaiMan
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:

Re: [Sikuli-driver] [Question #240511]: How same sikuli script can work with different resolutions of Android Phones

2013-12-09 Thread HAL-9000
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

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread Mark
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

Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-09 Thread Ninja Mustang
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

Re: [Sikuli-driver] [Question #240547]: executable file .skl like in Sikuli's message tab and log file need help

2013-12-09 Thread Ninja Mustang
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

[Sikuli-driver] [Question #240547]: executable file .skl and log file need help

2013-12-09 Thread Ninja Mustang
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

[Sikuli-driver] [Question #240548]: Is there a way to use popup with 2 buttons?

2013-12-09 Thread Parn Yin
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

[Sikuli-driver] [Question #240549]: Why the Eclipse launch is still running after using Popup or Input

2013-12-09 Thread Parn Yin
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.

Re: [Sikuli-driver] [Question #240549]: Why the Eclipse launch is still running after using Popup or Input

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240549]: Why the Eclipse launch is still running after using Popup or Input

2013-12-09 Thread Parn Yin
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

Re: [Sikuli-driver] [Question #240548]: Is there a way to use popup with 2 buttons?

2013-12-09 Thread RaiMan
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,

Re: [Sikuli-driver] [Question #240511]: How same sikuli script can work with different resolutions of Android Phones

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240511]: How same sikuli script can work with different resolutions of Android Phones

2013-12-09 Thread RaiMan
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. ___

Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-09 Thread RaiMan
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

Re: [Sikuli-driver] [Question #240548]: Is there a way to use popup with 2 buttons?

2013-12-09 Thread RaiMan
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 ==

Re: [Sikuli-driver] [Question #240548]: Is there a way to use popup with 2 buttons?

2013-12-09 Thread Parn Yin
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