[Sikuli-driver] [Question #703916]: How to loop entire Script

2022-11-23 Thread Jeramie Ingram
New question #703916 on SikuliX:
https://answers.launchpad.net/sikuli/+question/703916

Thanks for any advice on this.

I am trying to make a simple auto click script that I would like to repeat 
until I stop with Hotkeys.
This is my first try at any kind of scripting. I have no prior knowledge on 
scripts or python.  I have though looked at all of the FAQs on here looking for 
looping solutions. I tried a few but cant seem to get any to work. I also saw 
something that I should create a function and then loop the function. See my 
code below:

I would like this to run infinite until I stop





 running = True

def runHotkey(event):
global running
running = False

Env.addHotkey(Key.ESC, KeyModifier.SHIFT+KeyModifier.CTRL, runHotkey)



click(Location(41,1300))
click(Location(38,1179))
wait(1)
click(Location(367,965))
click(Location(420,991))
click(Location(450,965))
click(Location(475,1055))
click(Location(555,1055))
click(Location(677,968))
click(Location(885,1300))
click(Location(890,1180))
wait(1)
click(Location(1250,967))
click(Location(1265,991))
click(Location(1295,965))
click(Location(1328,1055))
click(Location(1410,1055))
click(Location(1528,968))
wait(300)


-- 
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 #703904]: Is SikuliX 2.0.5 compatible on RedHat 8?

2022-11-23 Thread Andrew Pease
New question #703904 on SikuliX:
https://answers.launchpad.net/sikuli/+question/703904

We’ve been trying to get SikuliX 2.0.5 to run on a RHEL 8 system, and not 
having much luck.

We went through the instructions on this webpage:

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

We started on RHEL 7, but the OpenCV shared library required a newer version of 
GLIBC than is standard on RHEL 7 (version ‘GLIBC_2.27’ not found (required by 
~/.Sikulix/SikuliLibs/libopencv_java430.so)), so we moved up to RHEL 8. We had 
to build OpenCV (v4.3.0) from source because we could not find a java companion 
package for RHEL 8, which required quite a few other dependencies, but in the 
end we got it built with most options enabled, and installed as root on the 
system. We also got Tesseract installed via a package, as well as xdotool and 
wmctrl.

We are setting LD_LIBRARY_PATH to ensure that the OpenCV libs are picked up, 
and when we run with the “-v -c” options to the IDE, there are no obvious 
problems reported. It seems to believe it is moving the mouse, though we can 
see that it is not, and when we try to capture a screenshot, the “canvas” from 
which to capture is either uninitialized/garbage frame buffer memory, or a 
totally black screen. On rare occasions we have seen the actual desktop, but 
most times we do not.

Originally the system had 2 monitors, but was subsequently reconfigured to a 
single display system. We were originally running remotely over NoMachine, but 
have also tried running locally and observed no difference in behavior.

Any pointers or suggestions would be most welcome. Given that no error messages 
are being reported, we are out of ideas for how to proceed in debugging the 
problem. It appears that more native support is provided for Debian-based 
systems, but we’re attempting to validate a product which only advertises 
support for RHEL systems, so we’d prefer to get it working in this environment 
if at all possible.

-- 
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 #703749]: Can we integrate Sikuli along with WebdriverIO typescript

2022-11-23 Thread Launchpad Janitor
Question #703749 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/703749

Status: Open => Expired

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

-- 
You received this question notification because 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