New question #240347 on Sikuli: https://answers.launchpad.net/sikuli/+question/240347
I have set up Eclipse (Kepler SR1) to use Jython (2.5.2) via PyDev (3.0.0.201311051910) on Windows XP. I have: - dowloaded 'sikuli-setup.jar' into an empty 'C:\SikuliX' folder. - extracted 'Sukuli-1.0.1-Offline-Setup-IDE-option1.zip' and 'Sukuli-1.0.1-Offline-Setup-Java-option3-option4.zip' into 'C:\SikuliX\Downloads' using 7zip - run 'sikuli-setup.jar' followed by 'runSetup.cmd' and selected packs 1 and 3, and it has claimed 'Setup: Sikuli seems to work! Have fun' Following 'https://github.com/RaiMan/SikuliX-API/wiki/Usage-in-Java-programming', within Eclipse I have: - created a new project with a simple 'main.py' module - added 'C:\SikuliX\sikuli-java.jar' to Project -> Properties -> PyDev - PYTHONPATH -> External Libraries - added 'C:\SikuliX\libs\Lib' to Project -> Properties -> PyDev - PYTHONPATH -> External Libraries (I had to create the empty Lib folder manually because it did not exist) - clicked 'Force restore internal info' - added 'import org.sikuli.basics.SikuliXforJython' and 'from sikuli import *' to my main.py - run my project - it OVERWROTE (*not* appended) my path with 'C:\SikuliX\libs' (but that's another issue) - logged out and logged in again - run my project - it ran successfully I added a popup to my main.py: import org.sikuli.basics.SikuliXforJython from sikuli import * def run_test(): popup(msg="Hi", title="Title") print "Hello, World!" if __name__ == "__main__": run_test() This runs successfully, and the popup appears as expected. So, the problem: Code completion does not work. 'popup()' is not recognised by the IDE. I *can* get 'popup' to be recognised by adding 'from Lib.sikuli.Sikuli import popup', but then the progam doesn't run because 'Lib' is not recognised at runtime. What am I missing? According to the article linked to above I should not need to unjar anything to get code completion to work, but there is nothing in libs/Lib for the IDE to use... In case it helps, the current file structure within C:\SikuliX: - Downloads\ - 1.0.1-1.jar - 1.0.1-3.jar - 1.0.1-9.jar - The 'zip's and 'readme's - libs\ - various .dlls and MadeForSikuliX32W.txt, and an empty 'Lib\' folder that I created - runIDE.cmd - runSetup.cmd - sikuli-ide.jar - sikuli-java.jar - sikuli-setup.jar - SikuliX-1.0.1-SetupLog.txt -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

