Re: [Sikuli-driver] [Question #709649]: I want to use PIP with SikulixIDE

2024-04-06 Thread masuo
Question #709649 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709649

Status: Open => Answered

masuo proposed the following answer:
@Hiroshi Aoyagi
I have never put it into practice, but there is a post written in Japanese 
below.
https://qiita.com/naghbIQtIqHom/items/50faa7322086300ccbe5

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #707356]: hide command prompt when launching sikuli

2023-07-23 Thread masuo
Question #707356 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707356

Status: Open => Answered

masuo proposed the following answer:
@Chetan
If you start SikuliX using a batch file shortcut with [Runtime size] set to 
minimize, the command prompt window will open in a minimized state.
(1) Create a batch file to start SikuliX.
(2) Create a shortcut for the created batch file.
(3) In the properties of the shortcut, set [Runtime size] to minimize.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #706425]: Facing issue with new jar file while running automation script in sikuli

2023-05-06 Thread masuo
Question #706425 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706425

Status: Open => Answered

masuo proposed the following answer:
I have experienced it too.
That prompt appears when you're typing quotes where you will not want them.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #706495]: error import

2023-05-06 Thread masuo
Question #706495 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706495

Status: Open => Answered

masuo proposed the following answer:
@SHIH-JIE HSU
I suspect that non-byte characters are used in places other than comments in 
the script file you want to import.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #699745]: [2.0.5]getBundlePath return different output

2021-12-04 Thread masuo
Question #699745 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/699745

Status: Open => Solved

masuo confirmed that the question is solved:
confirmed with SikuliXIDE-2.0.6-snapshot(2021-11-10_17:58)

The result of [2.0.6] is the same as the result of [2.0.4].

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #699745]: [2.0.5]getBundlePath return different output

2021-12-04 Thread masuo
New question #699745 on SikuliX:
https://answers.launchpad.net/sikuli/+question/699745

getBundlePath() returns different output.
Is this correct?

[2.0.4]
C:\Script\ScriptSikuliX\trial_getBundlePath.sikuli

[2.0.5]
/C:/Script/ScriptSikuliX/trial_getBundlePath.sikuli/

[environment]
OS:Windows10
Java:jdk-11.0.2

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #697378]: Output of Sikulix IDE on console

2021-06-03 Thread masuo
Question #697378 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697378

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/697208

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #697339]: Sikuli 2.0.5 - runScript('powershell get-process') return error

2021-06-01 Thread masuo
Question #697339 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697339

masuo posted a new comment:
@TestMechanic
I have got same error.
And another way as follow work fine.

cmd = """
powershell
get-process
"""
runScript(cmd)
bb = RunTime.get().getLastCommandResult()
print bb

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #697312]: Sikuli : String in Location

2021-05-30 Thread masuo
Question #697312 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697312

Status: Open => Answered

masuo proposed the following answer:
Location function require numeric as parameter.
And POS  variable is numeric.
So codes is simply, click(Location(150,POS)).

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #697208]: I need to show a permanent "log" windows on top

2021-05-23 Thread masuo
Question #697208 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697208

Status: Open => Answered

masuo proposed the following answer:
I would connect another display.
And use primary screen  for automation, use secondary screen for log viewer.

Usage with Multi Monitor Environments 
https://sikulix-2014.readthedocs.io/en/latest/screen.html?highlight=SCREEN#multimonitorenvironments

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696946]: Right click + Shift

2021-05-07 Thread masuo
Question #696946 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696946

Status: Open => Answered

masuo proposed the following answer:
keyDown(Key.SHIFT)
rightClick("image.png")
keyUp(Key.SHIFT)

https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=KeyDown#Region.keyDown

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696931]: Capture a popup click image

2021-05-05 Thread masuo
Question #696931 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696931

Status: Open => Answered

masuo proposed the following answer:
There are two ways to solve your problem.
(1)use short cut key to capture image
Ctrl+Shift 2 (default setting)

(2)set long delay before capture

How to open setting pane to confirm settings or change settings
open SikuliX-IDE
select menu [File] - [Preferences]

---
Quick capture hotkey: [   Ctrl+Shift 2]
Delay before capture: [  1]seconds
---

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696816]: Scroll until

2021-05-03 Thread masuo
Question #696816 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696816

masuo proposed the following answer:
Let's recognize where sikuli find the image(complete scroll) on the screen.
Insert this codes after "while True" and run script, you will find out where it 
is.
If it's an unexpected location, try changing the image or changing the 
similarity.

m = exists(complete scroll)
if m:
m.highlight(3)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #695135]: I want to wait until the picture in a region changes

2021-01-21 Thread masuo
Question #695135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/695135

masuo posted a new comment:
I'm sorry, I can comment on the features, but not on the flow.

-- 
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 #695135]: I want to wait until the picture in a region changes

