Re: [Sikuli-driver] [Question #243530]: Issue on get clipboard

2014-02-23 Thread Launchpad Janitor
Question #243530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243530

Status: Open = Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #244334]: How to catch a text generated in dropdown list

2014-02-23 Thread Eugene S
Question #244334 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244334

Status: Open = Answered

Eugene S proposed the following answer:
So, as far as I understand the problem, there might be 2 possible solutions:
 
 1. If you have the SIMILAR id generated elsewhere on the screen, you can just 
take a screenshot of it and later just to searchfor the same image later, 
when you open your dropdown menu.

 2. Try tio use the OCR features. Although it can be a headache, in some
cases you might get fairly consistent results.


Please update on your progress.

Cheers,
Eugene S

-- 
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 #244340]: can not set up successful

2014-02-23 Thread Super Zhu
Question #244340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244340

Status: Answered = Open

Super Zhu is still having a problem:

Thank you for you advice, I've settled it down.


At 2014-02-22 00:26:30,RaiMan question244...@answers.launchpad.net wrote:
Your question #244340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244340

Status: Open = Answered

RaiMan proposed the following answer:
delta all current SikuliX stuff and download the latest version of
sikuli-setup.jar

-- 
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/244340/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/244340

You received this question notification because you asked the question.

-- 
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 #244334]: How to catch a text generated in dropdown list

2014-02-23 Thread Sikulipro
Question #244334 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244334

Sikulipro posted a new comment:
Thats right  Eugene , but the problem is that id displayed in dropdown
will be change every time, and an id will generate would be a normal
text which we can copy with double and id displayed on dropdown can not
be copy .

-- 
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 #244279]: How to get variable text from application screen and store that value in Excel in Rows

2014-02-23 Thread kiran maroju
Question #244279 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244279

Status: Answered = Open

kiran maroju is still having a problem:
Eugene, 
 i want to Insert the number from screen into Excel, automatically for each 
transaction made by Sikuli tool.

Afterthat i want to compare those numbers from Excel with the numbers
displayed in in other screen.

-- 
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 #244334]: How to catch a text generated in dropdown list

2014-02-23 Thread Eugene S
Question #244334 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244334

Eugene S proposed the following answer:
So again, as I said, you can create a pattern from the first (generated) id and 
then use it to find the second one on the screen.
For example:

# locate the generated id on the screen and create a pattern
generatedID = capture(generatedIDregion)
generatedIDPattern = Pattern(generatedID)


Some code to open the dropdown menu


# once the dropdown menu is showing, search for the same pattern we created 
earlier
try:
dropDownID = find(generatedIDPattern)
dropDownID.highlight(1)


Otherwise, copy the generated ID and keep in a variable and then use OCR
to read the dropdown id. Then compare 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


[Sikuli-driver] [Question #244467]: Is that healthy to write long commands?

2014-02-23 Thread Eugene S
New question #244467 on Sikuli:
https://answers.launchpad.net/sikuli/+question/244467

Greetings,

I'm not sure whether this question is Siluli oriented or of a more general 
type. But I will try.
Ususally, when I needed to locate a pattern within specific area or relative to 
another pattern, I would follow steps that look like that (in this case I want 
to locate and lick in a button that is loctaed from right to a pattern):

1. pat = find(pattern.png)
2. pat.highlight(1)
3. patR = pat.right()
4. patR.highlight
5. but = patR.find(button.png)
6. but.highlight(1)
7. but.click()

However, it is also possible to do all this just in one line, which makes the 
code more easy to maintain. So to rewrite the above lines:

find(pattern.png).highlight(1).right().highlight(1).find(button.png).highlight(1).click()

This works perfectly but for some reason I'm not sure if that's the better way 
to do that. Can someone advise or share his opinion on such way of organizing 
the code? Is that safe/healthy or maybe more prone to errors in a way I haven't 
discovered yet?

Thanks!
Eugene S

-- 
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