When there are no direct APIs available for automating an item, Sikuli can help. It helps in automating the items that you see on your computer screen by using images & basic OCR.
Prerequisites:
- Supports 64-bit only
- Requires Valid Java Installation >8
- Real Screen Needed. Headless Systems are not supported
- Cannot use the system when the script is running
Download and Installation
- The latest stable version of Sikuli (*.jar file) is available at
- The downloaded jar file can be placed in any user preferred directory which has admin permissions.
- Double click the jar file. If it prompts an error saying Jython not found, download from below location and place it parallel to the Sikuli jar file. Then launch the Sikuli jar file.
- Download Jython Standalone Jar File
- More details here.
More details on Sikuli's Official Quick Start Page.
Sikuli User Guide Quick Links
- Examples
- Hello World Windows
- PS: Looks like Windows class name is changed which makes this not to run. But still this serves as a good example of how a Sikuli script looks like and shows the basic options available.
No comments:
Feel free to leave a piece of your mind.