2021-01-21 Thread masuo
Question #695135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/695135

Status: Open => Answered

masuo proposed the following answer:
There is "Quick search" in document page as a way to find a solution.
https://sikulix-2014.readthedocs.io/en/latest/#

Search by "change" , you will find the following page.

"Observing Visual Events in a Region"
https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=change#observing-visual-events-in-a-region

I think the features introduced here will be useful.

-- 
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 #695115]: I'm trying to getCell but having trouble

2021-01-20 Thread masuo
Question #695115 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/695115

masuo proposed the following answer:
If you want to get text in the divided cell, try ocr feature.
https://sikulix-2014.readthedocs.io/en/latest/textandocr.html

-- 
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 #695115]: I'm trying to getCell but having trouble

2021-01-20 Thread masuo
Question #695115 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/695115

Status: Open => Answered

masuo proposed the following answer:
A defined region by Region  feature is not visible.
It's the same as that.
Use highlight feature If you want to conferm divided row, col and cell.

[example]
r=Region(222,138,1080,395)
MAXROWS=3
MAXCOLUMNS=3

r.setRows(MAXROWS)
for row in range(MAXROWS):
r.getRow(row).highlight(1)

r.setCols(MAXCOLUMNS)
for col in range(MAXCOLUMNS):
r.getCol(col).highlight(1)   

r.setRaster(MAXROWS,MAXCOLUMNS)
for row in range(MAXROWS):
for col in range(MAXCOLUMNS):
r.getCell(row,col).highlight(1)

-- 
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 #695002]: I can not read the text in the image

2021-01-14 Thread masuo
Question #695002 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/695002

Status: Open => Answered

masuo proposed the following answer:
Try this code.

extractstr = Region(0,0,100,100).text()
print extractstr

-- 
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 #694793]: The new version, if we can set up, the old version of the side toolbar, it would be convenient! It's a pity that no this function... I regret!

2021-01-04 Thread masuo
Question #694793 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694793

Status: Open => Answered

masuo proposed the following answer:
The similar question and request has been asked many times in the past.
Each time, RaiMan has answered these question and request.

https://answers.launchpad.net/sikuli/+question/694439
https://answers.launchpad.net/sikuli/+question/680112

-- 
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 #694791]: Novice in Sikulix and Jython

2021-01-04 Thread masuo
Question #694791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694791

Status: Open => Answered

masuo proposed the following answer:
I think the cause of the error is the user name you are using.
Try following steps.
(1)Create new user whose name do not contain non-ASCII characters.
(2)Sign in with your new username.
(3)Setup SikuliX and run script.

-- 
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 #694681]: Clicking after Region.findAny?

2020-12-26 Thread masuo
Question #694681 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694681

Status: Open => Answered

masuo proposed the following answer:
You can understand your issue when you confirm return value of
getLastMatch.

[example1:]
r = Region(0,0,400,400)
r.find("1609040733533.png")
print r.getLastMatch()
r.click()

[example2:]
r = Region(0,0,400,400)
mlist = r.findAny("1609040733533.png","1609040739663.png","1609040747454.png")
print mlist
print r.getLastMatch()
for m in mlist:
  m.click()

-- 
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 #694564]: Region methods getRow and getCol does not work

2020-12-17 Thread masuo
Question #694564 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694564

masuo posted a new comment:
I've also noticed before that getRow and getCol don't work with two arguments.
When I need them, I am using  setRaster.

[example]
r = Region(100,100,600,200)
r.highlight(1)
MAXROWS = 3
MAXCOLUMNS = 4
r.setRaster(MAXROWS,MAXCOLUMNS)
for row in range(0,MAXROWS):
r.getRow(row).highlight(1)
for col in range(0,MAXCOLUMNS):
r.getCell(row,col).highlight(1)

-- 
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 #693680]: [error] Env.getClipboard: cannot open system clipboard

2020-10-30 Thread masuo
Question #693680 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693680

Status: Open => Answered

masuo proposed the following answer:
@James Panteleone

there is a setter for clipboard.
App.setClipboard("")

https://answers.launchpad.net/sikuli/+question/669258

-- 
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 #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread masuo
Question #693582 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693582

Status: Open => Answered

masuo proposed the following answer:
if set zero to  second parameter of "exists", "exists" return without wait.
#1 example "If you want to check in sequence at that moment"
#1 example "If you want to check continuously for 3600 seconds"

-- 
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 #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread masuo
Question #693582 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693582

Status: Open => Answered

masuo proposed the following answer:
I'm not using Java.
Please read javadoc.
https://raiman.github.io/SikuliX1/javadocs/org/sikuli/script/Region.html#findAny(java.lang.Object...)

-- 
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 #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread masuo
Question #693582 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693582

Status: Open => Answered

