← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #203367]: the modify can not save

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
a Sikuli script e.g. myscript.sikuli is a folder, that contains the
image files you captured and the script code in a file called
myscript.py. If you open this with an external editor, it should show
the code in the shape you have saved it the last time in the Sikuli IDE
(does not matter, if the IDE is still open or not).

There is a bug, that might be irritating: if you modify a script and
then save it with save as with a different name (e.g. script1.sikuli),
then this folder still contains the last version as myscript.py and the
new version as script1.py, but the changes you made are not saved to
myscript.sikuli. If you want to have that, you have to use save as once
more.

So if you plan to work with an external editor in addition to the IDE,
you have to be very careful with your naming concept and
versioning/renaming, to always have this 1:1 with .sikuli and .py
inside.

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