Questions tagged [sikuli-ide]

Sikuli IDE is an Integrated Development Environment for sikuli script. It supports in Windows, Linux and Mac OS X.

Sikuli IDE is used for writing sikuli script by capturing/taking screenshot, inserting image and creating region. The commands are available/visible at the left panel in Sikuli IDE. They can be included in script just by clicking. The commands are categorized as below:

-> Find
-> Mouse Actions
-> Keyboard Actions
-> Event Observation

Sikuli IDE edits and runs Sikuli source scripts. Sikuli IDE integrates screen capturing and a custom text editor (SikuliPane) to optimize the usability of writing a Sikuli script. To show embedded images in the SikuliPane, all string literals that ends with ”.png” are replaced by a custom JButton object, ImageButton. If a user adjusts the image pattern’s similarity, a Pattern() is automatically constructed on top of the image.

To execute a Sikuli script, Sikuli IDE creates a org.python.util.PythonInterpreter and automatically passes a few lines of headers (e.g. to import Sikuli’s Jython modules, and to set the path to .sikuli directory) to the interpreter. Once these headers are set, the .py script is simply executed by PythonInterpreter.execfile().

89 questions
1
vote
1 answer

How do I take a segment of a image and check if it exists?

In Sikuli I have an image where I need to check if the 1/4 of the lower half exists and if it does, use a specific function. Right now I have: if(image.exists()) click() The issue with this though is the .exists will either hang the script or…
1
vote
1 answer

SikuliX IDE wait for object to be displayed

I use this code to wait for an object in SikulixIDE 1.1.4-SNAPSHOT: wait(Pattern("1548143854795.png").similar(0.7),35). After 15-20 seconds object is present on screen, but it doesn't wait for it. Next type() methods are executed without waiting for…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
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

Sikuli IDE can't import cucumber gem in JRuby?

I'm using SikuliX IDE 1.1.2 (with JRuby support enabled), and I'm trying to get cucumber working from within the Sikuli IDE. I have found this article which just covers what I need: http://www.jmest.org/wp-content/uploads/JMESTN42350420.pdf I have…
1
vote
2 answers

Sikuli IDE command wait("image") not waiting for image to appear before script continues

I am new to Sikuli and am trying it out with a very simple script that looks like this... wait and click cmds are used and they are working, The issue i am facing is wait("1513068228396.png",3600) is not waiting until image appears,, it waits for…
Sunil Kumar
  • 367
  • 2
  • 5
  • 19
1
vote
1 answer

How can I use Ruby in SikuliX IDE?

According to the documentation, SikuliX IDE supports Python, Ruby and JavaScript as scripting languages, but I'm not able to find how to switch from Python, which is the default. The section about using Ruby is empty and there is no mention of `Ruby…
Erik B
  • 40,889
  • 25
  • 119
  • 135
1
vote
1 answer

Matching a Pattern in a Region in Sikuli is very slow

I am automating a computer game using Sikuli as a hobby project and to hopefully get good enough to make scripts to help me at my job. In a certain small region, (20x20 pixels) one of 15 characters will appear. Right now I have these 15 images…
1
vote
0 answers

Sikuli Can't Click Image and Ask to Run the SikuliX Stuff as Admin

I'm trying to click on image using java, but no success. I have this message in Console: [log] App.focus: [8364:BIStudio.exe] [log] CLICK on L(228,136)@S(0)[0,0 1920x1080] [error] RobotDesktop: checkMousePosition: should be L(228,136)@S(0)[0,0…
Nael Marwan
  • 1,030
  • 1
  • 13
  • 32
1
vote
4 answers

Unable to run Sikuli IDE click(image)

I have a VB.net Project executable. I start the executable using Sikulix IDE. SikulixIDE1.1.0 Untiled #Click application logo to start doubleClick("1459230114375.png") #Login screen Enter UserName,Password,click…
Tulsi
  • 151
  • 3
  • 15
1
vote
1 answer

SikuliX cannot detect a screen

I have got a problem trying to run SikuliX script remotely. The thing is, when I call the script from cmd line without starting an IDE, the script works fine. However, when I call the script using the same command remotely from the website, the…
magic_turtle
  • 1,243
  • 3
  • 17
  • 37
1
vote
0 answers

How to install sikuli in Windows 7(32bit OS)?

I am using sikuli for the first time. I have downloaded a jar file named sikulisetup-1.1.0.jar. On clicking this jar file, setup box is getting invoked consisting of pack1, pack2, pack3. On selecting pack1 if I continue, many more jar files are…
chandu
  • 33
  • 1
  • 8
1
vote
4 answers

How to Find Exact match of an Image in Sikuli with Java

Am new to Sikuli and trying to Automate Citirx Application. Need Help Am trying to select a user role in a screen, The screen has multiple roles and hence i need to scroll down the screen and search for a particular Role and click the Role. I have…
Satish Dhanaraj
  • 63
  • 1
  • 4
  • 14
1
vote
1 answer

How can i run sikuli 1.1.0 from command line as administrator?

I understand that when you right click on runsikuliX.cmd and select "Run as administrator", will enable you Sikuli scripts to run smoothly. Please advise on how can I can implement this via command line. I tried executing the following command but…
Klayr
  • 11
  • 3
1
vote
1 answer

Date function in sikuli

I need to get the current date in sikuli script. I am using below code snippet in my script, in which DATE has been hardcoded and that need to change on daily basis to run the script daily. I have tried to find in documentation, but couldn't find…
RATHI
  • 5,129
  • 8
  • 39
  • 48
1
vote
3 answers

How to run sikuli 1.0.1 script from command line

I'm using Sikuli 1.0.1 installed in F drive in a windows8 64bit system. I've been trying to run a sikuli script (scriptname.sikuli) directly from command line without having to open sikuli-ide.jar before. I have search on internet, but it looks like…
litu16
  • 173
  • 5
  • 14