Re: [Sikuli-driver] [Question #253737]: Find

2014-08-28 Thread Eugene S
Question #253737 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253737 Status: Open = Answered Eugene S proposed the following answer: As much as I am aware, both - exists() and find() have a default wait time of 3 sec. So I would expect them to work similarly. Are you

Re: [Sikuli-driver] [Question #253449]: Can any calculation be done using sikuli and coparision of two numeric values?

2014-08-25 Thread Eugene S
Question #253449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253449 Status: Open = Answered Eugene S proposed the following answer: Hi, Please take a look at this question and answer. It looks like your issue: https://answers.launchpad.net/sikuli/+question/222631

Re: [Sikuli-driver] [Question #253471]: help

2014-08-23 Thread Eugene S
Question #253471 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253471 Status: Open = Answered Eugene S proposed the following answer: Hi, Please make sure: 1. The full pattern is on the screen and nothing is blocking it or any parts of it. 2. The saved image is exactly

Re: [Sikuli-driver] [Question #253449]: Can any calculation be done using sikuli and coparision of two numeric values?

2014-08-23 Thread Eugene S
Question #253449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253449 Status: Open = Answered Eugene S proposed the following answer: Hi, Sikuli is sitting on top of Jython (unless you're using the Java jars) which means that you can fully utilize the language. So if you

Re: [Sikuli-driver] [Question #253449]: Can any calculation be done using sikuli and coparision of two numeric values?

2014-08-23 Thread Eugene S
Question #253449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253449 Status: Open = Answered Eugene S proposed the following answer: To read excel file you can use Python xlrd module which should work fine with Sikuli. You can download it here: https://pypi.python.org

Re: [Sikuli-driver] [Question #253311]: Select last item in a drop down box

2014-08-19 Thread Eugene S
Question #253311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253311 Status: Open = Answered Eugene S proposed the following answer: Hi, I see 2 possible cases here: 1. The number of menu items is constant 2. The number of menu items is changing So for the first case

Re: [Sikuli-driver] [Question #252352]: type ('/') in cmd.exe

2014-08-17 Thread Eugene S
Question #252352 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252352 Eugene S proposed the following answer: Ok, I missed the paste part so I misunderstood the question. The = : \ shouldn't be a problem for type. For typing \, you will have to exit it first, like

Re: [Sikuli-driver] [Question #253152]: how to select two images from different lists

2014-08-16 Thread Eugene S
Question #253152 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253152 Eugene S proposed the following answer: -- need to use the while because i must know if it was clicked and disapeared before i go to the next action. A normal while exists... would be to fast and generates

Re: [Sikuli-driver] [Question #253057]: Send random text everytime on chat screen

2014-08-14 Thread Eugene S
Question #253057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253057 Status: Open = Answered Eugene S proposed the following answer: So why won't you pass a new ''.join(random.sample(string.letters, num1)) to your function every time rather than saving it in a variable

Re: [Sikuli-driver] [Question #253035]: How to use Alt+space+r to restore the window screen

2014-08-14 Thread Eugene S
Question #253035 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253035 Status: Open = Answered Eugene S proposed the following answer: Hi, Try that: type(Key.SPACE, KeyModifier.ALT) waitFor(.5) type('r') -- You received this question notification because you

Re: [Sikuli-driver] [Question #253115]: Is it possible to find bold text using Sikuli?

2014-08-14 Thread Eugene S
Question #253115 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253115 Status: Open = Answered Eugene S proposed the following answer: Hi, Not sure what are you asking exactly. Theoretically, all text can be detected using the embedded Tesseract engine, however

Re: [Sikuli-driver] [Question #253115]: Is it possible to find bold text using Sikuli?

2014-08-14 Thread Eugene S
Question #253115 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253115 Status: Open = Answered Eugene S proposed the following answer: If you mean to detect which one of the words is bold - then definitely no. The detection process is tricky by itself and correct detection

Re: [Sikuli-driver] [Question #253082]: Sikuli Scripts developed in Windows8 is not working in Linux centos

2014-08-13 Thread Eugene S
Question #253082 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253082 Status: Open = Answered Eugene S proposed the following answer: Hi, Are you sure you have set the images location path properly? You can use this command to do that: setBundlePath(path-to-a-folder

Re: [Sikuli-driver] [Question #253057]: Send random text everytime on chat screen

2014-08-13 Thread Eugene S
Question #253057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253057 Status: Open = Needs information Eugene S requested more information: HI, I'm not sure where exactly your problem is. I can see that your chatmsg1 and chatmsg2 are definitely creating a random string

Re: [Sikuli-driver] [Question #245597]: How does Settings.Highlight work?

2014-08-13 Thread Eugene S
Question #245597 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245597 Linked to bug: #1293666 https://bugs.launchpad.net/bugs/1293666 [1.0.1] Settings.Highlight - highlights the pattern twice while using find(image.png) -- You received this question notification

Re: [Sikuli-driver] [Question #253080]: How to compare 2 images using Sikuli Java API?

2014-08-13 Thread Eugene S
Question #253080 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253080 Status: Open = Answered Eugene S proposed the following answer: Hi, What you get is the Match object. 'M[11,91 1049x691]@S(S(0)[0,0 1440x900]) S:0.95 Target:535,436' Where: M = Match [11,91 1049x691

Re: [Sikuli-driver] [Question #252956]: Image find failure in centralised image sikuli file

2014-08-12 Thread Eugene S
Question #252956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252956 Eugene S proposed the following answer: If you have the same image working and then not working for you, that probably means that the images are somehow different. To make sure, take a screen snapshot

Re: [Sikuli-driver] [Question #252956]: Image find failure in centralised image sikuli file

2014-08-12 Thread Eugene S
Question #252956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252956 Eugene S proposed the following answer: Unfortunately, there is no alternative to keeping different versions of patterns, as far as I'm aware. And you don't want to bring the similarity parameter below 0.9

Re: [Sikuli-driver] [Question #252980]: Is there a way to long press ALT key .

2014-08-12 Thread Eugene S
Question #252980 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252980 Status: Open = Answered Eugene S proposed the following answer: Hi, If you mean just Alt + TAB you can do that in the following manner: type(Key.TAB, KeyModifier.ALT) You can read more about

Re: [Sikuli-driver] [Question #252973]: details about coded lines

2014-08-12 Thread Eugene S
Question #252973 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252973 Status: Open = Answered Eugene S proposed the following answer: Hi, From your previous questions (below), it looks like your problem is Python more than Sikuli: https://answers.launchpad.net/sikuli

Re: [Sikuli-driver] [Question #252980]: Is there a way to long press ALT key .

2014-08-12 Thread Eugene S
Question #252980 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252980 Status: Open = Answered Eugene S proposed the following answer: Just try: keyDown(Key.ALT) type(Key.TAB) keyUp() -- You received this question notification because you are a member of Sikuli Drivers

Re: [Sikuli-driver] [Question #252999]: sikuli remote control

2014-08-12 Thread Eugene S
Question #252999 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252999 Status: Open = Needs information Eugene S requested more information: Hi, When you run it remotely, do you run it headless? Because if it is, Sikuli won't work as it needs a physical screen. -- You

Re: [Sikuli-driver] [Question #252926]: details about coded lines

2014-08-11 Thread Eugene S
Question #252926 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252926 Status: Open = Answered Eugene S proposed the following answer: Hi, Line 1: This is a definition of getInstructions function that gets inp as a parameter. I assume that inp is a file path. Line 2

Re: [Sikuli-driver] [Question #252956]: Image find failure in centralised image sikuli file

2014-08-11 Thread Eugene S
Question #252956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252956 Status: Open = Answered Eugene S proposed the following answer: Hi, That sounds strange and shouldn't be a problem. I use the same shared images repository for all my Sikuli scripts and it works

Re: [Sikuli-driver] [Question #252926]: details about coded lines

2014-08-11 Thread Eugene S
Question #252926 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252926 Eugene S posted a new comment: @RaiMan Oh wow, now I see where it's coming from :) Enjoy your vacation! I will try to help as much as my knowledge lets me. -- You received this question notification

Re: [Sikuli-driver] [Question #252744]: I have a problem while comparing the images in Sikuli

2014-08-11 Thread Eugene S
Question #252744 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252744 Eugene S requested more information: Hi, Can you please specify what's not working exactly? Cheers, Eugene -- You received this question notification because you are a member of Sikuli Drivers, which

Re: [Sikuli-driver] [Question #252956]: Image find failure in centralised image sikuli file

2014-08-11 Thread Eugene S
Question #252956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252956 Eugene S proposed the following answer: Once you set the images repository as I showed in my example you won't have to use the path each time. You will be able to use the image file name directly. I would

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread Eugene S
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 Status: Open = Answered Eugene S proposed the following answer: Hi, There are a couple of options I can think about in regards to how to find specific object from multiple similar matches however

Re: [Sikuli-driver] [Question #252621]: Automate using text not image

2014-08-04 Thread Eugene S
Question #252621 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252621 Eugene S proposed the following answer: Hi, Sikuli has this feature to find text in Region: Region.text() Prior to using it, you have to switch the search on. There are 2 separate settings for dealing

Re: [Sikuli-driver] [Question #252629]: for loop/if elif statement not working correctly

2014-08-04 Thread Eugene S
Question #252629 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252629 Status: Open = Answered Eugene S proposed the following answer: Hi, May I propose some changes into your code first? 1. Use try, except structure 2. There is no need for else clause here because you

Re: [Sikuli-driver] [Question #252546]: Script Stopping

2014-08-03 Thread Eugene S
Question #252546 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252546 Status: Open = Answered Eugene S proposed the following answer: Hi, Just 2 comments about the proposed solution: 1. If you are using Sikuli 1.0.1, you might not be able to use FindFailed exception

Re: [Sikuli-driver] [Question #252512]: How to use regions properly

2014-08-03 Thread Eugene S
Question #252512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252512 Eugene S posted a new comment: Can you post your code? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #252581]: Control Log File Output Within Sikuli

2014-08-03 Thread Eugene S
Question #252581 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252581 Status: Open = Answered Eugene S proposed the following answer: Hi, Take a look at this question (and there is one more embedded): https://answers.launchpad.net/sikuli/+question/252424 Maybe

Re: [Sikuli-driver] [Question #252512]: How to use regions properly

2014-08-02 Thread Eugene S
Question #252512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252512 Eugene S posted a new comment: @ RaiMan I completely agree with your comment. I just wanted to show the concept here but clearly, the approach you mentioned should be used for better efficiency. Eugene

Re: [Sikuli-driver] [Question #252488]: making loops and adding a counter

2014-08-01 Thread Eugene S
Question #252488 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252488 Status: Open = Answered Eugene S proposed the following answer: Hi , To do what you want, simple loop will do the job. Just enclose whatever code you have into it and add a simple counter. For example

Re: [Sikuli-driver] [Question #252511]: Run Sikuli in a Locked PC

2014-08-01 Thread Eugene S
Question #252511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252511 Status: Open = Answered Eugene S proposed the following answer: Hi, Sikuli must physically interact with objects on a screen and thus, unfortunately, it can't work on locked or headless machines

Re: [Sikuli-driver] [Question #252512]: How to use regions properly

2014-08-01 Thread Eugene S
Question #252512 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252512 Status: Open = Answered Eugene S proposed the following answer: Hi, You search should be for a region but for a pattern. First you must create screenshots of patterns you wish to detect on the screen

Re: [Sikuli-driver] [Question #252464]: Can we share the sikuli script with co workers

2014-07-31 Thread Eugene S
Question #252464 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252464 Status: Open = Answered Eugene S proposed the following answer: Hi, 1. Generally, Sikuli shouldn't fail over for no reason and its behavior is expected to be consistent. If you encounter certain

Re: [Sikuli-driver] [Question #252472]: Help! [error] Error Message: SyntaxError: Illegal character in file '' for encoding 'utf-8'

2014-07-31 Thread Eugene S
Question #252472 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252472 Status: Open = Answered Eugene S proposed the following answer: Hi, There was an issue with non-English characters in script path that were causing similar issue. Check if you have something dodgy

Re: [Sikuli-driver] [Question #252390]: changing a variable from true to false (sikuli)

2014-07-30 Thread Eugene S
Question #252390 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252390 Status: Open = Answered Eugene S proposed the following answer: Hi, Actually you don't need to use Sikuli for that purpose. As far as I understand you only need to find a line in file and rewrite

Re: [Sikuli-driver] [Question #252390]: changing a variable from true to false (sikuli)

2014-07-30 Thread Eugene S
Question #252390 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252390 Status: Open = Answered Eugene S proposed the following answer: Hi Richi, First of all, before you run any actual code, make sure you have your file backed up as this code WILL rewrite the file

Re: [Sikuli-driver] [Question #252352]: type ('/') in cmd.exe

2014-07-29 Thread Eugene S
Question #252352 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252352 Status: Open = Answered Eugene S proposed the following answer: Hi, It doesn't seem to be related to Sikuli in any way. Try asking that question on relevant QA site (like stackoverflow). Cheers

Re: [Sikuli-driver] [Question #252089]: How to copy files from one folder to another sub folders

2014-07-27 Thread Eugene S
Question #252089 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252089 Status: Open = Answered Eugene S proposed the following answer: Hi, Using Python commands will be much more reliable for files and folders copying so instead of GUI automation you might try something

Re: [Sikuli-driver] [Question #252099]: trace loops

2014-07-27 Thread Eugene S
Question #252099 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252099 Status: Open = Answered Eugene S proposed the following answer: Hi, You have couple options here: 1. Sikuli will provide some output in your command line when it runs so some things can be visible

Re: [Sikuli-driver] [Question #252116]: Get 403 error

2014-07-27 Thread Eugene S
Question #252116 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252116 Status: Open = Needs information Eugene S requested more information: Hi, When have you experience that? There was a problem with doco links a couple of days ago but was fixed. Please update. -- You

Re: [Sikuli-driver] [Question #248040]: Import Selenium into Sikuli script

2014-07-23 Thread Eugene S
Question #248040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248040 Status: Answered = Open Eugene S is still having a problem: Thanks RaiMan! I just started implementing your solution and I have 2 following issues/questions, both at the following step: -- java -cp

Re: [Sikuli-driver] [Question #251977]: how to get the image under File of any application

2014-07-22 Thread Eugene S
Question #251977 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/251977 Status: Open = Answered Eugene S proposed the following answer: Why do you have to come back to Sikuli? Just follow the procedure you wish to automate manually step by step and take a simple screenshot

Re: [Sikuli-driver] [Question #248040]: Import Selenium into Sikuli script

2014-07-22 Thread Eugene S
Question #248040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248040 Status: Answered = Open Eugene S is still having a problem: Thanks for the answer RaiMan. I agree with you completely that playing with Selenium is a bad idea. It was my last resort (just really wanted

Re: [Sikuli-driver] [Question #251932]: How to stop my script when ever a target appears

2014-07-21 Thread Eugene S
Question #251932 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/251932 Status: Open = Answered Eugene S proposed the following answer: Hi, Take a look at the Observe: http://doc.sikuli.org/region.html#observingvisualeventsinaregion As it appears in the documentation: You

Re: [Sikuli-driver] [Question #248040]: Import Selenium into Sikuli script

2014-07-21 Thread Eugene S
Question #248040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248040 Eugene S gave more information on the question: Some more investigation I have done in the last couple of hours and found couple of issues that occur in Selenium because of versions mismatch: 1. In some

Re: [Sikuli-driver] [Question #251977]: how to get the image under File of any application

2014-07-21 Thread Eugene S
Question #251977 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/251977 Status: Open = Needs information Eugene S requested more information: Hi, -- go back the the application Can you please elaborate what do you mean? Cheers, Eugene You received this question

Re: [Sikuli-driver] [Question #251977]: how to get the image under File of any application

2014-07-21 Thread Eugene S
Question #251977 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/251977 Status: Open = Answered Eugene S proposed the following answer: -- can't figure out how to catch the image of New. If you mean getting the screenshot, what about just taking a simple screenshot? You

Re: [Sikuli-driver] [Question #251791]: Sikuli - Slides run scripts sequentially

2014-07-20 Thread Eugene S
Question #251791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/251791 Status: Open = Needs information Eugene S requested more information: Hi, Can you please elaborate what exactly that you're trying to achieve? Is that just sequential PowerPoint presentation run

Re: [Sikuli-driver] [Question #248040]: Import Selenium into Sikuli script

2014-07-20 Thread Eugene S
Question #248040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248040 Status: Answered = Open Eugene S is still having a problem: Hi RaiMan, After some time I have attempted to try to import Selenium again and done what you have recommended above: 1. Copy Selenium

Re: [Sikuli-driver] [Question #248040]: Import Selenium into Sikuli script

2014-07-20 Thread Eugene S
Question #248040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248040 Eugene S gave more information on the question: Just found this question with similar issue: https://answers.launchpad.net/sikuli/+question/192180 However still not sure how to (if at all possible) to fix

Re: [Sikuli-driver] [Question #250592]: Cannot find image intermittently

2014-06-23 Thread Eugene S
Question #250592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250592 Status: Open = Answered Eugene S proposed the following answer: Hi, Generally, I see no reason Sikuli image detection will behave inconsistently. However, you might want to have a look at your script

Re: [Sikuli-driver] [Question #249864]: Test TEST

2014-06-06 Thread Eugene S
Question #249864 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249864 Status: Open = Invalid Eugene S rejected the question: This is a test -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #248604]: Sikuli logging into file

2014-05-13 Thread Eugene S
Question #248604 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248604 Status: Answered = Open Eugene S is still having a problem: Hi RaiMan, Thanks for quick answer! Did you mean that this is available in 1.0.1 or 1.1.0? I am still using 1.0.1 since I wasn't able

Re: [Sikuli-driver] [Question #248604]: Sikuli logging into file

2014-05-13 Thread Eugene S
Question #248604 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248604 Eugene S gave more information on the question: UPDATE The command name was wrong and when I changed it to: Debug.setLogFile(config.traceFile) that started working fine. So what I meant, are not just

Re: [Sikuli-driver] [Question #248604]: Sikuli logging into file

2014-05-13 Thread Eugene S
Question #248604 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248604 Status: Answered = Open Eugene S is still having a problem: Ok, now I get it. So there is absolutely no way to use Debug.log together with my own logging? I am trying to thing of some workaround

Re: [Sikuli-driver] [Question #248604]: Sikuli logging into file

2014-05-13 Thread Eugene S
Question #248604 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248604 Status: Answered = Solved Eugene S 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

Re: [Sikuli-driver] [Question #248604]: Sikuli logging into file

2014-05-13 Thread Eugene S
Question #248604 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248604 Eugene S posted a new comment: Thanks for your answer RaiMan! I was not familiar with that term (callback function). I will play with that idea and see how I can implement it. -- You received

Re: [Sikuli-driver] [Question #248545]: How to validate a particular value, whether it is displayed on a page or not.

2014-05-12 Thread Eugene S
Question #248545 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248545 Eugene S proposed the following answer: Hi, Theoretically you have 2 options: 1. Using OCR features (as suggested in the previous post). You can try to use the built in OCR features to try and detect

[Sikuli-driver] [Question #248604]: Sikuli logging into file

2014-05-12 Thread Eugene S
New question #248604 on Sikuli: https://answers.launchpad.net/sikuli/+question/248604 Hi RaiMan, This is the third time I am asking the same question. Sorry for that :) Here is the link to the last time I asked it: https://answers.launchpad.net/sikuli/+question/234625 So what I am interested

Re: [Sikuli-driver] [Question #248294]: exists doesen't seem to work inside def!!

2014-05-10 Thread Eugene S
Question #248294 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248294 Status: Open = Answered Eugene S proposed the following answer: Hi, Each time you're not sure why something was or wasn't detected on the screen, use highlight() function. Read about it here: http

Re: [Sikuli-driver] [Question #248374]: Could you please tell me is there any possible way to run sikuli script when PC got locked

2014-05-08 Thread Eugene S
Question #248374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248374 Status: Open = Answered Eugene S proposed the following answer: Hi, Take a look at these answers: https://answers.launchpad.net/sikuli/+question/152961 https://answers.launchpad.net/sikuli/+question

Re: [Sikuli-driver] [Question #248387]: sikuli start winutil problem

2014-05-08 Thread Eugene S
Question #248387 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248387 Status: Open = Answered Eugene S proposed the following answer: Hi, It is a known issue with the new version and currently under investigation. You can see it mentioned on the main page: https

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-07 Thread Eugene S
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Status: Open = Answered Eugene S proposed the following answer: Hi there, Actually there's a pretty good way to find out what was the actual similarity for each recognized image. To find that just use

Re: [Sikuli-driver] [Question #248290]: Recursive Processing of a List

2014-05-07 Thread Eugene S
Question #248290 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248290 Status: Open = Answered Eugene S proposed the following answer: Hi Joe, Happy that helps. So if your text boxes are different you can try that: 1. Create and save the images for all 3 text boxes (I

Re: [Sikuli-driver] [Question #248333]: how to do multi-line text in input function

2014-05-07 Thread Eugene S
Question #248333 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248333 Status: Open = Answered Eugene S proposed the following answer: Hi, Yes, you can just use \n to define a new line. For example something like that: name = input(This is FIRST line \nThis is SECOND

Re: [Sikuli-driver] [Question #248336]: Problem to write a txt file

2014-05-07 Thread Eugene S
Question #248336 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248336 Status: Open = Answered Eugene S proposed the following answer: Hi, I think that the issue in your New code is that you are trying to write a list type variable to a file. If that's what you are trying

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-07 Thread Eugene S
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Eugene S posted a new comment: Hi, Yes, you're right. According to my experience with Sikuli, it doesn't have any color detection mechanism so usually a color difference will not trigger any similarity

Re: [Sikuli-driver] [Question #248290]: Recursive Processing of a List

2014-05-06 Thread Eugene S
Question #248290 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248290 Status: Open = Answered Eugene S proposed the following answer: Hi, It is not very clear what are you trying to do so I would assume, according to my understanding, that you have multiple text boxes

Re: [Sikuli-driver] [Question #248294]: exists doesen't seem to work inside def!!

2014-05-06 Thread Eugene S
Question #248294 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248294 Status: Open = Answered Eugene S proposed the following answer: Hi, This is not a Sikuli but rather a Python question. You cannot directly access a variable defined inside the function. All

Re: [Sikuli-driver] [Question #248040]: Import Selenium into Sikuli script

2014-05-04 Thread Eugene S
Question #248040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248040 Status: Answered = Open Eugene S is still having a problem: Hi RaiMan, Thank you for your answer. I have just tried to do that: 1. Installed Jython (according to the official instructions) 2

[Sikuli-driver] [Question #248040]: Import Selenium into Sikuli script

2014-05-02 Thread Eugene S
New question #248040 on Sikuli: https://answers.launchpad.net/sikuli/+question/248040 Hi, I know that there are quite a few threads already concerned with using Sikuli and Selenium. The thing is that it seems that most (if not all) people use Sikuli using Eclipse and/or import Sikuli into

Re: [Sikuli-driver] [Question #248012]: Image recognition and animated buttons

2014-05-01 Thread Eugene S
Question #248012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248012 Status: Open = Answered Eugene S proposed the following answer: Hi, One of the options I can think about is to see if there any constant objects relative to the location of that button. So for example

Re: [Sikuli-driver] [Question #246309]: TextRecognizer: init: tessdata folder not found at C:/Users/fuj/Desktop/sikuli/libs/

2014-03-31 Thread Eugene S
Question #246309 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246309 Status: Open = Needs information Eugene S requested more information: Have you tried to search for similar questions? For example, these ones: https://answers.launchpad.net/sikuli/+question/234252

Re: [Sikuli-driver] [Question #246184]: Click buttons until there are none OR click away error prompt

2014-03-28 Thread Eugene S
Question #246184 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246184 Status: Open = Answered Eugene S proposed the following answer: Hi, You can try something like that: while True: wait(1) # Give some time for each button to appear if exists(button.png

Re: [Sikuli-driver] [Question #246151]: exception handling

2014-03-27 Thread Eugene S
Question #246151 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246151 Status: Open = Answered Eugene S proposed the following answer: Hi, First of all pay attention at your FindFailed as it should be with 2 capital Fs. Then there is a bug #1216338 (name 'FindFailed

Re: [Sikuli-driver] [Question #246137]: Start Sikuli scripts at a specific time

2014-03-27 Thread Eugene S
Question #246137 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246137 Status: Open = Answered Eugene S proposed the following answer: Hi, Assuming you are working under Windows OS and you are running your script from the command line (using runScript.cmd -r Test.sikuli

Re: [Sikuli-driver] [Question #246133]: mismatched input 's' expecting NEWLINE error is raised when I tried to find a region.

2014-03-27 Thread Eugene S
Question #246133 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246133 Status: Open = Answered Eugene S proposed the following answer: Hi, You get this error because, in your case, activityNametext is integer and not an object. Please read carefully the documentation

Re: [Sikuli-driver] [Question #246055]: New User, Please someone can help me with running Sikuli Scripts Continuously as a test suite

2014-03-26 Thread Eugene S
Question #246055 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246055 Status: Open = Answered Eugene S proposed the following answer: Hi, Assuming you working under Windows OS, you can use a batch file to create test sets. For example something like that: @echo off cls

Re: [Sikuli-driver] [Question #246084]: Count an image available on screen.

2014-03-26 Thread Eugene S
Question #246084 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246084 Eugene S posted a new comment: Hi, If this answers your question, please consider marking it as Solved. It makes it easier to navigate the answers and finding which ones still need to be answered. Thanks

Re: [Sikuli-driver] [Question #245951]: Can Sikuli identify text...

2014-03-24 Thread Eugene S
Question #245951 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245951 Eugene S proposed the following answer: Hi, It's not clear what you're asking: 1. Is it possible to recognize SAME text with different fonts 2. Identify that the same text was represented

Re: [Sikuli-driver] [Question #245728]: Capture the screen and store the images into a path while running the script

2014-03-19 Thread Eugene S
Question #245728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245728 Status: Open = Answered Eugene S proposed the following answer: Hi, Like I have mentioned here https://answers.launchpad.net/sikuli/+question/245693, you can create a kind of a helper function you can

Re: [Sikuli-driver] [Question #245732]: From a .sikuli how to call a parameterized method available in a different .sikuli.

2014-03-19 Thread Eugene S
Question #245732 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245732 Status: Open = Needs information Eugene S requested more information: Hi Garima, Can you please provide a bit more information on how are you attempting to do that? Thanks, Eugene -- You received

Re: [Sikuli-driver] [Question #245679]: how to tell when vertical scroll bar is no longer present

2014-03-18 Thread Eugene S
Question #245679 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245679 Status: Open = Answered Eugene S proposed the following answer: Hi, 1.Why wouldn't you just try the straight forward way? : if reg.exists(arrowImage) And change your logic accordingly. 2. If you

Re: [Sikuli-driver] [Question #245693]: Append image to RTF file from Clipboard (PRINTSCREEN)

2014-03-18 Thread Eugene S
Question #245693 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245693 Status: Open = Answered Eugene S proposed the following answer: Hi, That's one possible implementation: def takeScreenShot(imageName): img = capture(SCREEN) shutil.move(img, 'C:\\Path

Re: [Sikuli-driver] [Question #245444]: png looks like a file, but can't be found on the disk. Assume it's text.

2014-03-18 Thread Eugene S
Question #245444 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245444 Eugene S proposed the following answer: Hi, As it was mentioned, there is a newer version of Sikuli that should be used righ now. However (if this will work in older versions) you can consider

Re: [Sikuli-driver] [Question #245597]: How does Settings.Highlight work?

2014-03-17 Thread Eugene S
Question #245597 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245597 Status: Answered = Solved Eugene S confirmed that the question is solved: Hi RaiMan, I will post it. Thanks! Eugene S -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Bug 1293666] [NEW] Settings.Highlight - highlights the pattern twice while using find(image.png)

2014-03-17 Thread Eugene S
Public bug reported: Description: When setting the Settings.Highlight parameter to be True, the highlighting behaves inconsistently. Reproduction steps: 1. Set the Settings.Highlight parameter to be True 2. Run a successful find(image.png) command Expected result: The located region should be

Re: [Sikuli-driver] [Question #245465]: Working with Sliders tutorial find fails

2014-03-14 Thread Eugene S
Question #245465 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245465 Status: Open = Answered Eugene S proposed the following answer: Hi, As long as the image FULLY appears in the region you are looking in, there shouldn't be a problem. First though is to verify

Re: [Sikuli-driver] [Question #245479]: how to find and check an image

2014-03-14 Thread Eugene S
Question #245479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245479 Eugene S proposed the following answer: Hi, I recommend, each time you are not sure whether your image was located or not, use highlight(x) method. It will give you a 100% indication of the object

Re: [Sikuli-driver] [Question #245447]: Looking to copy text from a specific location in a browser

2014-03-13 Thread Eugene S
Question #245447 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245447 Status: Open = Answered Eugene S proposed the following answer: Hi, In that case I can immediately think about 2 options. Maybe there are more.. Option 1: Usually lines can be selected by triple

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-12 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Eugene S posted a new comment: Happy to help :) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-11 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Eugene S proposed the following answer: Hi Helene, I don't know whether there are differences between the Linux and Windows or Mac versions however, if you see that the same code works on Mac, then it makes

Re: [Sikuli-driver] [Question #245298]: How to handle enable/Disbale state of the button

2014-03-11 Thread Eugene S
Question #245298 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245298 Status: Open = Answered Eugene S proposed the following answer: Hi, What about creating a pattern for each one of the states and then try to find each one? For example if exists(ButtonState1.png

Re: [Sikuli-driver] [Question #245246]: find to different images then if found execute different action

2014-03-10 Thread Eugene S
Question #245246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245246 Status: Open = Answered Eugene S proposed the following answer: Hi, You can try something like that: while True: if exists(imageA.png): print image A found. going to refresh click

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-10 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Status: Open = Answered Eugene S proposed the following answer: Hi, Given you don't have any more similar radiobuttons in the SAME HORIZONTAL LINE, you can try something like that: 1. Create a pattern

<    1   2   3   4   5   >