← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #179741]: How to run sikuli script in Eclipse

 

Question #179741 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179741

    Status: Open => Answered

RaiMan proposed the following answer:
-- in Eclipse make a new PyDev project
- name it
- uncheck 'Project contents' use defaults
- browse for the directory .sikuli, that you want and confirm
- select Jython as Project type
- uncheck 'create default .....'
- press finish.

-- select in menu Run: Run configurations ...
- right click on JythonRun and select new
- in Project select your project and 
- in Main Module select the .py file
- at top give it a name (e.g. same as project name)
- press Close 

There are different possibilities to run it now - I leave it to you to
find out ;-)

BTW: 
in your script, when run from Eclipse/Jython, you need the statement "from sikuli import *", as mentioned in the docs, you stated, that you have read them.

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.