[Sikuli-driver] [Question #272929]: observe an event in background

2015-10-24 Thread deva
New question #272929 on Sikuli: https://answers.launchpad.net/sikuli/+question/272929 i tried observer with below code. but i didn't get solution what i expected. i need to do observe action in background. code: def myH(e): popup("Hallo") stopObserver() onAppear(img, myH) popup("Start")

[Sikuli-driver] [Question #271751]: Where to get sikuli-script.jar to run Jython .py from Java

2015-09-24 Thread deva
New question #271751 on Sikuli: https://answers.launchpad.net/sikuli/+question/271751 Hi, Where to get sikuli-script.jar to run Jython .py from Java? I am getting the following error as seen below, Exception in thread "main" Traceback (most recent call last): File "", line 1, in File

Re: [Sikuli-driver] [Question #271751]: Where to get sikuli-script.jar to run Jython .py from Java

2015-09-24 Thread deva
Question #271751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271751 deva posted a new comment: I followed Raiman's solution as seen here https://answers.launchpad.net/sikuli/+question/253810 -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #271751]: Where to get sikuli-script.jar to run Jython .py from Java

2015-09-24 Thread deva
Question #271751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271751 deva gave more information on the question: But getting this error when i used Sikuli-ide.jar in java lib java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: sikuli (wrong name: Sikuli) -- You

Re: [Sikuli-driver] [Question #271751]: Where to get sikuli-script.jar to run Jython .py from Java

2015-09-24 Thread deva
Question #271751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271751 Status: Answered => Open deva is still having a problem: i tried with Sikuli 1.1 . but i got the same kind of error.. ERROR: console: Failed to inst

[Sikuli-driver] [Question #271654]: steps to build sikuli API jar from source

2015-09-22 Thread deva
New question #271654 on Sikuli: https://answers.launchpad.net/sikuli/+question/271654 steps to build sikuli API jar from source can you please point me to the right documentation -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

[Sikuli-driver] [Question #261797]: mouse hover and make region

2015-02-07 Thread deva
New question #261797 on Sikuli: https://answers.launchpad.net/sikuli/+question/261797 Hi, i have to create region when i select box. There is list of boxes. when i hover a box , color of the outer line of the box is changed. so now i want to make a region for the box i hovered. *the

Re: [Sikuli-driver] [Question #261508]: run .skl file using batch file

2015-02-04 Thread deva
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 Status: Open = Solved deva confirmed that the question is solved: Thanks Raiman .. Thats working That solved my problem... -- You received this question notification because you are a member

Re: [Sikuli-driver] [Question #261508]: run .skl file using batch file

2015-02-03 Thread deva
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

Re: [Sikuli-driver] [Question #261508]: run .skl file using batch file

2015-02-03 Thread deva
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

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-02-03 Thread deva
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

Re: [Sikuli-driver] [Question #261508]: run .skl file using batch file

2015-02-03 Thread deva
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

Re: [Sikuli-driver] [Question #261508]: run .skl file using batch file

2015-02-03 Thread deva
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

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-02-01 Thread deva
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Answered = Open deva is still having a problem: Thanks for your answer. i have to handle another case that 2nd image matches top and bottom. so i have to choose above only. please help

Re: [Sikuli-driver] [Question #261508]: run .skl file using batch file

2015-02-01 Thread deva
Question #261508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261508 deva gave more information on the question: Hi, @ECHO OFF start /i /b /wait D:\sikuli\runIDE.cmd -r path_to_my.skl i used the above code to run .skl file of sikuli version 1.1 using batch file. but i got

Re: [Sikuli-driver] [Question #243242]: Is it possible to convert a .skl file to a .exe file?

2015-01-31 Thread deva
Question #243242 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/243242 deva posted a new comment: Hi RaiMan i am using sikuli version 1.1.0. i want to create batch file to run .skl file. could you help on it! -- You received this question notification because you

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-01-31 Thread deva
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Description changed to: I can create region with reference of one image Ex: p =exists(img1.png) pr = Region(p.x - 461, p.y - 1, p.w + 464, p.h + 454) But now i want to create region with reference of two

[Sikuli-driver] [Question #261468]: Region with reference of two images

2015-01-31 Thread deva
New question #261468 on Sikuli: https://answers.launchpad.net/sikuli/+question/261468 I can create region with reference of one image Ex: p =s.exists(img1.png) pr = Region(p.x - 461, p.y - 1, p.w + 464, p.h + 454) But now i want to create region with reference of two image. i have one image

[Sikuli-driver] [Question #261508]: run .skl file using batch file

2015-01-31 Thread deva
New question #261508 on Sikuli: https://answers.launchpad.net/sikuli/+question/261508 Hi, Raiman 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

Re: [Sikuli-driver] [Question #224814]: Sikuli Java API: There is an error when running HelloWorldExample

2014-12-18 Thread deva
Question #224814 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/224814 deva proposed the following answer: Hi, i am facing the same issue with sikuli-api.standalone - 1.0.3-Pre-1.jar in 32 bit machine (Windows) Could you help on this? -- You received this question

Re: [Sikuli-driver] [Question #224814]: Sikuli Java API: There is an error when running HelloWorldExample

2014-12-18 Thread deva
Question #224814 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/224814 deva requested more information: Hi, i am facing the same issue with sikuli-api.standalone - 1.0.3-Pre-1.jar in 32 bit machine (Windows) Could you help on this? -- You received this question notification

Re: [Sikuli-driver] [Question #182624]: Is there any way to find a text on screen without using image?

2014-12-07 Thread deva
Question #182624 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/182624 deva requested more information: Hi, I want to assign Some Text into a variable and then I want to find this Some Text text pattern on the screen without using image. could you help on it ? -- You

Re: [Sikuli-driver] [Question #182624]: Is there any way to find a text on screen without using image?

2014-12-07 Thread deva
Question #182624 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/182624 deva proposed the following answer: Hi, I want to assign Some Text into a variable and then I want to find this Some Text text pattern on the screen without using image. could you help on it ? -- You

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-12-04 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Open = Solved deva confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-12-04 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered = Open deva is still having a problem: My sample code is: selenium.open(URL); Pattern img = new Pattern(img-path); screen.click(img

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-30 Thread deva
Question #258394 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258394 deva posted a new comment: Thanks! Its working. can i increase scaleFactor beyond 0.99 ? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Needs information = Open deva gave more information on the question: I tried the below code in sikuli IDE 1.1.0 f = Finder(C:\Users\Admin\Desktop\FullScreenWebpage.png) img = iconToFind.png mm

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered = Open deva is still having a problem: Thanks! i tried to write the same code in java. but i struck here: for m in mm: print m s = baseImg.getSub(m.x, m.y, 50, 50).asFile

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered = Open deva is still having a problem: I tried as you suggested. it is not working. i couldn't save the images. also i want to get text of sub image. i can get text of sub image

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 deva gave more information on the question: text recognition is working in java. When i used the below code Settings.OcrTextRead = true; Settings.OcrTextSearch = true; I can

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered = Open deva is still having a problem: Thanks! But i got only one image (someFile.png) in TargetPath -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread deva
Question #258394 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258394 deva requested more information: tried the below code: imgWithText = Image.create(C:\Users\Admin\Desktop\resizeimg.png) # creates in memory image of the given region ar= imgWithText.resize(0.33) # resizes

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread deva
Question #258394 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258394 deva posted a new comment: Sorry RaiMan . still it is throwing the same ERROR. imgWithText = Image.create(C:\Users\Admin\Desktop\resizeimg.png) ar= Image(imgWithText.resize(0.33)) s = ar.text() print s

[Sikuli-driver] [Question #258409]: find x, y position of the found OCR Text

2014-11-29 Thread deva
New question #258409 on Sikuli: https://answers.launchpad.net/sikuli/+question/258409 how to find the x,y position(s) of the found OCR Text? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-28 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Solved = Open deva is still having a problem: Thanks for your prompt reply! I tried with finder as you suggested. but i got the below error, Region(779,7404,103,13) outside any screen

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-28 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Needs information = Open deva gave more information on the question: we use Sikuli v1.0.1 -CODE START import shutil f = Finder(C:\Users\Admin

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-28 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered = Open deva is still having a problem: Could you please tell me how to resolve the below error? [error] NameError ( name 'Image' is not defined ) -- You received this question

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-28 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered = Solved deva confirmed that the question is solved: Thanks for your information! I tried the same in sikuli IDE 1.1.0 . but i got the below ERROR [error] AttributeError ( 'unicode

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-28 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Solved = Open deva is still having a problem: Thanks for your information! I tried the same in sikuli IDE 1.1.0 . but i got the below ERROR [error] AttributeError ( 'unicode' object has

[Sikuli-driver] [Question #258340]: find images inside full screen rather than inside region

2014-11-27 Thread deva
New question #258340 on Sikuli: https://answers.launchpad.net/sikuli/+question/258340 find all images inside the screen shot without using region and capture the image what we are trying to find inside the screen shot -- You received this question notification because you are a member of

Re: [Sikuli-driver] [Question #258340]: How to use siluli operations on Image (UNLIKE Screen Region)

2014-11-27 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Summary changed to: How to use siluli operations on Image (UNLIKE Screen Region) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for

Re: [Sikuli-driver] [Question #258340]: How to use kiluli operations on Image (UNLIKE Screen Region)

2014-11-27 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Summary changed to: How to use kiluli operations on Image (UNLIKE Screen Region) Description changed to: we found our machine too slow, for region captures on large webpages( with lots of pagedowns) could

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-27 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered = Solved deva confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers