Re: [Sikuli-driver] [Question #676498]: Copy a text after a search

2018-12-01 Thread charliedaps
Question #676498 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676498

charliedaps gave more information on the question:
Hello,

Thank you for your answer and help.

In fact, I do not know how to make python or sikuli select some of the
text.

I do a search "image" that finds in the code of a page

So "image" will be found but I want it to be the continuation of the
code that is after the word "image" that is copied.

How can I tell sikuli to take the characters after the word "image" and
stop at the end of the sentence?

Thank you

-- 
You received this question notification because your team Sikuli Drivers
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 #676508]: findAll no longer working correctly

2018-12-01 Thread alex
Question #676508 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676508

Description changed to:
So far I have been using findAll without any issues.
But since I switched to version 1.14 of SikuliX it often fails to find all 
instances of an image.

I am running the same script (with the exception of having a region) on the 
same UI as I did with earlier versions where it worked flawlessly.
But now my loop

for x in reg.findAll(image.png)
reg.click(x)

often fails to click on all instances of the image. It usually omits 1-2
instance out of 4-5 on screen. On the screen, the images are all within
the defined region reg.

Edit: tried again without a region. Still the same issue

-- 
You received this question notification because your team Sikuli Drivers
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 #676508]: findAll no longer working correctly

2018-12-01 Thread alex
Question #676508 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676508

Description changed to:
So far I have been using findAll without any issues.
But since I switched to version 1.14 of SikuliX it often fails to find all 
instances of an image.

I am running the same script (with the exception of having a region) on the 
same UI as I did with earlier versions where it worked flawlessly.
But now my loop

for x in reg.findAll(image.png)
reg.click(x)

often fails to click on all instances of the image. It usually omits 1-2
instance out of 4-5 on screen. On the screen, the images are all within
the defined region reg.

-- 
You received this question notification because your team Sikuli Drivers
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 #676508]: findAll no longer working correctly

2018-12-01 Thread alex
Question #676508 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676508

Description changed to:
So far I have been using findAll without any issues.
But since I switched to version 1.14 of SikuliX it often fails to find all 
instances of an image.

I am running the same script (with the exception of having a region) on the 
same UI as I did with earlier versions where it worked flawlessly.
But now my loop

for x in reg.findAll(image.png)
reg.click(x)

often fails to click on all instances of the image. It usually omits 1
instance out of 4-5 on screen. On the screen, the images are all within
the defined region reg.

-- 
You received this question notification because your team Sikuli Drivers
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 #676508]: findAll no longer working correctly

2018-12-01 Thread alex
New question #676508 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676508

So far I have been using findAll without any issues.
But since I switched to version 1.14 of SikuliX it often fails to find all 
instances of an image.

I am running the same script (with the exception of having a region) on the 
same UI as I did with earlier versions where it worked flawlessly.
But now my loop

for x in reg.findAll(image.png)
reg.click(x)

often fails to click on all instances of the image. It usually omits 1-2 
instances out of 5 on screen. On the screen, the images are all within the 
defined region reg.

-- 
You received this question notification because your team Sikuli Drivers
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 #676498]: Copy a text after a search

2018-12-01 Thread Mike
Question #676498 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676498

Mike posted a new comment:
If you know how to do it in Excel, then why not Cntl-C  the contents of
the field in which found the search string and Cntl-V the text into
Excel?. You can then decide how much of the field text you want to keep
using your normal algorithms. Then copy-and-paste again into the target
appliation.

-- 
You received this question notification because your team Sikuli Drivers
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 #675674]: [error] Windows: problems with HiDPI monitors and Java 8 --- try with Java 11

2018-12-01 Thread Michael O'Meara
Question #675674 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/675674

Michael O'Meara posted a new comment:
@Ralman, thanks, i will take a look

-- 
You received this question notification because your team Sikuli Drivers
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 #676498]: Copy a text after a search

2018-12-01 Thread charliedaps
New question #676498 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676498

Hello everyone,

I have to do several searches in codes and texts.

I start the search function of the software (word for a part and a browser for 
another part of the project) I paste the text I'm looking for.

Until then everything is fine, the search works but then I do not know how to 
do it because I have to select and copy part of the rest of the text (so I do 
not know exactly the words).

So in a few words.

The search finds me:

X

I would like Sikuli to select the rest of the sentence (so until the 
punctualition sign)

Then

Copy and like in excel (that I know how to do;))

Do you have an idea how to select some of the following from a search?

Thank you in advance for your help.

Have a good day

-- 
You received this question notification because your team Sikuli Drivers
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 #676153]: Trying to select date from Calender Icon

2018-12-01 Thread Launchpad Janitor
Question #676153 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676153

Status: Needs information => Expired

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

-- 
You received this question notification because your team Sikuli Drivers
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 #676481]: There's some way to "force error" or "failure" for XMLTestRunner?

2018-12-01 Thread Roman Podolyan
Question #676481 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676481

Roman Podolyan posted a new comment:
1) I think you may try to use "assert" instead of if-else, like 

assert  handlerchamado<=0


If statement under assert is correct, script goes as nothing happened,
but if assert condition is failed, script should raise an error which
should fail the test.

(  see
http://www.jython.org/jythonbook/en/1.0/ExceptionHandlingDebug.html  for
assert examples )


2) They say XMLTestRunner is unmaintained ( 
https://github.com/srittau/xmltestrunner )

-- 
You received this question notification because your team Sikuli Drivers
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