masuo proposed the following answer:
If you want to determine whether image A or image B exists at that moment
imagelist = [imageA, imageB]
mm = findAny(imagelist)
for m in mm:
print m.getIndex()

https://sikulix-2014.readthedocs.io/en/latest/region.html#findmorethanoneimage

If you want to check in sequence at that moment
if exists(imageA, 0):
print "imageA is found"
elif exists(imageB, 0):
print "imageB is found"


If you want to check continuously for 3600 seconds
t = 3600
while t > 0:
if exists(imageA, 0):
print "imageA is found"
elif exists(imageB, 0):
print "imageB is found"
wait(10)
t = t - 10

-- 
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 #693580]: Can't findText() with special character

2020-10-22 Thread masuo
Question #693580 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693580

Status: Open => Answered

masuo proposed the following answer:
literal strings must be surrounded by u" and ".

[example]
m = findText(u"é")
if m:
m.highlight(1)

-- 
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 #693575]: The number of GUI 'pop-ups' supported in Sikuli is

2020-10-22 Thread masuo
Question #693575 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693575

masuo proposed the following answer:
Document about popup is here.
https://sikulix-2014.readthedocs.io/en/latest/interaction.html?highlight=popup

-- 
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 #693575]: The number of GUI 'pop-ups' supported in Sikuli is

2020-10-22 Thread masuo
Question #693575 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693575

Status: Open => Answered

masuo proposed the following answer:
Document about popup is here.
https://sikulix-2014.readthedocs.io/en/latest/interaction.html?highlight=popup

-- 
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 #692595]: How to get location of image if exists

2020-08-25 Thread masuo
Question #692595 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692595

Status: Open => Answered

masuo proposed the following answer:
@julien abou fadel
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.exists
https://sikulix-2014.readthedocs.io/en/latest/match.html#Match

[example codes:]
m = exists("1598404408149.png",0)
print m
if m:
print m.getX()
print m.getY()
print m.getCenter()
mouseMove(m.getCenter())

-- 
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 #692455]: [How to] Persistent Script

2020-08-19 Thread masuo
Question #692455 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692455

masuo proposed the following answer:
@Javier Gonzales Rodriguez
feature "Observing Visual Events in a Region" is useful in some cases.
https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=onappear#observing-visual-events-in-a-region

-- 
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 #692219]: python sikuli issue

2020-08-05 Thread masuo
Question #692219 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692219

masuo posted a new comment:
@RaiMan
You are very kind to beginners. (^^)v

-- 
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 #692219]: python sikuli issue

2020-08-05 Thread masuo
Question #692219 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692219

Status: Open => Answered

masuo proposed the following answer:
Variable "TIME" is string.
Convert "TIME" to floating variable "fTime" for example.
And compare "fTime" and "12.45".

-- 
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 #692189]: Sikuli cannot be forced closed by shift+ctrl+c

2020-08-03 Thread masuo
Question #692189 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692189

Status: Needs information => Answered

masuo proposed the following answer:
@kai yung ezra chua

I think you only misunderstand shift + alt + c as shift + ctrl + c.

-- 
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 #692097]: Not able to find image when new page launches in desktop App

2020-07-27 Thread masuo
Question #692097 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692097

Status: Open => Answered

masuo proposed the following answer:
As a standard behavior Sikuli internally processes about 3 search operations 
per second.
A detailed explanation can be found here.
https://sikulix-2014.readthedocs.io/en/latest/scripting.html?highlight=settings#Settings.ObserveScanRate

If the interval between a new page's display and find command's execution is 
short, that phenomenon may occur.
It is easy way to use wait command before using find command.

-- 
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 #692088]: click a button to distinguish by around image

2020-07-27 Thread masuo
Question #692088 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692088

Status: Open => Answered

masuo proposed the following answer:
Masking of images  is one of  solutions.

https://sikulix-2014.readthedocs.io/en/latest/tutorials/masking/masking.html#tutorialmasking

-- 
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 #692052]: Help with setting Sikuli Up

2020-07-25 Thread masuo
Question #692052 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692052

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/688237

-- 
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 #692052]: Help with setting Sikuli Up

2020-07-24 Thread masuo
Question #692052 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692052

Status: Open => Needs information

masuo requested more information:
Did you read this page? 
http://sikulix.com/quickstart/

-- 
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 #692019]: Randomized mouse route from A to B?

2020-07-23 Thread masuo
Question #692019 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692019

Status: Open => Answered

masuo proposed the following answer:
It can be done by dividing A and B into several parts and moving the mouse in 
several times.
How to move, not the problem of SikuliX, is your task.
Why do you need that?

-- 
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 #691988]: How to switch between desktop application and web application

2020-07-21 Thread masuo
Question #691988 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691988

masuo proposed the following answer:
Try App.focus
https://sikulix-2014.readthedocs.io/en/latest/appclass.html?highlight=App.focus#App.focus

