![]() Before clicking Open, edit the filename so that it shows sikuli-script.jar\Lib. Windows: click the button Add and click through to path-to/sikuli-script.jar.on the tab Python Path we need an additional entry, that points to path-to/sikuli-script.jar/Lib.To integrate Sikuli: click the button Manage (only needed with the first project - it is remembered).you might want to click Make Default, if you have real Python also available (Remember: Sikuli scripts cannot be run with real Python!).In the second step Name and Location (last line), select as Python Platform: Jython 2.5.1.Start a new project: File -> New Project -> Categories: Python -> Python Project -> click Next.Everything is done on the project level, though some basic preferences act like plugin globals - we just have to know and accept this -) The plugin itself has nothing to configure, that is of value for the Sikuli usage. If suggested by the install process always restart Netbeans.Ĭonfigure for using Sikuli script features at runtime In the list select everything that is in the category Python and install. Go to menu Tools -> Plugins -> Available Plugins The Python interpreter to use is selected on the project level. In the Python plugin NetBeans is not strict in naming: though they mainly talk about Python, Jython is meant as well. ![]() Since the top level language used by Sikuli script is Python, you need the Python plugin that comes bundled with Jython 2.5.1. Since this is not a tutorial how to use NetBeans in general, you should be familiar with the basic concepts. We suppose you have it running in a setup that allows to at least develop Java applications. As a first start, just decide to use Sikuli IDE in parallel to capture and store your images and use the import feature or the image path to make them available in your script. It is recommended to carefully read through Importing other Sikuli Scripts (reuse code and images), since you need to have a concept how to capture, how to name and where to store your images. Images and importing other Sikuli scripts
0 Comments
Leave a Reply. |