Comments (2)
I just tested in my IntelliJ (version 1.1.4):
sikulixapi.jar must be on the Java classpath: the place to add that is in a run config in the Environment variables as CLASSPATH <path-to>sikulixapi.jar
(the fat jar from the download page)
Having it anywhere else in the project environment does not help.
In your main script at the beginning add
from org.sikuli.script import SikulixForJython
from sikuli import *
This adds the needed pointers to the Jython runtime environment (sys.path, pre-imports).
Be aware: code completion does not work for the SikuliX features (not available at compile time)
from sikulix1.
Thanks, all resolved 👍
from sikulix1.
Related Issues (20)
- IDE: NameError after editing script
- IDE: Add utf-8 spec when running a selection of lines
- IDE: A region changed by clicking on region image is still the old one at next run - workaround
- App class: Windows: identify app by process name
- TERMINATING: problem with native library: libopencv_java430.dylib HOT 2
- UI Scaling for HDPI Screens does not work
- isValidImageFilename throws java.lang.IllegalArgumentException
- Issue when trying to connect a tiger vnc server HOT 1
- sikulixIDE 2.0.x ImportError HOT 1
- VS Code extension for SikuliX scripts HOT 1
- Is there a way to generate long clicks (10 seconds +) on actionable elements? HOT 2
- Screen.click(pattern) returns FindFailed error right after screen.has(pattern) returned true. HOT 2
- Latest sikulix1api library contains dependencies with reported security vulmeralibilies
- OCR(region.text()) is detecting wrong text, when text is underlined HOT 6
- Write access to repository's wiki HOT 1
- Wiki cannot be checked out in windows HOT 2
- Exception in thread "Thread-22" java.lang.ExceptionInInitializerError HOT 9
- How to connect database influxdb HOT 1
- Problem with transparency
- Easy way to ignore the background for image search? --- use images with transparent background HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sikulix1.