-- 
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 #691629]: Using repeat in event handle with wait time

2020-07-04 Thread masuo
Question #691629 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691629

Status: Open => Answered

masuo proposed the following answer:
I am interested in your question, so I tested in my environment. 
"repeat" work fine in my environment.
Did you use "observeInBackground" ?

[my environment:]
Windows10, SikuliX2.0.4

[my sample code:]
def change(event):
event.getRegion().highlight(1)
event.repeat(5)

r = Region(0,0,100,800)
r.onAppear("1593845349130.png",change)
r.observeInBackground()

for cnt in range(30):
if r.exists("1593844143835.png",0):
r.stopObserver()
else:
Do.popup("cnt:%d" % cnt, "title", 1)

-- 
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 #691636]: Interact with table

2020-07-04 Thread masuo
Question #691636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691636

Status: Open => Answered

masuo proposed the following answer:
[example code with Python]
maxRows = 3
maxColumn = 4
setRaster(maxRows,maxColumn)
for r in range(maxRows):
getRow(r).highlight(1)
for c in range(maxColumn):
getCell(r,c).highlight(1)

-- 
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 #691666]: Find every match of multiple patterns

2020-07-03 Thread masuo
Question #691666 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691666

Status: Open => Answered

masuo proposed the following answer:
Exactly "findAnyList" is able to do it that you want to do.

imagelist=["1593840754190.png","1593840763712.png","1593840771119.png"]
mm = findAnyList(imagelist)
for m in mm:
m.highlight(1)

-- 
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 #691302]: [HowTo] handling findFailed

2020-06-14 Thread masuo
Question #691302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691302

Status: Open => Answered

masuo proposed the following answer:
Try similar() and exact().
https://sikulix-2014.readthedocs.io/en/latest/pattern.html?highlight=similar#Pattern.similar

[sample code]
r = Region(0,0,500,500)
anylist = 
r.findAny(Pattern("1592122231908.png").exact(),Pattern("1592122242862.png").exact())
if len(anylist):
print "found"
for m in anylist:
if m.getIndex() == 0:
m.highlight(1,"yellow")
else:
m.highlight(1,"blue")
else:
print "not found"

-- 
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 #691302]: [HowTo] handling findFailed

2020-06-13 Thread masuo
Question #691302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691302

Status: Open => Answered

masuo proposed the following answer:
findAny() is usefull for your case.
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.findAny

-- 
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 #690954]: findText("string") not working with Sikulixapi 2.0.4

2020-05-27 Thread masuo
Question #690954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690954

masuo posted a new comment:
Please wait @RaiMan' s answer.

-- 
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 #690954]: findText("string") not working with Sikulixapi 2.0.4

2020-05-27 Thread masuo
Question #690954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690954

Status: Open => Answered

masuo proposed the following answer:
@Shane
You are using JavaScript?
My example is coded by Python.
Try again by Python.

-- 
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 #690954]: findText("string") not working with Sikulixapi 2.0.4

2020-05-26 Thread masuo
Question #690954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690954

Status: Open => Answered

masuo proposed the following answer:
Try simple code.
[for example]
https://drive.google.com/file/d/1RIB7yXdJw8aA4Ui_i0kURxYIgR-VNef9/view?usp=sharing

-- 
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 #690986]: Gui problem

2020-05-26 Thread masuo
Question #690986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690986

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/690142

-- 
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 #690970]: s.type() function sometimes does not work properly

2020-05-25 Thread masuo
Question #690970 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690970

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/690543

-- 
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 #690954]: findText("string") not working with Sikulixapi 2.0.4

2020-05-25 Thread masuo
Question #690954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690954

Status: Open => Answered

masuo proposed the following answer:
image find API was revised in version 2.0.2
There is an answer for your question.

https://sikulix-2014.readthedocs.io/en/latest/news.html#revision-of-the-image-find-api
The old behavior of find(someText) is now switched off in the standard, but can 
be switched on by intention (Settings.SwitchToText). But if switched on, the 
ImageMissing feature is not available. In doubt it is recommended, to change 
the function calls to their text equivalents, if text search is the intention.

https://sikulix-2014.readthedocs.io/en/latest/news.html#revision-of-the-
text-find-api

-- 
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 #690864]: Require a SikuliX EULA Document url

2020-05-21 Thread masuo
Question #690864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690864

masuo proposed the following answer:
additional information
https://github.com/RaiMan/SikuliX1/commit/4b554275ac2c4cbb0948a1570419f3d47aee8583

-- 
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 #690513]: How can I schedule and monitor my sikulix projects

2020-05-09 Thread masuo
Question #690513 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690513

Status: Open => Answered

masuo proposed the following answer:
Here are two ways I came up with.
(1)Windows Remote Desktop
(2)Chrome Remote Desktop

