SikuliX-2014 | SikuliX version | Build Tool library
kandi X-RAY | SikuliX-2014 Summary
kandi X-RAY | SikuliX-2014 Summary
[RaiMan’s Stuff] SikuliX 1.1.2 [repository frozen per 2018-03-10].
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main entry point
- Creates the script jar
- Downloads a file from a given URL
- Copy from a jar to a folder
- Initialize the form fields
- Reset the preference state changed by the user
- Save the preferences
- Checks if a JCheckBox is selected or not
- Initializes the editor
- Runs a python script
- Initialize the pane
- Initialize the UI components for the login panel
- Paint the border
- Create a keyboard setup window
- Draws the polygon around the given point
- Start tracking the pattern
- Start the application
- Override this to customize the default defaults
- Initialize this editor
- Paint the image
- Initialize the LoginDialog
- Get all tokens that match the input
- Subclasses can override this method
- Returns the size of this layout
- Run box initialization
- Play the given step on the webpage
SikuliX-2014 Key Features
SikuliX-2014 Examples and Code Snippets
Community Discussions
Trending Discussions on SikuliX-2014
QUESTION
I am trying to create a standalone executable to run in other machines that do not have python, jython or sikuli installed. I have coded this SIKULI script with Jython by following the tutorial here. It runs just fine in the SIKULI IDE but when I export it as a standalone executable or try to run from a command line. This is the exact message I get.
Traceback (most recent call last):File "C:\Users\user\Documents\SIkuliscript.sikuli\executable.py", line 2, in doubleClick(Pattern("1648827557370.png").similar(0.42).targetOffset(0,-15))NameError: name 'doubleClick' is not defined
I am not sure why it does not recognize the SIKULI methods, I would be happy if someone could explain it clearly. I open the SIKULI IDE with a jar, and just set the type of the untitled file to jython. That was me whole enviorment setup.
I tried it with pyinstaller and ran it. This is the result. I tried it via command line by following the Sikuli docs Python and jython, usage case 1. Executable error message
And the error message is up there. I am guessing I need to export it with a different way so that it recognizes SIKULI's functions?
...ANSWER
Answered 2022-Apr-03 at 09:27export it as a standalone executable
what exactly are you doing here?
try to run from a command line
how do you run what?
following the Sikuli docs Python and jython, usage case 1
does not link to anything, that makes sense in this context
Executable error message
What executable is raising this message?
Generally: currently there is no working implementation, that allows to do what you want. The target system to run SikuliX scripts needs Java and the sikulixide...jar (recommended version 2.0.5).
RaiMan from SikuliX
QUESTION
I am working on sikulixide-2.0.5 on windows. Now I would like to utilize user properties write/read functions to implement persistence of application parameters, So that I am learning as the part of reference shown : https://sikulix-2014.readthedocs.io/en/latest/globals.html#saveOpts
The question is , whatever I call any persistence-related API with fix term of Opt , for example makeOpts() , the engine would keep answer me following error, How do I get it works?
[error] AttributeError ( 'org.sikuli.script.support.RunTime' object has no attribute 'makeOpts' )
reference code here , pretty simple :
...ANSWER
Answered 2021-Mar-15 at 21:54Those "*Opts" convenience methods seem to not exist in the 2.0.5 release. It looks like they were refactored out of existence.
To see what those methods do (and potentially recreate them in jython), see:
https://www.javatips.net/api/SikuliX-2014-master/API/src/main/java/org/sikuli/script/RunTime.java
Additionally, it looks like the github project has the code if you pull a pre-2.0.0 tag:
QUESTION
Does anyone have a suggestion on how to make a full-page screenshot with Sikuli? It seems that this tool is capable of screenshots of the current window. reference: https://sikulix-2014.readthedocs.io/en/latest/screen.html
...ANSWER
Answered 2020-Mar-03 at 09:47With SikuliX features you can only capture, what is currently visible on the screen.
If you want to capture the whole page, you have to use other tools available (e.g. browser features) and trigger the action appropriately from within your SikuliX workflow.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SikuliX-2014
You can use SikuliX-2014 like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the SikuliX-2014 component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page