[Sikuli-driver] [Question #699014]: How to spawn find/mouse action/lkeyboard action menu in GUI?

2021-10-07 Thread John James
New question #699014 on SikuliX:
https://answers.launchpad.net/sikuli/+question/699014

On my old system I was running sikulix IDE 1.1.3 and it had sections on the 
left hand side of the screen for "Settings" "Find" "Mouse Actions" and 
"Keyboard Actions".  After installing the newest build 2.0.5 I'm not seeing 
these options? How do I enable 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


[Sikuli-driver] [Question #699011]: sikulix4python continuation?

2021-10-07 Thread daniel
New question #699011 on SikuliX:
https://answers.launchpad.net/sikuli/+question/699011

Hello RaiMan,

A question (and comment) regarding the Sikuli4Python module. 

In my opinion it would be really great to have the Sikuli4Python module and I 
hope you will continue with it. I did some basic experiments and it seems to 
work fine. 

It would be really nice to write in python language but don't have to use the 
sikuliIDE (although it was really helpfull to get a jump start and do a proof 
of concept. 

Are you planning to make all the java methods available for python in the end? 
Do you think you will continue with this module soon?

-We are investigating Sikuli4Python in combination with Robotframework for 
acceptance testing the ERP in our hospital. 
would you advise to use Sikuli4Python or the SikuliXLibrary? ...Is 
SikuliXLibrary replacing Sikuli4Python?


Kind regards,
Daniel

-- 
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 #698998]: showmonitors() value get save as None to a variable

2021-10-07 Thread Chetan
Question #698998 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698998

Status: Answered => Solved

Chetan confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
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 #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

2021-10-07 Thread RaiMan
Question #699003 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/699003

Status: Open => Answered

RaiMan proposed the following answer:
screen.type(ptrn, text);

searches the pattern, if found clicks the match's middle and then types
the given text

In your case, I doubt, that the pattern can still be found with the next 
screen.type(ptrn, Key.TAB); 
If not found. type(pattern, sometext) simply does nothing without any error 
message.

my suggestion:

screen.type(ptrn, text); // position in the field and write the text
screen.type(Key.TAB); // send a tab to the focused GUI element

-- 
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 #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

2021-10-07 Thread Hans Steenblok
New question #699003 on SikuliX:
https://answers.launchpad.net/sikuli/+question/699003

I recently upgraded from sikuli 1.1.2 to 2.0.5 (and java 8 to java 11) and now 
my test fail. I have the following code:

org.sikuli.script.Pattern ptrn = new org.sikuli.script.Pattern(filename);

screen.type(ptrn, text);
screen.type(ptrn, Key.TAB);

but after the Key.Tab the focus is not to the next component (in my java form) 
but in the previous element. It lokes like sikuli is trying to restore the 
situation and I want to jump to the element according to mij tab order.

-- 
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 #698998]: showmonitors() value get save as None to a variable

2021-10-07 Thread RaiMan
Question #698998 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698998

Status: Open => Answered

RaiMan proposed the following answer:
showMonitors() does not return anything (hence None), but prints a line
for each monitor to StdOut.

sthg. like this?

screens = ""
for i in range(Screen.getNumberScreens()):
   screens += "Screen %d: %s || " % (i, Screen(i))
print screens

-- 
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 #698998]: showmonitors() value get save as None to a variable

2021-10-07 Thread Chetan
New question #698998 on SikuliX:
https://answers.launchpad.net/sikuli/+question/698998

we are using below code
monitorInfo=str(showMonitors()) 
   print("Monitor: " + monitorInfo)
*
here monitorInfo is printed as none

however if we directly print showMonitors() then it gets printent but not in 
next line but at random

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