Questions tagged [sikuli-x]

SikuliX is an automation tool which uses OpenCV image recognition to record and play user's actions.

SikuliX automates anything you see on the screen of your desktop computer running Windows, Mac or some Linux/Unix. It uses image recognition powered by OpenCV to identify and control GUI components. This is handy in cases when there is no easy access to a GUI's internals or the source code of the application or web page you want to act on.

SikuliX supports as scripting languages

  • Python language level 2.7 (supported by Jython)
  • Running RobotFramework text-scripts is supported
  • Ruby language level 1.9 and 2.0 (supported by JRuby)
  • JavaScript (supported by the Java Scripting Engine)

SikuliX comes with text recognition (OCR) and can be used to search for text. This feature is powered by Tess4J / Tesseract.

80 questions
1
vote
1 answer

App open opening multiple window in sikuli

Hello guys I loved this sikuli but I found one issue related to app.open as well as app.focus Here is my code my code has single line to test wheater app.open or focus open single instance App.open("C:\\program file\internet…
bipin
  • 421
  • 8
  • 21
1
vote
0 answers

How to run sikuli script through Python script

I want to run sikulixIDE-1.1.3 generated script through Python IDLE but don't know how to add in Python script. I have generated file sikuli_script.sikuli using sikuliXIDE-1.1.3. Through Python IDLE, I opened application but the next step is I want…
1
vote
1 answer

For Sikulix, App.close() on Mac closes the app, but returns false. Is this correct?

I am building a SikuliX automation script in Java and confused about the behavior of the .close() method. Inside of Sikuli's App class, the close method is as follows: /** * tries to close the app defined by this App instance, waits max given…
CatsAndCode
  • 377
  • 9
  • 27
1
vote
3 answers

Windows, run JAR with double click

I'm experimenting with Java for the first time. I'm using Intellij IDEA and creating a simple app. In the IDE it's working fine, then I create a JAR artifact and run it like this: java -jar myappname.jar with no problem. Now I would like to start…
Dado
  • 95
  • 1
  • 11
1
vote
1 answer

Running SikuliX 1.1.4 Python scripts from Command Line

I have some Python (jython actually) scripts that run with Sikulix. I was previously using version 1.1.1 and was using the command line (after doinmg the setup): java -Dsikuli.Debug=-2 -cp sikulix.jar org.python.util.jython main.py With version…
Jean-Francois T.
  • 11,549
  • 7
  • 68
  • 107
0
votes
1 answer

SikuliX 2.0.5 code page for using with Debug.user() and popup()

I'm running Sikuli-X v2.0.5 on an Ubuntu 22.04 with lang="de_DE.UTF-8". I've some trouble to get the right text output if it has umlaute ä,ö,ü For exemple if I try to output the text in a dialog box by popup("Hallöchen von der Knäkente") I get…
akazen
  • 1
  • 3
0
votes
0 answers

PDF documentation of SikaliX

¿Where is pdf documentation of SikuliX? I have searched in Google, but I don't find much about it, or the existing documentality is very old. I am interested in this IDE to automate my work. I made a small article about it, but it is very basic.…
0
votes
1 answer

Trying to Automate Sikuli but the runIDE is nowhere to be found

I am testing Sikuli as a desktop automation. I "installed" Sikuli which is just me running the executable everytime to launch the program. I am able to write up the flow of the desktop and have it run through the User Interface. I was looking to see…
0
votes
1 answer

Is it possible to track a rotating object using Sikuli?

I want to make a sikuli script that can track a object that rotates and hides behind another object, just like a "find the ball" game. Is it possible? If it is, how can i achieve it? Maybe even a way to execute another script via sikuli would do the…
0
votes
1 answer

Cannot use my pyhton function on a referenced .py file

I just started on Python, and still trying to learn it. I recently started learning Sikulix and its applications. Would highly appreciate if you could share your ideas... Problem is that I have 3 py files.…
Arincovic
  • 1
  • 1
0
votes
0 answers

How to find the GUI elements in Desktop page using Sikuli without taking Image Screenshot

I am able to capture GUI elements in Desktop page using Sikuli by taking image screenshot..Can any one help me how to find GUI elements in Desktop page using Sikuli without taking image Screenshot?
0
votes
1 answer

How can I make sikulix type the text I've extracted from an image?

I want to make my program take a screenshot of a region, read the text on the image (I've completed this part) and type it out with keypresses (This is the part I need help with) So far I have this: a=find(This is where I put my…
Waffle
  • 1
  • 1
0
votes
0 answers

Is SikuliX 2.0.5 compatible on RedHat 8?

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…
0
votes
1 answer

Best way to share SikuliX scripts (and OS friendly)?

I have a Sikuli 2 script which is composed of: an app.sikuli directory with a app.py in it and several Things.png images Most of this structure was auto generated by SikuliX while I was creating the script. If I have to switch to another method of…
Sandburg
  • 757
  • 15
  • 28
0
votes
1 answer

Sikulix wait until image not appear anymore i.e page still loading

I am a new Sikulix user. I have learned how to wait until image appears on screen. But the issue is how to wait until an image is not visible any more. In below code when "nextbutton.jpg" is clicked a loading message appears "progress..." I want…