Search code examples
rubyjrubysikulisikuli-scriptsikuli-ide

How can I use Ruby in SikuliX IDE?


According to the documentation, SikuliX IDE supports Python, Ruby and JavaScript as scripting languages, but I'm not able to find how to switch from Python, which is the default.

The section about using Ruby is empty and there is no mention of `Ruby in the FAQ.

Does anyone know how I can change the scripting language?


Solution

  • While writing this question, I came across the solution.

    Right click on the file tab and choose Set Type on an empty file. (If the file is not empty it will be cleared.) A popup will be presented, allowing you to select the language.

    This is not in the documentation, so I figure others may struggle to find this.