-- 
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 #690568]: search for an image in parallel

2020-05-08 Thread masuo
Question #690568 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690568

Status: Open => Answered

masuo proposed the following answer:
I think there is an answer on this page.
https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=observe#observing-visual-events-in-a-region

-- 
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 #690543]: Sikuli not entering text properly mising some text while typing

2020-05-08 Thread masuo
Question #690543 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690543

Status: Open => Answered

masuo proposed the following answer:
Did you try paste command instead of type command?

-- 
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 #690468]: Sikuli 32bit version

2020-05-05 Thread masuo
Question #690468 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690468

Status: Open => Answered

masuo proposed the following answer:
Here is the answer.
http://sikulix.com/quickstart/

-- 
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 #690430]: Holding a number key button down for a few seconds

2020-05-04 Thread masuo
Question #690430 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690430

masuo proposed the following answer:
see #1 answer
https://answers.launchpad.net/sikuli/+question/404260

RaiMan answered the question as follows:
keyDown() does not trigger the keyboard repeat function (Java Robot)

-- 
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 #690430]: Holding a number key button down for a few seconds

2020-05-04 Thread masuo
Question #690430 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690430

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/404260

-- 
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 #689064]: I can not open SikuliXIDE-2.1.0-SNAPSHOT(build 565)

2020-03-29 Thread masuo
Question #689064 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689064

Status: Answered => Solved

masuo confirmed that the question is solved:
Now I can open SikuliXIDE-2.1.0-SNAPSHOT build#:603

[Java:]
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

-- 
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 #689064]: I can not open SikuliXIDE-2.1.0-SNAPSHOT(build 565)

2020-03-01 Thread masuo
Question #689064 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689064

Status: Answered => Open

masuo is still having a problem:
@RaiMan, thank you for your answer.
Already I have tried OpenJDK13 + SikuliXIDE-2.1.0-SNAPSHOT(build 565).
The result was not good. ( --> #1 (3) )

Do I need to configure anything for OpenJDK13?

-- 
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 #689064]: I can not open SikuliXIDE-2.1.0-SNAPSHOT(build 565)

2020-03-01 Thread masuo
New question #689064 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689064

I can open SikulixIDE-2.1.0-SNAPSHOT(build 478).
But I can not open SikuliXIDE-2.1.0-SNAPSHOT(build 565).

[OS:]
Windows10 , 64 bit Build 18362 (10.0.18362.329)

(1)Oracle Java8 + SikulixIDE-2.1.0-SNAPSHOT(build 478)
SikuliXIDE open successfuly.


(2)Oracle Java8 + SikuliXIDE-2.1.0-SNAPSHOT(build 565)
SikuliXIDE does not open.

[Java:]
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)

[SikuliX:]
SikuliXIDE-2.1.0-SNAPSHOT(build 565)

[Error:]
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/sikuli/script/support/RunTime$Type has been compiled by a more recent 
version of the Java Runtime (class file version 53.0), this version of the Java 
Runtime only recognizes class file versions up to 52.0


(3)OpenJDK13 + SikuliXIDE-2.1.0-SNAPSHOT(build 565)
SikuliXIDE does not open.

[Java:]
openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment (build 13.0.2+8)
OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

[SikuliX:]
SikuliXIDE-2.1.0-SNAPSHOT(build 565)

[Error:]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7fff8a74f98a, pid=13740, 
tid=7908
#
# JRE version: OpenJDK Runtime Environment (13.0.2+8) (build 13.0.2+8)
# Java VM: OpenJDK 64-Bit Server VM (13.0.2+8, mixed mode, sharing, tiered, 
compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [awt.dll+0x8f98a]
#
# No core dump will be written. Minidumps are not enabled by default on client 
versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

-- 
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 #688828]: Possible to highlight an image?

2020-02-17 Thread masuo
Question #688828 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688828

Status: Open => Answered

masuo proposed the following answer:
There is document for you.
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.highlight

-- 
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 #688699]: Do.popup not working in 2.0.2

2020-02-12 Thread masuo
Question #688699 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688699

Status: Open => Answered

masuo proposed the following answer:
There is asimilar question here.
https://answers.launchpad.net/sikuli/+question/688410

-- 
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 #688410]: Timeout popups do not work in version 2

2020-02-05 Thread masuo
Question #688410 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688410

masuo posted a new comment:
I have left several versions of SikuliX lately.
Here are the results I tried.

[SikuliXIDE-2.0.0]
popup window close on timeout.

