Right practice in renaming the .sikuli file Mac OS

Asked by Neo

Let us say I want to change filename of my sikuli script. What is the best way of doing it?
I am asking because, in x.sikuli -> rclick and show contents -> there are x.py and x.html.
Even if I rename x.sikuli to y.sikuli those files are not getting changed.

Can I manually rename those to y.py and y.html? I did that, but whenever I am modifying y.sikuli through editor, the following error showing up. Am I missing anything? What is the best way to rename the .sikuli file?

[error] Can't transfer: sun.awt.datatransfer.TransferableProxy@11dfaf2

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

The best way is:
- load script x.sikuli in IDE
- use Menu File -> SaveAs to save it with another name as y.sikuli

To be complete (this is still a "bug" with save as):
the bundle y.sikuli still contains x.py and x.html. You should go into the bundle y.sikuli and delete those files x.py, x.html.

Revision history for this message
Neo (simamhussain) said :
#2

Super. Thanks.