Re: [Sikuli-driver] [Question #200098]: How to validate captured screen using sikuli

2012-06-13 Thread manas
Question #200098 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200098 Status: Answered = Solved manas confirmed that the question is solved: Thanks for the valuable information -- You received this question notification because you are a member of Sikuli Drivers, which

[Sikuli-driver] [Question #200273]: finFinding a match even if there is not a match in that position

2012-06-13 Thread manas
New question #200273 on Sikuli: https://answers.launchpad.net/sikuli/+question/200273 Whenever I try to use pattern matching methods like find() or exists() with screenshot that consists of icon eg HD. It seems to always result in finding a match even if that icon is not at that particular

Re: [Sikuli-driver] [Question #194353]: How to pass arguments to Sikuli script run without the IDE

2012-06-13 Thread RaiMan
Question #194353 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/194353 RaiMan proposed the following answer: @ Human (or even mankind ;-) When asking questions as comments to questions, you should subscribe to the question (done it for you ;-) or post your own question. see:

[Sikuli-driver] [Question #200275]: import win32gui

2012-06-13 Thread vidya rajagopal
New question #200275 on Sikuli: https://answers.launchpad.net/sikuli/+question/200275 Hi I want to import win32 class such win32gui in sikuli. I saw a document in sikuli website http://sikuli.org/docx/ = Sikuli: Using GUI Screenshots for Search and Automation, UIST 2009 (PDF). page 8 where

[Sikuli-driver] [Question #200274]: import win32gui

2012-06-13 Thread vidya rajagopal
New question #200274 on Sikuli: https://answers.launchpad.net/sikuli/+question/200274 Hi I want to import win32 class such win32gui in sikuli. I saw a document in sikuli website http://sikuli.org/docx/ = Sikuli: Using GUI Screenshots for Search and Automation, UIST 2009 (PDF). page 8 where

Re: [Sikuli-driver] [Question #200244]: __main__ changing after using sikuli in python script

2012-06-13 Thread RaiMan
Question #200244 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200244 Status: Open = Answered RaiMan proposed the following answer: I confirm this behavior. This happens, if a new Region object is created by the so called spatial operators (docs:

[Sikuli-driver] [Question #200281]: screenshot compare in java

2012-06-13 Thread emrah kara
New question #200281 on Sikuli: https://answers.launchpad.net/sikuli/+question/200281 i want to make twi screenshots with 10 seconds difference, to test if there is some changes on the website. What is the best way to compare to screenshots to see if they are the same or not? i used

Re: [Sikuli-driver] [Question #200244]: __main__ changes after using Region.spatialOperators() (right(), below(), ...)

2012-06-13 Thread RaiMan
Question #200244 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200244 Summary changed to: __main__ changes after using Region.spatialOperators() (right(), below(), ...) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #200281]: screenshot compare in java

2012-06-13 Thread emrah kara
Question #200281 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200281 Status: Open = Solved emrah kara confirmed that the question is solved: i have a solution now. ImageIO.write(new Screen().capture().getImage(),jpg,new File(testImages/,i+.jpg)); BufferedImage image1 =

Re: [Sikuli-driver] [Question #200247]: Using findAll(), a 1 pixel image with 1 minSimilarity gives infinite duplicate matches at the same location?

2012-06-13 Thread RaiMan
Question #200247 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200247 Status: Open = Answered RaiMan proposed the following answer: --1. confirmed My tests on my Mac showed the same behavior (newest version r930/r931, locally built as 64-Bit) I tested with one red pixel

Re: [Sikuli-driver] [Question #200257]: Getting Monitor Specs rates

2012-06-13 Thread RaiMan
Question #200257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200257 Status: Open = Answered RaiMan proposed the following answer: Have a look at the Java AWT Robot class and the device specific classes around it. You can use them in Sikuli scripts easily and anyway in

Re: [Sikuli-driver] [Question #200273]: Finding a match even if there is not a match in that position

2012-06-13 Thread RaiMan
Question #200273 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200273 Status: Open = Answered RaiMan proposed the following answer: Already had a look at the docs. It contains much valuable information about Sikuli's features and its usage. In your case I guess it is a

Re: [Sikuli-driver] [Question #200274]: import win32gui

2012-06-13 Thread RaiMan
Question #200274 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200274 Status: Open = Invalid RaiMan changed the question status: doubled by user -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #198796]: Fedora 15 - libVisionProxy.so: libml.so.2.1

2012-06-13 Thread RaiMan
Question #198796 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/198796 RaiMan proposed the following answer: I guess you need some dev package of OpenCV (include/sources) additionally to the binaries. I guess you know: should be 2.1 on the first run. -- You received this

Re: [Sikuli-driver] [Question #199533]: Running Sikuli Scripts from Schedular

2012-06-13 Thread RaiMan
Question #199533 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/199533 Status: Open = Needs information RaiMan requested more information: If you want, you can zip all relevant stuff together in one file and mail it to me (@ see https://launchpad.net/~raimund-hocke) --

Re: [Sikuli-driver] [Question #200275]: import win32gui - not possible, is C-Python

2012-06-13 Thread RaiMan
Question #200275 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200275 Summary changed to: import win32gui - not possible, is C-Python -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #200275]: import win32gui - not possible, is C-Python

2012-06-13 Thread RaiMan
Question #200275 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200275 Status: Open = Answered RaiMan proposed the following answer: This is a C-based Python module, that cannot be used in Sikuli/Jython. No easy alternative available. -- You received this question

Re: [Sikuli-driver] [Question #200266]: Can Sikuli scripr run on different machine

2012-06-13 Thread RaiMan
Question #200266 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200266 Status: Open = Answered RaiMan proposed the following answer: -- 1. resolution ... ... does not matter as long as the per pixel information is the same on different systems. width and height in pixels

Re: [Sikuli-driver] [Question #200247]: Using findAll(), a 1 pixel image with 1 minSimilarity gives infinite duplicate matches at the same location?

2012-06-13 Thread Abel Smith
Question #200247 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200247 Abel Smith posted a new comment: RaiMan, thank you so much for going to all the effort you did -- you're really quite an unbelievable contributor here, I don't know where you get the time energy :) I had

Re: [Sikuli-driver] [Question #200247]: Using findAll(), a 1 pixel image with 1 minSimilarity gives infinite duplicate matches at the same location?

2012-06-13 Thread RaiMan
Question #200247 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200247 RaiMan proposed the following answer: Thanks for the kind feedback. --- Robot I only used it to show the actual color of the matched pixel. To use it to check every pixel on the screen, does not make sense

Re: [Sikuli-driver] [Question #200247]: Using findAll(), a 1 pixel image with 1 minSimilarity gives infinite duplicate matches at the same location?

2012-06-13 Thread RaiMan
Question #200247 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200247 Status: Answered = Solved RaiMan changed the question status: will be converted to a bug -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #200257]: Getting Monitor Specs rates

2012-06-13 Thread Tim Tindell
Question #200257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200257 Status: Answered = Solved Tim Tindell confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #200257]: Getting Monitor Specs rates

2012-06-13 Thread Tim Tindell
Question #200257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200257 Tim Tindell posted a new comment: So I didn't use Robot. That didn't seem to have what I wanted. I used DisplayMode,GraphicsDevice, and GraphicsEnvironment to get the job done. I wrote it in a definition to

[Sikuli-driver] [Question #200321]: Stop processing key action

2012-06-13 Thread manas
New question #200321 on Sikuli: https://answers.launchpad.net/sikuli/+question/200321 As we know we can control application via VNC. When i access the application using VNC if someone else using the same application in that machine. I want to stop my further key action until application used by

Re: [Sikuli-driver] [Question #200257]: Getting Monitor Specs rates

2012-06-13 Thread RaiMan
Question #200257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200257 RaiMan posted a new comment: Exactly :-) Well done :-) BTW: that's what I meant with ... and the device specific classes around it -- You received this question notification because you are a member of

Re: [Sikuli-driver] [Question #200190]: VMWare: Windows in VM: Mouse commands are not reliable.

2012-06-13 Thread RaiMan
Question #200190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200190 Summary changed to: VMWare: Windows in VM: Mouse commands are not reliable. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

[Sikuli-driver] [Question #200323]: How to handle state of a particular image?

2012-06-13 Thread Michel Aubinais
New question #200323 on Sikuli: https://answers.launchpad.net/sikuli/+question/200323 I want to click the specific object (as a circular button) depending on his state. The object is changing after clicking on it, takes his disable state. It is the same image but grey. With my actual script,

Re: [Sikuli-driver] [Question #200321]: Stop processing key action

2012-06-13 Thread RaiMan
Question #200321 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200321 Status: Open = Answered RaiMan proposed the following answer: Someone else already tried that with some Java programs using Sikuli, by halting the main thread from an observing subthread (I have no idea

Re: [Sikuli-driver] [Question #200323]: How to handle state of a particular image?

2012-06-13 Thread RaiMan
Question #200323 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200323 Status: Open = Answered RaiMan proposed the following answer: The only way to distinguish images, that are found at the same location, but with different color/brightness/contrast/... is to use the

Re: [Sikuli-driver] [Question #200244]: __main__ changes after using Region.spatialOperators() (right(), below(), ...)

2012-06-13 Thread j
Question #200244 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200244 Status: Answered = Solved j confirmed that the question is solved: The example above is just a simplified version of the code I'm actually using. In my script I used import sikuli.Sikuli as sikuli

Re: [Sikuli-driver] [Question #200244]: __main__ changes after using Region.spatialOperators() (right(), below(), ...)

2012-06-13 Thread RaiMan
Question #200244 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200244 RaiMan posted a new comment: Thanks for feedback: Since you are j-the-k, I already thought about that background ;-) But this is much easier if you only want to overwrite the unqualified method calls: from

Re: [Sikuli-driver] [Question #198796]: Fedora 15 - libVisionProxy.so: libml.so.2.1

2012-06-13 Thread ryan
Question #198796 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/198796 ryan posted a new comment: No I did not know OpenCV *needs* to be 2.1 on the first run. I don't believe this is documented anywhere. Thanks for the tip. I will try this and let you know how it goes. --

Re: [Sikuli-driver] [Question #200281]: screenshot compare in java

2012-06-13 Thread j
Question #200281 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200281 j posted a new comment: This is a little over the top... I think you can simplify this with Sikuli's observe function, here's an example: def doOnChange(event): # do something when the screen changes

Re: [Sikuli-driver] [Question #200281]: screenshot compare in java

2012-06-13 Thread RaiMan
Question #200281 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200281 RaiMan posted a new comment: @ j-the-k principally this is the simplest way to do something like that. But: - he seems to want to save the screenshots to files - it is Java, that he uses (there are some

Re: [Sikuli-driver] [Question #200321]: Stop processing key action

2012-06-13 Thread manas
Question #200321 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200321 Status: Answered = Solved manas confirmed that the question is solved: I can check , user has taken over when mouse movement is not happening. -- You received this question notification because you

Re: [Sikuli-driver] [Question #200273]: Finding a match even if there is not a match in that position

2012-06-13 Thread RaiMan
Question #200273 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200273 Status: Open = Answered RaiMan proposed the following answer: easiest way is to write the position (match information) to a file and read it again later. There is no feature in Sikuli currently, to

Re: [Sikuli-driver] [Question #200273]: Finding a match even if there is not a match in that position

2012-06-13 Thread manas
Question #200273 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200273 Status: Answered = Open manas is still having a problem: May i know the what he has written or do you know what code he has written? -- You received this question notification because you are a member

[Sikuli-driver] [Question #200342]: How to Include common image files and run it from the Sikuli IDE

2012-06-13 Thread David Lazorchak
New question #200342 on Sikuli: https://answers.launchpad.net/sikuli/+question/200342 We are running our scripts from the command line using a script It collects script passed to it and does some setup and runs it ./sikuli-jar.sh test.sikuli We have a common image file that works with the

[Sikuli-driver] [Question #200354]: findAll function is not returning any results though match preview indicates it should

2012-06-13 Thread Michel Aubinais
New question #200354 on Sikuli: https://answers.launchpad.net/sikuli/+question/200354 I am currently writing a script where the object is to find a certain image on a page. Once the image is found, the page resets and it needs to find this image again. Because the image is quite small, sikuli

Re: [Sikuli-driver] [Question #200244]: __main__ changes after using Region.spatialOperators() (right(), below(), ...)

2012-06-13 Thread j
Question #200244 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200244 j posted a new comment: Yes I guess you are right, that would work, too. I will change my script to import everything like you suggested. -- You received this question notification because you are a

Re: [Sikuli-driver] [Question #200281]: screenshot compare in java

2012-06-13 Thread j
Question #200281 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200281 j posted a new comment: sorry, it hast to be hasChanged = dict[img2] != dict[img1] of course. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #200281]: screenshot compare in java

2012-06-13 Thread j
Question #200281 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200281 j posted a new comment: Sorry, I missed that you use java only. Still, if a pixel-exact comparison is not neccessary, you can maybe use libCV somehow. Another possibilty would be to use a vdict object if

[Sikuli-driver] [Bug 1012875] [NEW] Sikuli Multi-user issue linux

2012-06-13 Thread YeTr2
Public bug reported: Sikuli fails to behave properly on linux multi-user systems with many people trying to operate sikuli at the same time. Files being placed in /tmp are not placed in unique directories, so when different users running different versions of sikuli decide to try and do their

Re: [Sikuli-driver] [Question #198796]: Fedora 15 - libVisionProxy.so: libml.so.2.1

2012-06-13 Thread ryan
Question #198796 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/198796 ryan posted a new comment: I give up. Sikuli will not work on Fedora as long as it needs OpenCV 2.1. Sikuli needs to be updated do it uses updated libraries and dependencies. While trying to make/build

[Sikuli-driver] [Question #200374]: How do you change the app focus when taking a screenshot?

2012-06-13 Thread Kyle VandenLangenberg
New question #200374 on Sikuli: https://answers.launchpad.net/sikuli/+question/200374 So this is probably a simple issue, but I can't seem to get around it. So I want to take a screenshot of something like Firefox, the entire application. Im doing this as a wait command. So I want to start