[SikulixIDE-2.1.0-SNAPSHOT build#:478]
popup window close on timeout.

[SikulixIDE-2.1.0-SNAPSHOT build#:524]
popup window does not close on timeout.

-- 
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 #688537]: [2.1.0-SNAPSHOT]Recorder feature does not work

2020-02-05 Thread masuo
New question #688537 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688537

SikuliX2.1.0 have Recorder feature(experimental).

I confirmed that the feature worked two months ago.
At that time, SikulixIDE version was 2.1.0-SNAPSHOT build#:478.

Today, I get SikulixIDE 2.1.0-SNAPSHOT build#:524.
Recorder feature does not work.
When I stop recording, the exception occurs.
java.lang.IllegalArgumentException: Finder: not possible with: Mat [ 
1080*1920*CV_8UC3, isCont=true, isSubmat=false, nativeObj=0x1deb8040, 
dataAddr=0x29f20080 ]

-- 
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 #687711]: functions not known - SikulixIDE

2020-01-02 Thread masuo
Question #687711 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687711

masuo proposed the following answer:
If you want to specify coodinate, use Region instead of selectRegion .
selectRegion does not have such interface.

-- 
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 #687711]: functions not known - SikulixIDE

2020-01-01 Thread masuo
Question #687711 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687711

Status: Open => Answered

masuo proposed the following answer:
What do you want to do by "x,x,x,x" ?
Read document about parameter.
https://sikulix-2014.readthedocs.io/en/latest/screen.html#Screen.selectRegion

-- 
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 #687708]: How to keep main window during execution?

2020-01-01 Thread masuo
Question #687708 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687708

Status: Open => Answered

masuo proposed the following answer:
If you use command line option "-c" when you run SikuliX from command line, all 
output goes to stdout.
https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html#command-line-options-intention-ide-should-open

[run command:]
java -jar sikulix.jar -c

[sample codes:]
for i in range(10):
print "i=%d" % i
sleep(2)

-- 
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 #687688]: Calculations with decimals

2019-12-31 Thread masuo
Question #687688 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687688

Status: Open => Answered

masuo proposed the following answer:
aa = 11.0/4.0
print str(format(aa, '.5f'))

-- 
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 #687690]: Use of a Mask

2019-12-31 Thread masuo
Question #687690 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687690

Status: Open => Answered

masuo proposed the following answer:
Add parenthesis?
new_img = Pattern("1577396415423.png").mask
==> new_img = Pattern("1577396415423.png").mask()

-- 
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 #687441]: Error: 'function' object has no attribute 'isAborted'

2019-12-22 Thread masuo
Question #687441 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687441

Status: Open => Answered

masuo proposed the following answer:
Function name conflicts with another function name.
For example, change the function name "runner" to "aaa".

-- 
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 #687216]: How to send anything to stdout using CLI

2019-12-19 Thread masuo
Question #687216 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687216

Status: Open => Answered

masuo proposed the following answer:
I can see output by using -c option.

[example]
java -jar C:\SikuliX2.0.0\sikulix-2.0.0.jar -c -r 
C:\ScriptSikuliX\trial_stdout.sikuli

-- 
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 #687216]: How to send anything to stdout using CLI

2019-12-19 Thread masuo
Question #687216 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687216

Status: Open => Needs information

masuo requested more information:
Can you show your command line Interface codes when you use to run script?
And can explain your environment(SikuliX version, OS, Java)?
If there is little information, you can not expect useful comments.

-- 
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 #686611]: Writing string from clipboard conataining æ ø å to file error

2019-12-04 Thread masuo
Question #686611 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/686611

Status: Open => Answered

masuo proposed the following answer:
try my_file.write(cb + "\n") instead of my_file.write(cb + Key.ENTER)

-- 
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 #686421]: How To Input a variable containing text to reg.find()

2019-12-01 Thread masuo
Question #686421 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/686421

Status: Open => Answered

masuo proposed the following answer:
Switch on [allow searching for text] check box.
And  restart  SikuliX IDE.

If that doesn't work, I don't know any more.

-- 
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 #686421]: How To Input a variable containing text to reg.find()

2019-12-01 Thread masuo
Question #686421 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/686421

Status: Open => Answered

masuo proposed the following answer:
Please check option setting, if you use SikuliX1.1.3 .
[allow searching for text] check box may be off.

Open Preferences Window
[File]-[Preference]

Open Preferences:more Options...
[more options...]

Switch on [allow searching for text] check box.

-- 
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 #686421]: How To Input a variable containing text to reg.find()

2019-12-01 Thread masuo
Question #686421 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/686421

Status: Open => Answered

masuo proposed the following answer:
Do you use SikuliX1.1.4 or SikuliX2.0?
You have to use findText instead of find.
https://sikulix-2014.readthedocs.io/en/latest/news.html#revision-of-the-text-find-api

-- 
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 #685325]: Sikuli java script instability

2019-10-22 Thread masuo
Question #685325 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685325

Status: Needs information => Answered

masuo proposed the following answer:
example to capture screenshot when the image do not appear

import datetime
import shutil
SCREENSHOT = getBundlePath()+"\screenshot" 

#---
def capture_screen():
tmppath = SCREEN.capture(SCREEN.getBounds()).getFile()
capturefile = datetime.datetime.today().strftime("%Y%m%d-%H%M%S") + ".png"
savepath = os.path.join(SCREENSHOT, capturefile)
shutil.move(tmppath, savepath)

#---
if not exists("image.png",5):
capture_screen()

-- 
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 #685325]: Sikuli java script instability

2019-10-22 Thread masuo
Question #685325 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685325

Status: Open => Needs information

masuo requested more information:
Do you mean there is an image  in the screenshot you take when an image
is not found?

-- 
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 #685249]: waitVanish

2019-10-18 Thread masuo
Question #685249 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685249

Status: Open => Answered

masuo proposed the following answer:
This is a simplified example.
m=find(image)
r=Region(m.getX(), m.getY(), m.getW(), m.getH())
r.waitVanish(image, seconds)

-- 
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 #685249]: waitVanish

2019-10-18 Thread masuo
Question #685249 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685249

Status: Open => Answered

masuo proposed the following answer:
Define Region r from Match objects .
Specify Region r and use waitVanish.

r.waitVanish()

-- 
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 #685249]: waitVanish

2019-10-18 Thread masuo
Question #685249 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685249

Status: Open => Answered

masuo proposed the following answer:
findAll() returns one or more Match objects.
hover() accepts Match objects as an argument.
But waitVanish() does not accept Match objects as an argument.

PSMRL – a pattern, a string, a match, a region or a location that
evaluates

https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.hover
hover(PSMRL)

https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.findAll
findAll(PS)

https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.waitVanish
waitVanish(PS[, seconds])

-- 
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 #684174]: SikuliX compatibility

2019-09-23 Thread masuo
Question #684174 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/684174

Status: Open => Answered

masuo proposed the following answer:
Did you read this document?
https://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

There is a similar question.
It must be helpful.
https://answers.launchpad.net/sikuli/+question/647444

-- 
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 #684119]: Finder object does not reload image when reinstantiated after the image is modified

2019-09-22 Thread masuo
Question #684119 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/684119

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/483025
It may be helpful.

-- 
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 #683606]: Need help for find()

2019-09-03 Thread masuo
Question #683606 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/683606

Status: Open => Answered

masuo proposed the following answer:
Because findAny return a list of matches for the images found.

[Example using findAny]

mm = findAny("1567505884977.png","1567505893008.png")
for m in mm:
m.highlight(1)

-- 
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 #682554]: The sikuli image sensitivity disappeared

2019-08-02 Thread masuo
Question #682554 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/682554

Status: Open => Needs information

masuo requested more information:
Have you select [Matching Preview] tab?

-- 
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 #682555]: Left pane with common functions gone?

2019-08-02 Thread masuo
Question #682555 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/682555

Status: Open => Answered

masuo proposed the following answer:
There is an answer for similar question from RaiMan.
https://answers.launchpad.net/sikuli/+question/680112

-- 
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 #682334]: sikuli onChange too sensitive

2019-07-27 Thread masuo
Question #682334 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/682334

Status: Open => Answered

masuo proposed the following answer:
This is because the area displaying the camera image is used directly as Sikuli 
region.
I recommend the following way.
Periodically capture the contents of the display area from the camera and 
display it in a new area.
Use this new area as Sikuli region.

-- 
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 #682123]: Monitor whether a script is running but frozen for a while

2019-07-17 Thread masuo
Question #682123 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/682123

Status: Open => Answered

masuo proposed the following answer:
There is a way to use thread  module.
This script will exit after 10 seconds.

[example]
#-count down and type hotkey
def Type_Hotkey(name,*args):
cnt = args[0]
while cnt > 0:
cnt = cnt - 1
Do.popup("%d" % cnt, "remaining time", 1)
type(Key.END,Key.CTRL) #type hotkey

#-hotkey handler
def Exit_Main(event):
type(Key.CTRL) #dummy type to cancel CTRL
exit()

#-Main script
import thread
duration = 10

Env.addHotkey(Key.END, KeyModifier.CTRL, Exit_Main)
thread.start_new_thread(Type_Hotkey,("Type_Hotkey",duration))

while True:
sleep(5)

-- 
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 #681839]: Can you search for several of the same image, then act if there were more or less than x of the same images found?

2019-07-07 Thread masuo
Question #681839 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681839

Status: Open => Answered

masuo proposed the following answer:
The function "findAll" should suit your purpose.
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.findAll

-- 
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 #681595]: My Sikuli keeps zooming in

2019-06-26 Thread masuo
Question #681595 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681595

Status: Open => Needs information

masuo requested more information:
Generally when we want to capture screen shot for parameter of click function, 
we may push keyboard ctrl + shift + 2.
Do you mean that screen zoom when you push keyboard ctrl + shift + 2 ?

What did you do just before the screen zoomed?

-- 
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 #681578]: Trouble recognizing "and" function

2019-06-25 Thread masuo
Question #681578 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681578

Status: Open => Needs information

masuo requested more information:
What do you want to be?

-- 
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 #681578]: Trouble recognizing "and" function

2019-06-25 Thread masuo
Question #681578 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681578

masuo proposed the following answer:
if there is no space between 'and' and 'y', 'andy' is recognized one of 
variables.
if there is space between 'and' and 'y', 'and' is recognized one of reserved 
words.

-- 
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 #681578]: Trouble recognizing "and" function

2019-06-25 Thread masuo
Question #681578 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681578

masuo proposed the following answer:
if there is no space between 'and' and 'y', 'andy' is recognized one of 
veriables.
if there is space between 'and' and 'y', 'and' is recognized one of reserved 
words.

-- 
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 #681578]: Trouble recognizing "and" function

2019-06-24 Thread masuo
Question #681578 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681578

Status: Open => Answered

masuo proposed the following answer:
there is ')' before 'and'.
If you add '(' after 'and', you will find blue.

-- 
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] [Bug 1833164] Re: [1.1.4] Region.findText() crashes with NPE --- fixed 2019-07-18 build #308

2019-06-18 Thread masuo
It's not serious, but must be fixed 2019-06-18 build #308.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1833164

Title:
  [1.1.4] Region.findText() crashes with NPE --- fixed 2019-07-18 build
  #308

Status in Sikuli:
  Fix Committed

Bug description:
  1.1.4-SNAPSHOT-#306-2019-06-12_08:07/Windows10.0/Java11(64)11.0.2+9

  
  same code works fine with version 288

  
  menu = find("menu.png")

  print(menu)

  menu.findText('Search').click()

  
  [error] script [ error ] stopped with error at line --unknown--
  [error] Error caused by: Traceback (most recent call last): File 
"C:\Temp\Sikuli\Training\error.sikuli\error.py", line 8, in  
menu.findText('Search').click() at 
org.sikuli.script.Image.isValid(Image.java:203)
  at org.sikuli.script.Region.wait(Region.java:2299)
  at org.sikuli.script.Region.waitText(Region.java:2751)
  at org.sikuli.script.Region.findText(Region.java:2767)
  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  java.lang.NullPointerException: java.lang.NullPointerException 

  M[6,25 567x15]@S(0) S:1.00 C:289,32 [2498 msec]

  1.1.4-SNAPSHOT-#306-2019-06-12_08:07/Windows10.0/Java11(64)11.0.2+9

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1833164/+subscriptions

___
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 #681205]: can't update code

2019-06-05 Thread masuo
Question #681205 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681205

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/663114

-- 
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 #681205]: can't update code

2019-06-04 Thread masuo
Question #681205 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681205

Status: Open => Needs information

masuo requested more information:
what sikulix version ?

-- 
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 #681038]: Adjusting default keypress / mouse click timing

2019-05-24 Thread masuo
Question #681038 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681038

Status: Open => Answered

masuo proposed the following answer:
I recommend to read document and try.

https://sikulix-2014.readthedocs.io/en/latest/scripting.html?highlight=log#Settings.ClickDelay

https://sikulix-2014.readthedocs.io/en/latest/scripting.html?highlight=log#Settings.TypeDelay

https://sikulix-2014.readthedocs.io/en/latest/region.html#low-level-
mouse-and-keyboard-actions

-- 
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] [Bug 1829856] [NEW] [request]App.open:open the same application multiple times at the same time

2019-05-21 Thread masuo
Public bug reported:

https://answers.launchpad.net/sikuli/+question/680971

I want to open 2 windws of same application at the same time.
How can I do it with SikuliX1.1.4 ?

[OS]
Windows Server 2008
[java]
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

[example]
I can do it with SikuliX 1.1.1 .
App.open("calc")
App.open("calc")

But I can not do it SikuliX 1.1.4 .
App.open("calc")
App.open("calc")

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1829856

Title:
  [request]App.open:open the same application multiple times at the same
  time

Status in Sikuli:
  New

Bug description:
  https://answers.launchpad.net/sikuli/+question/680971

  I want to open 2 windws of same application at the same time.
  How can I do it with SikuliX1.1.4 ?

  [OS]
  Windows Server 2008
  [java]
  java version "1.8.0_201"
  Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
  Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

  [example]
  I can do it with SikuliX 1.1.1 .
  App.open("calc")
  App.open("calc")

  But I can not do it SikuliX 1.1.4 .
  App.open("calc")
  App.open("calc")

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1829856/+subscriptions

___
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


  1   2   3   4   5   6   7   8   >