addImagePath NoMethodError.
I would like to use the addImagePath in a script.
When I run it I get the following error:
[error] script [ repository ] stopped with error in line 10
[error] NoMethodError ( (NoMethodError) undefined method `addImagePath' for main:Object )
[error] --- Traceback --- error source first line: class ( method ) file 10: RUBY ( (root) ) C:/sikuliscript
NoMethodError: undefined method `addImagePath' for main:Object (root) at C:/sikuliscript
Code looks like:
#add path to the project
addImagePath(
I use Sikuli 1.1.0.
In the IDE I do see that the addImagePath turns green, so, I do expect it to be valid.
Just for checking, I also tried the methode getImagePath, but here I get the same error.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Giel Raijmakers for more information if necessary.