← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #699020]: Issues transferring scripts from 1.13 to 2.05

 

Question #699020 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/699020

    Status: Open => Answered

RaiMan proposed the following answer:
To get an existing script running in 2.0.5 follow these steps:

- somewhere in your file system you have a folder you-name-it.sikuli, which in turn contains a file you-name-it.py (containing the script code). Folder and .py file must have the same name (you-name-it in this case).
The folder additionally contains the image files, referenced in the script code (1534932000076.png in your case)

- in the IDE use menu File -> Open, select the folder you-name-it.sikuli and click open.
now you should see your script as with 1.1.3

It should work as in 1.1.3

BTW: (for new scripts ;-)
click(someImage)

is the same as 
find(someImage)
click(getLastMatch())

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.